通达信一目了然MACD指标公式

通达信龙凤呈祥主图指标公式

通达信一目了然MACD指标公式:

DIF:EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:EMA(DIF,9);

macd:(DIF-DEA)*2,COLORstICK;

STICKLINE((MacD>REF(MACD,1) AND MACD>0),0,MACD,0.2,0),COLORRED;

STICKLINE((MACD<REF(MACD,1) AND MACD>0),0,MACD,0.2,0),COLORFF00FF;

STICKLINE((MACD>REF(MACD,1) AND MACD<0),0,MACD,0.2,0), COLOR00FF00;

STICKLINE((MACD<REF(MACD,1) AND MACD<0),0,MACD,0.2,0),COLORFFFF40;

B1:= MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2);

B2:=MACD<REF(MACD,1) AND REF(MACD,1)>REF(MACD,2);

DRAWICON(crOSS(DEA,DIF),DEA+0.05,2);

DRAWICON(CROSS(DIF,DEA),DEA-0.05,1);

bbd1:=IF(MACD>=REF(MACD,1),MACD,0);

BBD2:=IF(MACD<REF(MACD,1),MACD,0);

通达信快速出击选股指标公式