通达信MACD面积背离指标公式

2024-07-17 18:58发布

N:=12;M:=9;MTR:=EMA(EMA(EMA(CLOSE,N),N),9);{原为12 12 12}DIF:(MTR-REF(MTR,1))/REF(MTR,1)*20000;DEA:MA(DIF,M),COLOR0066FF ;:(DIF-DEA)*2,COLORSTICK;{信号}BB值:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);AAA:=EMA(CLOSE,12)-EMA(CLOSE,26);底:OSS(BB值,9),COLORYELLOW,NODRAW;DRAWTEXT(CROSS(BB值,9),0, '‘底部'),COLORYELLOW;DRAWICON(CROSS(BB值,9),0,11);STICKLINE(CROSS(BB值,9),0-0.1,MACD-0.1,1,0),COLORYELLOW;MACD:=MACD>=0 AND REF(MACD,1)>=0 AND REF(MACD,2)>=0 ANDREF(MACD,3)>=0 AND MACD>REF(MACD,1) AND REF(MACD,
 解锁全文需 1  财富值,免费注册即送20财富值!