VOLUME:VOL,color009000,LINETHICK4;
v1:MA(VOLUME,M1),colorwhite;
v2:MA(VOLUME,M2),coloryellow;
v3:MA(VOLUME,M3),colorred;
地量:=VOL<LLV(VOL,14)*1.001;
STICKLINE(地量>0 ,0 ,VOL ,7,0),coloryellow;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
买卖盘比:-(主动买盘/主动卖盘),,coloryellow;
STICKLINE(主动买盘>0,0,主动买盘,1,0),colorred;
{STICKLINE(主动卖盘<0,VOL,主动买盘,1,0),COLOR00FF00;}
换手:=VOL/CAPITAL*100;
STICKLINE(换手>0 ,0, 主动买盘,6,0),COLOR9900aa;
STICKLINE(换手>0,VOL, 主动买盘, 6,1) ,COLOR00f5a;
地量:=VOL<LLV(VOL,14)*1.001;
STICKLINE(地量>0 ,0 ,VOL ,7,0),coloryellow;