通达信风云MACD指标公式

2024-01-04 12:00发布

N:=12;N1:=26;M:=9;DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIFF,9);:2*(DIFF-DEA),LINETHICK0;DRAWBAND(DIFF,RGB(255,128,192),DEA,RGB(128,255,128));STICKLINE(MACD>=0,MACD,0,2.5,1),COLORF00FF0;STICKLINE(MACD<0>0,0,MACD,2.5,0 ),COLOR00AAFF;STICKLINE(MACD0,0,MACD,2.5,0 ),COLOR00BBFF;STICKLINE(MACD0,0,MACD,2,0 ),COLOR00CCFF;STICKLINE(MACD0,0,MACD,1.5,0 ),COLOR00DDFF;STICKLINE(MACD0,0,MACD,1,0 ),COLOR00EEFF;STICKLINE(MACD0,0,MACD,0.5,0 ),COLOR00FFFF;STICKLINE(MACD>=REF(MACD,1)AN
 解锁全文需 1  财富值,免费注册即送20财富值!