Exp_TrendContinuation - MetaTrader 5 Expert - MT4/MT5 Resources


The Expert Advisor uses the trend continuation indicator. When the bar closes, a signal is formed if the direction of the indicator defined by the color change changes.
Place the TrendContinuation.ex5 compiled file into terminal_data_folder\MQL5\Indicators.
It should be taken into account that the TradeAlgorithms.mqh library file is designed to allow the use of Expert Advisors by brokers that offer the following services: non-zero spreads and the ability to set Stop Loss and Take Profit while opening a position. Other variants of this library can be downloaded from https://www.mql5.com/en/code/1578 .
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 chart
2011 EURUSD H4 test results:

Figure 2. Test result chart
Attachment download
📎 exp_trendcontinuation.mq5 (8.36 KB)
📎 smoothalgorithms.mqh (134.03 KB)
📎 tradealgorithms.mqh (59.9 KB)
📎 trendcontinuation.mq5 (8.95 KB)
Source: MQL5 #1596
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •