原理:根据A股股票的涨跌家数编写而成 。 准确度很高 , 不会发图,望朋友赐教。
Z 参数自定 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;