通达信吸拉派落MACD指标公式
2021/3/18 18:20:22
DIFF:(EMA(EMA(C,13),13)/REF(EMA(EMA(C,13),13),1)-1)*1000;
DEA:EMA(DIFF,9);
MACD:(DIFF-DEA)*2,COLORSTICK;
STICKLINE(MACD>0,0,MACD,-1,0),COLORLIRED;
STICKLINE(MACD<0,0,MACD,-1,0),COLORLIBLUE;
NOTEXTD:=REF(DIFF,1);
NOTEXT1:IF(DIFF<0,DIFF,DIFF),LINETHICK2,COLORLIRED;
NOTEXT2:IF(DIFF>0,DIFF,DRAWNULL),LINETHICK2,COLORRED;
NOTEXT3:IF(DIFF<NOTEXTD,DIFF,DRAWNULL),LINETHICK2,COLORGREEN;
NOTEXT4:IF(DIFF<=NOTEXTD AND DIFF<=0,DIFF,DRAWNULL),LINETHICK2,COLORWHITE;
看股吧公 式 www .kanguba.com
其它股票公式列表