A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
分水岭:IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),coloryellow,LINETHICK1;
操作线:分水岭-(EMA(C,3)-分水岭),LINETHICK1;
神仙大趋势H1:EMA(CLOSE,7.9);
H2:EMA(神仙大趋势H1,25.8);
STICKLINE(H2<操作线,操作线,H2,4,0),colorgreen;
STICKLINE(操作线<H2,操作线,H2,4,0),colorred;