Percentage_Crossover_Channel_EA - MetaTrader 5 Expert




The Expert Advisor uses the Percentage_Crossover_Channel indicator.
The strategy is simple:
It is a swing EA trading and can only have one position in the market. If a buy signal occurs and there is an open sell position, the position will be closed and a buy position opened. The opposite is true for sell signals.
The Expert Advisor can reverse an indicator signal to open selling instead of buying and vice versa. You can also set stop loss and profit points. If invalid StopLoss and TakeProfit values are specified, the EA will adjust these values to the minimum allowed symbol of the StopLoss level .
The Expert Advisor also adjusts the lot size if the specified value is incorrect. If the lot size is too large, the EA will adjust it to be able to open a position. If there are no funds to open a position even with the minimum lot size, the signal will be skipped.
For correct operation, the EA requires compiled indicator file Percentage_Crossover_Channel .
Please also note that the Expert Advisor is intended for training and strategy testing purposes.
The EA has ten input parameters:
To check this strategy, we conducted two tests on EURUSD H1, using data from the period January 02, 2017 to January 19, 2018, in two modes: default (at channel borders) and midline crossover.

Figure 1. Test chart of EURUSD trading using channel boundaries in the first half of the year 2017.01.02 - 2018.01.19

Figure 2. Test results for trading using channel boundaries EURUSD first half 2017.01.02 - 2018.01.19

Figure 3. Midline Cross Trading Test Chart EURUSD First Half 2017.01.02 - 2018.01.19

Figure 4. Midline cross trading test results for EURUSD in the first half of 2017.01.02 - 2018.01.19
Attachment download
📎 percentage_crossover_channel.mq5 (9.19 KB)
📎 percentage_crossover_channel_ea.mq5 (40.76 KB)
Source: MQL5 #19913
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •