Exp_X2MA_Digit_DM_361 - MetaTrader 5 Expert - MT4/MT5 Resources




The Exp_X2MA_Digit_DM_361 trend following trading system is based on the ColorX2MA_Digit_DM_361 indicator signal. The ColorX2MA_Digit indicator is used to define the main slow trend direction, while the ColorDM_361 indicator allows us to define entry points when there is a change in the direction of the fast trend. An entry signal is generated at bar close if the following two conditions are met:
The string variable containing the text from the input code is only for better visualization of the EA input window.
ColorDM_361_HTF and ColorX2MA_Digit_HTF indicators are included in the EA only for easier trend visualization in the strategy tester. They are not used in other operating modes.
Place the ColorX2MA_Digit.ex5, ColorX2MA_Digit_HTF.ex5, ColorDM_361.ex5 and ColorDM_361_HTF.ex5 compiled files into
Please note that the TradeAlgorithms.mqh library file allows trading Expert Advisors with non-zero spreads and the option to set Stop Loss and Take Profit along with opening positions with brokers that offer the following services. You can download more variants of this library via the following link: Trading Algorithms .
The input parameters of the default Expert Advisor were used in the test shown below. Stop Loss and Take Profit were not used during testing.

Figure 1. Example of trade on chart
Test results of GBP/USD in 2015, H4 trend is slow, M30 trend is entering the market quickly:
Figure 2. Test result graph
Attachment download
📎 exp_x2ma_digit_dm_361.mq5 (23.22 KB)
📎 SmoothAlgorithms.mqh (130.2 KB)
📎 TradeAlgorithms.mqh (60.9 KB)
📎 ColorDM_361.mq5 (35.18 KB)
📎 ColorDM_361_HTF.mq5 (16.35 KB)
📎 ColorX2MA_Digit.mq5 (23.5 KB)
📎ColorX2MA_Digit_HTF.mq5 (19.65 KB)
Source: MQL5 #16681
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •