这个线,领先于MACD,KDJ等,完美解决了滞后问题。
红箭头代表可以轻仓位买入,绿箭头代表减仓,
还有多,空
M1 2 500 9
M2 2 500 25
求败:EMA(CLOSE,M1);
专用:EMA(CLOSE,M2);
STICKLINE(求败>REF(CLOSE,1) AND 求败<CLOSE*0.99 AND CLOSE>专用,C,O,3,0),COLORYELLOW;
STICKLINE(求败>CLOSE AND 求败<REF(CLOSE,1),C,O,3,0),COLORMAGENTA;
DRAWTEXT(求败>CLOSE AND 求败<REF(CLOSE,1),C,'空'),COLORYELLOW;
DRAWTEXT(求败>REF(CLOSE,1) AND 求败<CLOSE*0.99 AND 专用<CLOSE,C,'多'),COLORMAGENTA;
STICKLINE(求败>REF(CLOSE,1) AND 求败<CLOSE AND CLOSE<专用,C,O,3,0),COLORRED;
DRAWICON(求败>REF(CLOSE,1) AND 求败<CLOSE*0.99 AND CLOSE<专用,L-0.05,1);
DRAWICON(求败<CLOSE AND CLOSE<REF(CLOSE,1)*0.96,H-0.05,2);