通达信MACDKDJ指标公式

2024-08-15 23:00发布

周DI:(EMA(CLOSE,60)-EMA(CLOSE,)),NODRAW;周DE:EMA(周DI,25),NODRAW;周DIF:=20*周DI;周DEA:=20*周DE;DRAWBAND(周DIF,RGB(139,0,139),周DEA,RGB(0,100,50));XG2:=OSS(周DEA,0);DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);:(DIF-DEA)*40,COLORSTICK;DIFF:20*DIF,COLORWHITE;DEAA:20*DEA,COLORYELLOW;DRAWICON(XG2,2*DEAA,42);DRAWTEXT(XG2,2*DIFF,'周');MACD250:=REF(MACD,BARSLAST(MACD=HHV(MACD,250))),COLORA00000,DOTLINE;XG:=NOT(REF(MACD250,1)=MACD250);STICKLINE(XG,0,MACD,1,0),COLORYELLOW;周MACD:(周DIF-周DEA)*2,COLORSTICK,NODRAW;M
 解锁全文需 1  财富值,免费注册即送20财富值!