通达信预测大盘利器指标公式
2020/6/7 18:22:34
Z:=5;
N:=3;
ZQ1:=IF(TOTALBARSCOUNT<Z,TOTALBARSCOUNT,Z);
ZQ:=IF(CURRBARSCOUNT>ZQ1,0,ZQ1);
XG:IF(ZQ,250,DRAWNULL) COLORRED;
SG:IF(ZQ,734,DRAWNULL) COLORGREEN;
ZX:IF(ZQ,(SG+XG)/2,DRAWNULL) COLORGREEN POINTDOT;
破中趋势变:IF(ZQ,INDEXADV,DRAWNULL)COLORGRAY;
不破趋势延:IF(ZQ,INDEXADV,DRAWNULL) CIRCLEDOT COLORBLUE;
IF(不破趋势延<XG,INDEXADV,DRAWNULL) CIRCLEDOT COLORRED;
IF(不破趋势延>SG,INDEXADV,DRAWNULL) CIRCLEDOT COLORGREEN;
波段趋势:IF(ZQ,MA(POW(INDEXADV,1.06),N)-200,DRAWNULL)COLORGREEN LINETHICK3;
IF(波段趋势>REF(波段趋势,1),波段趋势,DRAWNULL) COLORMAGENTA LINETHICK4;
涨数:INDEXADV,NODRAW COLORRED;
跌数:INDEXDEC,NODRAW COLORGREEN;
涨数比:INDEXADV/(INDEXADV+INDEXDEC),NODRAW COLORRED;
IF(CURRBARSCOUNT<140,CONST(INDEXADV),DRAWNULL) DOTLINE COLORLIGRAY;
看股 吧公式 www.kangu ba.com
其它股票公式列表