CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:=(1+6/100)*DD;
通道4:=(1-6/100)*DD;
zn:=z OR z2 OR z5 OR (CLOSE 通道2 AND 通道2 通道4);
zn1:=z1 OR z3 OR z4 OR (CLOSE 通道2 AND 通道2 通道4);
STICKLINE(zn,0,zn,8),colorred,linethick2;
STICKLINE(zn1,zn1,0,8),colorgreen,linethick2;
IF(MACD 0 AND y 0)
y1=MACD+y;
IF(MACD 0 AND y 0)
y1=y-ABS(MACD);
IF(y 0 AND MACD 0)
y1=MACD-ABS(y);
Zero : 0;
zero1:0.25