虚拟成交量
2015-1-16 14:18:14点击:
VOLUME:VOL,VOLSTICK;
V5:MA(VOLUME,5);
V10:MA(VOLUME,10);
V20:MA(VOLUME,20);
V60:MA(VOLUME,60);
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),colorred,POINTDOT;
主卖:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),COLOR00FF00,POINTDOT;