通达信吸拉派落MACD指标公式
2021/3/18 18:51:38
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.to u18.cn
股市公式下载推荐