通达信MACD和KDJ组合指标公式

2024-06-11 00:58发布

HH0:=CONST(HHV(H,75));LL0:=CONST(LLV(L,75));MM0:=CONST((HH0+LL0)/2);HL0:=CONST(IF(CONST(C)>=MM0,LL0-(HH0-LL0)*0.2,HH0+(HH0-LL0)*0.2));HH1:=IF(CONST(C)=MM0,LL0*0.99,HL0);HL1:=(HH1+LL1)/2,COLORFFFFFF;DIF:=EMA(CLOSE,5)-EMA(CLOSE,26);DEA:=EMA(DIF,3);:=(DIF-DEA)*2,COLORSTICK;STICKLINE("MACD.MACD">0,"MACD.MACD"+HL1,HL1,2,1),COLOR00FFFF;STICKLINE("MACD.MACD">0 AND "MACD.MACD">REF("MACD.MACD",1),"MACD.MACD"+HL1,HL1,2,0),COLORFF00FF;STICKLINE("MACD.MACD"<0>REF("MACD.MA
 解锁全文需 1  财富值,免费注册即送20财富值!