Exp_2pbIdealMA - MetaTrader 5 Expert | Forex Indicators Download - MT4/MT5 Resources


The Exp_2pbIdealMA indicator is based on the crossover of two moving averages. If the fast 2pbIdeal1MA moving average crosses the slow 2pbIdeal3MA moving average, a signal to execute the trade is formed at the close of the bar. An upward break of the fast moving average above the slow moving average is a buy signal. A breakout to the downside is a sell signal.
Place 2pbIdeal1MA.ex5 and 2pbIdeal3MA.ex5 and copy the compiled files to terminal_data_folder\MQL5\Indicator.
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 trading history in the chart.
2011 H4 USD/CHF test results:

Figure 2. Test result chart
Attachment download
📎 tradealgorithms.mqh (67.73 KB)
📎 2pbideal1ma.mq5 (5.27 KB)
📎 2pbideal3ma.mq5 (6.55 KB)
📎 exp_2pbidealma.mq5 (6.78 KB)
Source: MQL5 #1158
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •