在线检测未来函数

通达信量能线指标公式

来源:Internet,编辑:股旁网,2018-02-26

M1:=5;
M2:=10;
N:=10;
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),NODRAW;
MTIME:=MOD(FROMOPEN,TOTAL),NODRAW;
CTIME:=IF(MTIME<0.5,TOTAL,MTIME),NODRAW;
VVOL:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*(TOTAL+3)/(CTIME+3),DRAWNULL),NODRAW;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,-1,-1),COLOR00C0C0,NODRAW;
VOLUME:VOL,VOLSTICK,NODRAW;
MAVOL1:MA(VOLUME,M1),COLOR99EEEE;
MAVOL2:MA(VOLUME,M2),COLORFFCC00,LINETHICK1;
趋势:EMA(MAVOL2,N),COLORRED,LINETHICK3;
IF(量趋势>REF(量趋势,1),量趋势,DRAWNULL),COLORRED,LINETHICK3;
IF(量趋势<REF(量趋势,1),量趋势,DRAWNULL),COLORGREEN,LINETHICK3;

通达信量能线指标公式

 

相关文章