通达信好用的MACD指标公式

2024-05-22 06:00发布

VA:=IF(CLOSE>REF(CLOSE,1),,-);1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);OBV2:=EMA(OBV1,3)-MA(OBV1,9);OBV3:=EMA(IF(OBV2>0,OBV2,0),3);MAC3:=MA(C,3);SHORT:=12;LONG:=26;MID:=9;DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG)COLORYELLOW ;DEA:EMA(DIF,MID)COLORFF9900 ;买:IF(DIF>REF(DIF,1),DIF,0),NODRAW;主力卖:IF(DIFREF(OBV3,1) AND MAC3>REF(MAC3,1),0,MACD,1.2,0),COLORYELLOW;吸:=MACD<0>REF(MACD,1);拉:=MACD>0 AND MACD>REF(MACD,1);派:=MACD>0 AND MACD
 解锁全文需 1  财富值,免费注册即送20财富值!