Breakout Bars Trend Expert Advisor
Info
The Breakout Bars Trend Expert Advisor is a Expert Advisor for MetaTrader 5 that for the expert advisor to function, you require the custom indicator (available in the mql5/indicators folder) and the provided expert advisor (in the mql5/experts folder). The Expert Advisor opens positions during trend reversals.
Usage
This tool is typically used for breakout trading when price moves beyond key support/resistance levels.
Platform
This Expert Advisor works exclusively on MetaTrader 5 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL5/Experts folder via File ? Open Data Folder in MetaTrader 5.
How to Install and Use Breakout Bars Trend Expert Advisor
1. Installation: Open the "File" menu, select "Open Data Folder," navigate to MQL/Experts, paste your file, and restart the terminal.
2. Activation: Drag the EA from the Navigator onto a chart, ensure "Allow live trading" is checked in the Common tab, and verify the AutoTrading button is green.
3. Optimization: Right-click your chart, choose "Expert List," click "Properties" to adjust inputs, and save your preferred setup as a set file for future use.
4. Maintenance: Regularly check the "Experts" tab in the terminal window to monitor trade logs and potential execution errors.
Frequently Asked Questions
Q: Why is my EA not opening trades? A: Check the "AutoTrading" button, ensure "Allow live trading" is enabled, and verify your broker allows automated trading on your account type.
Q: Can I run multiple EAs on one chart? A: No, each chart can only host one active EA; however, you can open multiple charts for different currency pairs to run several EAs.
Q: What does the "smiley face" icon mean? A: A smiley face in the top-right corner of the chart indicates the EA is successfully running; a frowny face means it is disabled.
What this tool does
For the Expert Advisor to function, you require the custom indicator (available in the MQL5/Indicators folder) and the provided Expert Advisor (in the MQL5/Experts folder).
Typical Use Case
This Expert Advisor excels in trend following on MetaTrader 5.
Compatible Platform & Setup
This Expert Advisor works on MetaTrader 5. Place the file in the MQL5/Experts folder and restart the terminal.
Description & Settings
Related: Gold London Breakout EA - another powerful expert for MetaTrader 5 traders.
For the Expert Advisor to function, you require the custom indicator (available in the MQL5/Indicators folder) and the provided Expert Advisor (in the MQL5/Experts folder).Also recommended: MA and Envelope Breakout Strategy - similar expert with strong performance on MetaTrader 5.
The Expert Advisor opens positions during trend reversals. If the 'Number of False Signals' parameter is set to zero, a position is opened with each reversal. If this parameter is greater than zero, a position will only be opened if the current reversal trend is preceded by the specified number of false signals.
Positions are closed either when the trend changes direction or when the stop loss/take profit conditions are met.
A signal is considered false if the pip distance from the close price of the first bar of the trend to the close price of the next trend is negative. For instance, a false sell trend occurs when close[prev] - close[next] < 0, and a false buy trend occurs when close[next] - close[prev] < 0.
Parameters:
- Reversal: Specifies the reversal mode, either in pips or percentages.
- Delta: The minimum distance required for a trend change.
- Number of False Signals: Positions are opened only if the current signal has the specified number of false signals. If set to zero, positions are opened on every reversal.
Additional parameters include stop-loss, take-profit, and lot size.
Note: If the reversal mode is set in percentage, parameters like delta, stop-loss, and take-profit should also be specified in percentage. If the reversal is in pips, these parameters should be set in pips as well.
Tested on EURUSD H1 data from 2026, with reversal in percentage, delta = 0.3%, and stop-loss and take-profit set to 1%.
- Entry on each reversal (number of false signals = 0)
- Entry after a series of false signals (number of false signals = 3)
You may also like: V1N1 LONNY MT5: Asian Range Breakout Day Trader - excellent alternative for expert users on MetaTrader 5.
Source Code
#property copyright "robotfx"
#property link "https://robotfx.org"
#property version "1.00"
#property description "this code is educational. feel free to use, modify and upgrade as you wish. visit robotfx.org for professional trading tools"
#property description "this code is educational. feel free to use, modify and upgrade as you wish. visit robotfx.org for professional trading tools"
#property description "this code is educational. feel free to use, modify and upgrade as you wish. visit robotfx.org for professional trading tools"
#property description "this code is educational. feel free to use, modify and upgrade as you wish. visit robotfx.org for professional trading tools"
#property description "this code is educational. feel free to use, modify and upgrade as you wish. visit robotfx.org for professional trading tools"
#include <trade\trade.mqh>
enum reversal_mode {
.......
⚠ Limitations & Risk Warning
- This tool is provided for educational and testing purposes only.
- Past performance does not guarantee future results.
- Trading involves substantial risk of loss. Use on a demo account first.
- Results may vary depending on market conditions, broker, and settings.
- We recommend thorough backtesting and forward testing before using with real funds.