用红绿叠加的形式来体现成交量,投资者可清楚看到主动买单和主动卖单的成交情况。
EV:=VOL,;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
换手率%:VOL/CAPITAL*100,POINTDOT,coloryellow;
主动买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+
(CLOSE-LOW)),VOL/2)),POINTDOT,colorred;
主动买手:主动买盘/100,colorred,NODRAW;
主动卖盘:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,
0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,colorgreen;
主动卖手:主动卖盘/100,colorgreen,NODRAW;
STICKLINE(主动买盘>0,0,VOL,8,1),colorgreen;
STICKLINE(主动买盘>0,0,主动买盘,8,0),colorred;
成交额:AMOUNT/10000,POINTDOT;
成交总手:EV/100, LINETHICK0;