通达信趋势主图指标公式AAA级
STICKLINE((EMA(C,21)>REF(EMA(C,21),1)),EMA(C,21),EMA(C,21),9,6),COLOR000088;
STICKLINE((EMA(C,21)<REF(EMA(C,21),1)),EMA(C,21),EMA(C,21),9,6),COLOR880000;
STICKLINE(EMA(C,2)>=EMA(SLOPE(C,21)*20+C,42),L,H,0,0),COLOR0000AA;
STICKLINE(EMA(C,2)>=EMA(SLOPE(C,21)*20+C,42),C,O,3,1),COLOR0000AA;
STICKLINE(EMA(C,2)< EMA(SLOPE(C,21)*20+C,42),L,H,0,0),COLOR00AA00;
STICKLINE(EMA(C,2)< EMA(SLOPE(C,21)*20+C,42),C,O,3,1),COLOR00AA00;
STICKLINE(CROSS(EMA(C,2),EMA(SLOPE(C,21)*20+C,42)) OR CROSS(EMA(SLOPE(C,21)*20+C,42),EMA(C,2)),L,H,0,0),COLOR00FFFF;
STICKLINE(CROSS(EMA(C,2),EMA(SLOPE(C,21)*20+C,42)) OR CROSS(EMA(SLOPE(C,21)*20+C,42),EMA(C,2)),O,C,3,1),COLOR00FFFF;