成交:VOL,COLORFFFF00,NODRAW;
BB:=CAPITAL;
换手:=成交*100/BB,NODRAW;
HS:=SUM(VOL,0)/CAPITAL,NODRAW;
换手次数:=FLOOR(HS),NODRAW;
BBB:=IF(换手次数 0,换手次数,0);
BBB2:=IF(BBB-REF(BBB,1) 0,BBB,0);
换手天:BARSLAST(BBB2),NODRAW,COLORGREEN;
平均换手天:FLOOR((BARSCOUNT(C)-换手天)/换手次数),COLORCYAN,NODRAW;
A2:=成交/CAPITAL*100;
A3:=A2 3 AND A2
A4:=A2 5 AND A2
A5:=A2 7 AND A2
A6:=A2
HH:=CONST(HHV(A2,120));
STICKLINE(V,0,A2,2.5,0),COLOR999999;
STICKLINE(V,0,A2,2.5,0),COLORCCCCCC;
STICKLINE(V,0,A2,2.5,0),COLORFFFFFF;
STICKLINE(A2 3 AND CLOSE OPEN,0,A2,2.5,0),COLOR999900;
STICKLINE(A2 3 AND CLOSE OPEN,0,A2,2.5,0),COLORCCCC00;
STICKLINE(A2 3 AND CLOSE OPEN,0,A2,2.5,0),COLORFFFF00;
STICKLINE(A2 3 AND CLOSE OPEN,0,A2,2.5,0),COLOR009900;
STICKLINE(A2 3 AND CLOSE OPEN,0,A2,2.5,0),COLOR00CC00;
STICKLINE(A2 3 AND CLOSE OPEN,0,A2,2.5,0),COLOR00FF00;
STICKLINE(A3,0,A2,2.5,0),COLOR004999;
STICKLINE(A3,0,A2,2.5,0),COLOR005CCC;
换手积极:STICKLINE(A3,0,A2,2.5,0),COLORLIRED;
STICKLINE(A4,0,A2,2.5,0),COLORLIRED;
STICKLINE(A4,0,A2,2.5,0),COLORLIRED;
换手活跃:STICKLINE(A4,0,A2,2.5,0),COLORLIRED;
STICKLINE(A5,0,A2,2.5,0),COLOR990000;
STICKLINE(A5,0,A2,2.5,0),COLORCC0000;
换手频繁:STICKLINE(A5,0,A2,2.5,0),COLORRED;
STICKLINE(A6,0,A2,2.5,0),COLOR000099;
STICKLINE(A6,0,A2,2.5,0),COLOR0000CC;
巨幅换手:STICKLINE(A6,0,A2,2.5,0),COLORRED;
DRAWTEXT(换手 REF(换手,1)*2,换手*0.8,'黑'),COLORWHITE;
DRAWTEXT(换手 REF(换手,1)*2,换手*0.6,'马'),COLORWHITE;
倍量:=(换手/REF(换手,1) =1.91 AND COUNT(CLOSE OPEN,1)) OR (LOW REF(HIGH,1) AND COUNT(OPEN CLOSE,1) AND 换手/REF(换手,1) =1.91),COLORYELLOW;
DRAWTEXT(倍量,换手*0.8,'倍'),COLORCYAN;
倍缩:=换手 =REF(换手,1)*0.5,COLORYELLOW;
DRAWTEXT(倍缩,换手*0.99,'缩'),COLORWHITE;
V5MIN:=LLV(换手,5);
双倍量:=(换手/V5MIN =3.91 AND COUNT(CLOSE OPEN,1)) OR (LOW REF(HIGH,1) AND COUNT(OPEN CLOSE,1) AND 换手/V5MIN =3.91),COLORYELLOW;
DRAWTEXT(双倍量,换手*1.4,'倍'),COLORRED;
MA5:MA(换手,5),COLORFFFFFF;
MA30:MA(换手,30),COLOR009FFF;