通达信EXPMA强势主图指标公式
M1:=14;
M2:=56;
MA3:MA(C,3);
EXP1:EMA(CLOSE,M1);
EXP2:EMA(CLOSE,M2);
N1:=C>MA3;
N2:=C>EXP1;
N3:=BARSLASTCOUNT(N1)>=5 AND BARSLASTCOUNT(N2)>=5 AND EXP1>EXP2 AND MA3>REF(MA3,1);
STICKLINE(N3,EXP1+(MA3-EXP1)/2,EXP1,1,0),COLORYELLOW;
IF(MA3>=EXP1 AND EXP1>EXP2 AND MA3>REF(MA3,1),EXP1,DRAWNULL),COLORRED,LINETHICK3;
DRAWICON(CROSS(EXP1,EXP2),EXP2,1);
赞 (0)