换手:=VOL/CAPITAL*100;
STICKLINE(C,0,换手,5,0),COLOR408080;
{累计:SUM(换手,3),LINESTICK2;}
STICKLINE(换手>2.8,2.8,换手,5,0),COLORRED;
STICKLINE(换手>9,9,换手,5,0),COLORGREEN;
drawtextrel( 0,25,'换手率:>2.8红;>9绿'),COLOR00FFFF;
{drawtextrel(130,25,'低位红庄家进货'),COLOR0000FF;
drawtextrel(260,25,'高位红庄家出货'),COLOR0000FF;
drawtextrel(380,25,'高位绿庄家出货'),COLOR00FF80;}
Q:=VOL/CAPITAL*100;
本日换手:Q,linethick0;
五日换手率:MA(Q,5),COLORRED,linethick0;
八日换手率:MA(Q,8),linethick0;
二十一日换手率:MA(Q,21),linethick0;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买卖比:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,
VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2))/VOL*10,Color00ff00,LINETHICK2;
8,COLORYELLOW;