通达信金蚕吐丝主图指标公式源码主图
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);
金蚕线:IFF(J1,M3,DRAWNULL),COLORRED,LINETHICK2;
DRAWICON(crOSS(支撑线,M3),H*1.01,2);
DRAWICON(CROSS(M3,支撑线),L*0.99,1);