How to Avoid False Breakouts When Running a Breakout EA
EABuild Team · · 12 min read

On this page
- Why a breakout EA meets false breakouts, and what a filter can change
- What to have ready before you tune a breakout EA
- Steps to avoid false breakouts with a breakout EA
- Three breakout EAs and what their listings state about filters
- Checks and common problems when filtering a breakout EA
- FAQ
- Testing breakout filters on a demo account this week
No setting will let you avoid false breakouts completely, but a few filters can change which ones a breakout EA takes. This post walks through those filters in the order you would set them up: trading hours, a spread limit, confirmation before entry and testing on past news days. It also reads three breakout EAs in the shop to show what their listings do and do not state.
Why a breakout EA meets false breakouts, and what a filter can change
A breakout EA (an expert advisor, a program that places trades automatically on a MetaTrader chart) enters when price leaves a defined area. A false breakout is a move past that level which reverses and falls back inside. The EA cannot know in advance which kind of break it is looking at, so every breakout system takes some of them.
A filter is an extra condition that must be true before the EA is allowed to enter. It does not make the break real. It removes some situations where false breaks happen often, and it also removes some real breaks. That trade-off is the reason to change one filter at a time and measure it.
If you want the basics of how these robots define a range and place stops first, read the breakout EA guide. This post assumes you already know the idea and want to tune how an EA behaves around it.
Conditions where false breaks tend to cluster
- Thin trading hours, when a small amount of buying or selling can push price through a level and back.
- Wide spreads (the gap between the buy and the sell price), which can trigger an entry earlier than the chart suggests.
- Scheduled news, when price can spike through a level and reverse within seconds, and slippage (a fill at a different price from the one requested) is common.
- Choppy sessions where price keeps returning to the middle of the range.
Each filter below targets one of these conditions.
What to have ready before you tune a breakout EA
Filters are easy to change and hard to judge, so prepare a few things first.
- A demo account (a practice account with virtual money) at the broker you plan to use, so spreads and fills look like the real ones.
- The listing of the EA, to see the symbol and timeframe it names. Use those, not your own guess.
- The EA's inputs window, open, with a note of what each setting is called. Names differ between EAs.
- A list of the economic releases that move your symbol, with the dates, and the broker's server time. Many EAs use server time, which can differ from your local clock.
- A simple log (a spreadsheet is enough) with one row per change you make and the date you made it.
If the EA ships with set files (saved lists of input settings you load in MetaTrader), pick one and keep it unchanged as your baseline. The guide to loading a set file in MT4 and MT5 covers the steps.
Steps to avoid false breakouts with a breakout EA
Follow the order below. It starts with the changes that are easiest to understand and ends with the one that needs the most data.
- Run the EA with its default settings on a demo account for a few sessions and record every trade as your baseline.
- Mark which trades were stopped out soon after entry. These are your suspected false breaks.
- Note the hour and the spread at the entry of each one.
- Restrict the trading hours if the input exists, and change nothing else.
- Add or tighten a maximum spread limit if the input exists, and change nothing else.
- Add a confirmation rule if the input exists, such as waiting for a candle to close beyond the level.
- Compare each change with the baseline over the same kind of market conditions.
- Test the final setup across past news days before you consider a live account.
The sections below explain each change.
Change 1:limit the hours the EA may enter
A time window stops the EA from entering when conditions are thin. Many EAs have start and end hour inputs. Others rely on you to switch the EA on and off. A window also protects you from the hours when your broker's spreads widen, which often happens around the daily rollover.
Look at the timestamps of the suspected false breaks in your log. If they cluster in the same hours, a window that skips those hours is a reasonable first test. Check the clock: the input usually refers to broker server time, which you can see in the Market Watch window of MetaTrader.
Change 2:add a spread limit
A spread limit tells the EA not to open a trade while the spread is above a set value. This matters most for a breakout EA that works on a short timeframe, where the cost of the spread is a large part of a small move. It also prevents the case where a wide spread pushes the ask price through a buy level while the chart shows no break.
Not every EA has this input. When it is missing, you can still watch the spread yourself during testing and note how often entries happen when it is wide. Do not set the limit so low that the EA almost never trades, since that hides the problem rather than solving it.
Change 3:ask for confirmation before entry
Confirmation means the EA waits for evidence that the break is holding. The simplest form is a candle close beyond the level, instead of a touch. Other forms are a buffer (extra distance beyond the level) or a minimum range size, so that a tiny range does not produce a trade.
Confirmation has a cost. The entry comes later and often at a worse price, so the stop loss may sit further away relative to what is left of the move. Some trades that would have worked are missed. Treat this as a trade-off to measure, not a free improvement.
Change 4:test on past news days
Scheduled news is where false breakouts, wide spreads and slippage meet. Pick a set of past dates with major releases for your symbol and look at what the EA did on those days, using the strategy tester (see backtesting an EA in MT4) or your demo log. Then ask three questions. Did it enter before the release, during the spike or after? How wide was the spread at that moment? Did a stop loss fill close to its level?
Keep in mind that a tester often shows cleaner spreads and fills than a live account does. A practice account shows only part of what live trading does. A news-day result is a stress check, not a forecast.
Three breakout EAs and what their listings state about filters
The fact sheets of these EAs give the strategy type, symbols, timeframes and files. They do not list the filter inputs, so open each EA's inputs window or its PDF guide to see which of the filters above exist.
A breakout and scalping EA on M1 for MT4
Range Breakout EA for MT4 is an expert advisor for MetaTrader 4, build 1471 or later. The listing gives its strategy as breakout and scalping on EURUSD, USDJPY and GBPUSD on M1, with a minimum deposit of $100. The download has one compiled EA file and three set files, and the listing does not mention grid or martingale. On a one-minute chart the spread takes a large share of each small move, so a spread check is worth more here than on a slow chart. Treat the three set files as three baselines to compare.
A breakout and news trading EA for MT5
Currency Pros Breakout EA for MT5 is listed for breakout and news trading on XAUUSD, on M1 and M5. The download is one compiled EA file with a PDF guide and no set files, and the listing says a DLL is required, so allow DLL imports in the MT5 options. Because news trading is part of the listing, the past-news-day test in change 4 is the one to give most time. The PDF guide is where to read how entries are meant to work, since the listing itself does not describe them. The listing marks it as built with prop-firm challenge rules in mind, which is a design note and not a result, so check your firm's rules on EAs.
A breakout system with 226 set files
Ultimate Breakout System EA for MT5 is listed for breakout and scalping on XAUUSD, USDJPY, NAS100 and US500, on M1 and D1. The package has the EA file with four helper files, 226 set files and PDF guides, and the listing states a licence for unlimited live and demo accounts. The listing does not say which symbol pairs with which timeframe, so read the inputs of a set file before loading it. With this many set files, change filters on a copy of one baseline and note which file you used, or you will not be able to compare runs.
Checks and common problems when filtering a breakout EA
The EA stops trading after you add filters
This usually means two filters overlap and leave almost no time or spread conditions that qualify. Remove one, run again, and compare the number of trades with your baseline. A filter that removes nearly every trade has not avoided false breakouts. It has avoided the EA.
The results look better, but only on the dates you tuned for
Choosing settings that fit one stretch of history is called overfitting. A new window of dates often looks different. Keep a separate period that you never used while tuning, and look at it only once at the end. The post on EA overfitting explains the idea in more detail.
Entries happen at the wrong time of day
Check the clock the input uses. If the start hour is read as broker server time and you entered your local hour, the window is shifted. Compare the entry timestamps in the terminal with the hours you set.
Stops fill far from their level
This is slippage, and it is most common around releases and at the rollover. A spread limit does not control it. A time window that avoids those moments can help, and so can reading the broker's execution conditions before you trade live.
Grid or martingale features are active
A grid opens extra orders at set price steps, and martingale raises the lot size after a loss. If a set file uses either, a run of false breaks can grow drawdown (the drop from an account's peak balance) quickly. None of the three listings above mentions grid or martingale, but read the lot inputs in every set file anyway.
FAQ
Which hours should a breakout EA skip to reduce false breakouts?
A breakout EA should skip the hours in which your own log shows false breaks clustering. Look at the timestamps of the trades that were stopped out soon after entry. If they gather in the same hours, such as around the daily rollover when broker spreads often widen, a time window that skips them is a reasonable first test. The input usually uses broker server time, which Market Watch shows.
How low should I set the maximum spread limit on a breakout EA?
Set the maximum spread limit low enough to block entries when costs are wide, but not so low that the EA almost never trades, since that hides the problem instead of solving it. Compare the number of trades with your demo baseline after the change. If the EA has no spread input, watch the spread yourself during testing and note how often entries happen when it is wide.
Does waiting for a candle close stop a breakout EA from taking false breakouts?
No, waiting for a candle to close beyond the level only changes which false breakouts a breakout EA takes. Confirmation, such as a close beyond the level, a buffer or a minimum range size, removes some false breaks. The entry then comes later and often at a worse price, and some real breaks are missed, so measure the change against your baseline.
What is overfitting when I tune breakout EA filters?
Overfitting means choosing breakout EA filter settings that fit one stretch of history, so the results look good only on the dates you tuned for. A new window of dates often looks different. Keep a separate period that you never use while tuning and look at it once at the end, after your last change.
Testing breakout filters on a demo account this week
Pick one of the EAs above, attach it to the symbol and timeframe its listing names and let it run on a demo account for a few sessions with default settings. Then change one filter, run a similar number of sessions and compare against your log. Keep the notes short: the hour, the spread, whether the stop followed the entry within a few candles, and which version of the settings was active.
Every product in the shop is a digital download and is included in the membership, so you can try more than one breakout EA without buying each one separately. Read the Strategy and Settings tab of each listing before you attach anything to a chart, and remember that filters reduce false breakouts without removing them.
Trading foreign exchange and CFDs carries a high level of risk and may not be suitable for all investors. Past performance does not guarantee future results; only trade with money you can afford to lose.

