Z:=5;N:=3;ZQ1:=IF(TOTALBARSCOUNT
ZQ1,0,ZQ1);XG:IF(ZQ,,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(不破趋势延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;跌数