九毛八公式指标
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1))))); MTIME:=MOD(FROMOPEN,TOTAL); CTIME:=IF(MTIME<0.5,TOTAL,MTIME); VVOL:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW; STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL,0,-1,-1),COLOR00C0C0; VOLUME:VOL,VOLSTICK; MAVOL1:MA(VOLUME,M1); MAVOL2:MA(VOLUME,M2);
公式模块:
INPUT:M1(5,3,999),M2(10,3,999);
volUME:VOL,VOLSTICK; MAVOL1:MA(VOLUME,M1); MAVOL2:MA(VOLUME,M2); VVOL:IF(BARSTATUS=2 AND DATATYPE=8,DYNAINFO(17)*DYNAINFO(38),V),LINETHICK0; STICKLINE(BARSTATUS=2 AND DATATYPE=8,V,VVOL,8,1),COLORGREEN,DOTLINE;