Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

d_XMA - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources - MetaTrader 5 Resources

author EAcpu | 3 reads | 0 comments |

d_XMA - indicator for MetaTrader 5

Dmitry Bulgazli

A moving average whose period changes during a trend.

The indicator uses SmoothAlgorithms.mqh library class (copy it to \MQL5\Include). The use of the class "Average price series for intermediate calculations without using additional buffers" is described in detail in the article.

The indicator was originally written in MQL4 and first published in the code base on December 27, 2012.

d_XMA - indicator for MetaTrader 5

Figure 1. d_XMA indicator


Attachment download

📎d_xma.mq5 (9.21 KB)

📎 smoothalgorithms.mqh (130.19 KB)

Source: MQL5 #14962

d_XMA - MetaTrader 5 script | Forex indicator download - MT4/MT5 resource usage and screening suggestions

d_XMA - MetaTrader 5 script | Foreign exchange indicator download - MT4/MT5 resources are foreign exchange indicator related resources. Before downloading or referencing, it is recommended to confirm the platform version, transaction type, time period, whether DLL is required, whether source code is included, parameter description and historical update records.

Both automated trading tools and foreign exchange indicators should first undergo backtesting, simulated account observation, and small capital verification. Pay special attention to spreads, slippages, maximum drawdowns, position opening frequency, stop loss methods, trading periods and broker rules, and avoid direct real-time execution based on titles or short-term profit descriptions.

Verification code Refresh