通达信微积分MACD指标源码幅图
-
相关简介:DIF12:=(EMA(CLOSE,12)-EMA(CLOSE,26))/((EMA(CLOSE,12)+EMA(CLOSE,26))/2)*1000; DEA12:=EMA(DIF12,9); 相对MACD:2*(DIF12-DEA12),COLORSTICK,COLORRED; KDIF12:=3*(DIF12-DEA12);{KDIF12:=2*(DIF12-DEA12)}; KDEA12:=SMA(KDIF12,5,2); 买卖力道:2*(KDIF12-KDEA12),COLORLIRE
-
文章来源:股海网作者:股海网发布时间:2019-01-26浏览次数:
DIF12:=(EMA(CLOSE,12)-EMA(CLOSE,26))/((EMA(CLOSE,12)+EMA(CLOSE,26))/2)*1000;
DEA12:=EMA(DIF12,9);
相对MACD:2*(DIF12-DEA12),COLORSTICK,COLORRED;
KDIF12:=3*(DIF12-DEA12);{KDIF12:=2*(DIF12-DEA12)};
KDEA12:=SMA(KDIF12,5,2);
买卖力道:2*(KDIF12-KDEA12),COLORLIRED,LINETHICK1;
相对DIF:DIF12,COLORMAGENTA,LINETHICK2;
相对DEA:DEA12,COLORGREEN,LINETHICK2;
微分DIF:KDIF12,COLORYELLOW,LINETHICK2;
微分DEA:KDEA12,COLORLIGRAY,LINETHICK1;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;