{指标介绍:各种颜色的柱子,是换手率的数值转换为柱子的图标,柱体颜色为淡红色柱子,柱子高低代表了当天换手率的高低;
淡红色柱体中间的实体红色小柱子,是主动买入资金的换手率,蓝色的实体小柱子,是主动卖出资金的换手率;
两条曲线是量能趋势线,两条曲线的思路是借鉴的OBV量能趋势指标的思路;
如果市场的资金趋势处于空头状态,会把换手率柱子标注为绿色实体,是观望阶段;
下跌趋势的时候,两条曲线呈现白色和绿色,不宜操作;
处于上涨趋势时,两条曲线变为红色和紫色;
当两条曲线处于多头趋势下,换手柱子中,主动性买入资金出现长柱子标志,此时是买点,会在零轴位置标注钱袋子图标。}
换手:=V/CAPITAL*100;
STICKLINE(换手,0,换手,2,1),COLORRED;
VA:=IF(CLOSE>REF(CLOSE,1),vol,-VOL);
obv:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:=MA(OBV,30);
STICKLINE((OBV>REF(OBV,1) AND OBV>MAOBV),0,换手,2,1),COLORLIRED;
STICKLINE(NOT(OBV>REF(OBV,1) AND OBV>MAOBV),0,换手,2,0),COLORCYAN;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=AMOUNT/IF(HIGH=LOW,4,HIGH-LOW);
买1:=QJ0*(MIN(OPEN,CLOSE)-LOW)*2;
买2:=QJ0*(JJ-MIN(CLOSE,OPEN))*2;
卖1:=QJ0*(MAX(CLOSE,OPEN)-JJ)*2;
卖2:=QJ0*(HIGH-MAX(OPEN,CLOSE))*2;
DT:=((买1+买2)-(卖1+卖2))/10000*6;
STICKLINE(DT>0,0,换手*0.5,0.5,0),COLOR0000FF;
STICKLINE(DT< 0,0,-换手*0.4,0.5,0),COLORGREEN;
TD1:=QJ0*(MIN(OPEN,CLOSE)-LOW);
DD1:=QJ0*(JJ-MIN(CLOSE,OPEN));
DD2:=QJ0*(HIGH-MAX(OPEN,CLOSE));
TD2:=QJ0*(MAX(CLOSE,OPEN)-JJ);
TD:=TD1-TD2;
DA:=DD1-DD2;
XD1:=1-(TD1+DD1);
XD2:=1-(TD2+DD2);
TZ:=V/SUM(V,60)*100;
DTA:=((XD1-XD2)/10000)/TZ;
DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26));
DEA:=EMA(DIF,9);
ACB11:=MA(HHV(HIGH,485),17);
ACB21:=MA(HHV(HIGH,222),17);
ACB31:=MA(HHV(HIGH,96),17);
ACB41:=MA(LLV(LOW,485),17);
ACB51:=MA(LLV(LOW,222),17);
ACB61:=MA(LLV(LOW,96),17);
ACB71:=MA((ACB41*0.96+ACB51*0.96+ACB61*0.96+ACB11*0.558+ACB21*0.558+ACB31*0.558)/6,17);
ACB81:=MA((ACB41*1.25+ACB51*1.23+ACB61*1.2+ACB11*0.55+ACB21*0.55+ACB31*0.65)/6,17);
ACB91:=MA((ACB41*1.3+ACB51*1.3+ACB61*1.3+ACB11*0.68+ACB21*0.68+ACB31*0.68)/6,17);
ACBA:=MA((ACB71*3+ACB81*2+ACB91)/6*1.738,17);
ACBB:=ACBA;
ACBC:=LOW;
ACBD:=REF(LOW,1);
ACBE:=SMA(Abs(ACBC-ACBD),3,1)/SMA(MAX(ACBC-ACBD,0),3,1)*100;
ACBF:=MA(IF(CLOSE*1.35<=ACBB,ACBE*10,ACBE/10),3);
ACB10:=LLV(LOW,30);
ACB111:=HHV(ACBF,30);
SS:=MA(IF(LOW<=ACB10,(ACBF+ACB11*2)/2,0),3);
STICKLINE(SS,换手,换手*0.5,0.5,0),COLORBLUE;
N:=3;
M1:=10;
ACB1:=(C-EMA(C,6))/EMA(C,6)*100;
ACB2:=(C-MA(C,24))/MA(C,24)*100;
ACB3:=(C-MA(C,32))/MA(C,32)*100;
ACB4:=(ACB1+ACB2+ACB3)/3;
量价结合:MEMA(ACB4,N),COLORWHITE,LINETHICK2;
波段操作:MEMA(量价结合,3),COLORGREEN,LINETHICK2;
IF(量价结合>REF(量价结合,1),量价结合,DRAWNULL),COLORRED,LINETHICK2;
IF(波段操作>REF(波段操作,1),波段操作,DRAWNULL),COLORFF00FF,LINETHICK2;
QDZ:=DT>0 AND crOSS(DIF,DEA) AND OBV>REF(OBV,1) AND OBV>MAOBV AND 量价结合>REF(量价结合,1);
DRAWICON(QDZ,DEA,9);