以下是通达信自编自用神奇线主图指标公式
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);