通达信MACD时间周期指标公式

2024-07-02 11:58发布

DIF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIF,9) LINETHICK1 COLOR00FFFF ;DEA1:EMA(DIF,9) LINETHICK2 COLOR006EE4 ;:(DIF-DEA)*2,COLORSTICK;红面积:IF(DIF>DEA,SUM(MACD,BARSLAST(OSS(DIF,DEA))),DRAWNULL),NODRAW,COLORLIRED;绿面积:IF(DIFDEA,MACD,BARSLAST(CROSS(DIF,DEA))+1),COLORRED;DRAWNUMBER(DIFDEA,BARSLAST(CROSS(DIF,DEA))+1)=7,0,MACD,1,0),COLOR00ECFD;STICKLINE(COUNT(DIF>DEA,BARSLAST(CROSS(DIF,DEA))+1)=7,0,MACD,1.5,0),COLOR00B5F3;STICKLINE(COUNT(DIF>DEA,BARSLAST(CROSS(DIF,DEA))+1)=7,0,MACD,2,0),COLOR
 解锁全文需 1  财富值,免费注册即送20财富值!