M1:MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1)),COLORGREEN;
M2:MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1),COLORGREEN;
M3:IFF(MA(CLOSE,17) M2,M2,MA(CLOSE,17)),COLORGREEN;
支撑线:M3-(EMA(C,3)-M3),COLORFF8080,LINETHICK1;
J1:=BACKSET(M1 REF(M1,1),2);{九毛八公式指标网www.9m8.cn}
金蚕线:IFF(J1,M3,DRAWNULL),COLORRED,LINETHICK2;
DRAWICON(CROSS(支撑线,M3),H*1.01,2);
DRAWICON(CROSS(M3,支撑线),L*0.99,1);