Breakout Atlas
- Experts
-
Allan Aparece Ninal
MetaTrader 5용 인디케이터와 전문가 어드바이저(EA)를 개발합니다.
작업 방식:
- 모든 인디케이터는 리페인팅 여부를 확인합니다. 신호는 마감된 봉에서만 결정되며, 모든 틱 테스트로 이후에 바뀌지 않는다는 것을 확인합니다.
- 모든 계산은 독립적인 기준 계산과 봉 단위로 비교합니다.
- 전략은 최적화에 사용하지 않은 데이터로 백테스트합니다. 우위가 없는 규칙은 그렇다고 분명히 밝히고 전략으로 판매하지 않습니다. - 버전: 1.0
- 활성화: 10
Breakout Atlas is an Expert Advisor for MetaTrader 5 that trades price breakouts. It has three entry models: swing levels, a volatility candle and a daily range. Four tested presets are included, each for one symbol and timeframe.
This EA promises no profit. Every result below is a backtest on broker history, not live trading. Seven of 333 symbol, timeframe and model combinations passed my first screen. About 3.4 were expected by chance alone. Four of the seven also passed the Strategy Tester.
Quick start
- Open a chart of one preset: XAUEUR H1, USDJPY H1, SOLUSD H4 or SOLUSD D1. A prefixed or suffixed symbol name is fine.
- Attach the EA from the Navigator and keep Algo Trading enabled.
- Set "Settings" to "Auto: this chart's tested preset". The Preset row on the panel then reads screened.
- Choose the size: Fixed lot (default 0.01), Risk % of balance, Risk money per trade or 0.01 lot per balance step.
- Leave every extra off to run the rule as tested. Turn on the extras you want later, one at a time.
Account
| Preset | Minimum balance at 0.01 lot | Recommended at 0.01 lot | Backtest: largest drawdown; largest loss |
|---|---|---|---|
| XAUEUR H1 | 1,500 USD | 3,000 USD | 642 USD; 132 USD |
| USDJPY H1 | 500 USD | 1,000 USD | 122 USD; 16 USD |
| SOLUSD H4 | 1,500 USD | 3,000 USD | 540 USD; 138 USD |
| SOLUSD D1 | 2,500 USD | 5,000 USD | 1,043 USD; 336 USD |
- Why: the drawdown and loss figures come from the Strategy Tester at 0.01 lot, July 2023 to October 2026. They are backtest figures, not a limit on future losses.
- Leverage: 1:100 or higher. Hedging or netting account. The grid extra needs a hedging account.
- Risk-% sizing: if even the minimum lot risks more than you asked, the EA skips the live trade. It does not raise the lot.
- Safety limit: the EA never opens a trade whose stop would lose more than half of the equity.
- Standalone: everything is built in. You do not need to buy or install any other product named on this page. The EA needs no web request and no Allowed URLs.
What you see on the chart
- Panel: model, chart, setting, exits, preset status, buy and sell levels, last setup, open position, lot, extras in use, protection and any pause.
- Levels: the swing levels or the daily range the EA is watching, drawn on the chart.
The three entry models
Swing levels (pending stops)
A swing high is a bar with lower highs on both sides. The swing strength sets how many bars that takes. The EA finds a recent swing high and swing low in the last 100 bars. It needs a level at least 0.25 ATR from the close.
It places a buy stop just above the swing high and a sell stop just below the swing low. When one fills, the other is cancelled. The stop is a multiple of ATR, and the target is a multiple of that stop distance, called R.
Volatility candle (market order)
The EA waits for a bar whose range is larger than a set multiple of the ATR of the bar before. It then buys or sells in the bar's direction at the next open. Stop and target work as above.
Daily range (pending stops)
At a set server time, the EA measures the range of the hours before it. If that range is small enough against the daily ATR, it places a buy stop above it and a sell stop below it. The stop is the other side of the range. Orders are cancelled and trades closed at a set hour. No preset uses this model.
Rules for every model
- Signals use closed bars only, so there is no repaint.
- One position at a time, unless you turn on the grid.
- A trade is skipped if its stop is under eight times the spread.
- A time exit closes a trade after a set number of bars: 120 on H1, 60 on H4 and 20 on D1 as tested.
Validated presets
The default inputs are the XAUEUR H1 preset. "Settings" = "Auto" picks the preset of the chart you attach it to.
| Preset | Model and setting | Stop; target | Trades | Profit factor, 1-minute OHLC | Profit factor, real ticks |
|---|---|---|---|---|---|
| XAUEUR H1 | swing levels, strength 6 | 3 ATR; 3R | 318 | 1.51 | 1.72 (Aug 2024 to Oct 2026) |
| USDJPY H1 | swing levels, strength 6 | 3 ATR; 1.5R | 459 | 1.24 | 1.28 |
| SOLUSD H4 | swing levels, strength 6 | 1.5 ATR; 3R | 210 | 1.49 | 1.40 |
| SOLUSD D1 | volatility candle, 1.8 x ATR | 1.5 ATR; 1.5R | 70 | 1.26 | 1.69 |
Backtest, not live trading: broker history, 1 July 2023 to 9 October 2026, 0.01 lot, spread and swap included, no commission. Each preset passed a Python backtest, the Strategy Tester on 1-minute OHLC and the Strategy Tester on real ticks. Each setting was frozen on 2020 to mid-2023 data before the later period was opened.
Preset settings
You don't need to type these. Choose the preset in "Settings", or choose "Auto" on the preset's chart. The table shows what each preset sets, so you can check it or enter it by hand with "Settings" = "Own settings".
| Input | XAUEUR H1 | USDJPY H1 | SOLUSD H4 | SOLUSD D1 |
|---|---|---|---|---|
| Chart | XAUEUR, H1 | USDJPY, H1 | SOLUSD, H4 | SOLUSD, D1 |
| Settings (preset by name) | XAUEUR H1 swing levels | USDJPY H1 swing levels | SOLUSD H4 swing levels | SOLUSD D1 volatility candle |
| Entry model | Swing levels | Swing levels | Swing levels | Volatility candle |
| Signal timeframe | current | current | current | current |
| ATR period | 14 | 14 | 14 | 14 |
| Swing strength | 6 | 6 | 6 | - |
| Swing strength on the right side only | 0 | 0 | 0 | - |
| Bars searched for swing levels | 100 | 100 | 100 | - |
| Level at least this far from the close, x ATR | 0.25 | 0.25 | 0.25 | - |
| Order beyond the level by, x ATR | 0.05 | 0.05 | 0.05 | - |
| Bar range above this x ATR of the bar before | - | - | - | 1.8 |
| Stop distance, x ATR | 3.0 | 3.0 | 1.5 | 1.5 |
| Target, x the stop distance | 3.0 | 1.5 | 3.0 | 1.5 |
| Time exit after N bars | -1 (as tested: 120 bars) | -1 (as tested: 120 bars) | -1 (as tested: 60 bars) | -1 (as tested: 20 bars) |
A dash means the input is not used by that model. Every other input stays at its default. All extras stay off. Lot size is your choice: the table above uses 0.01 lot.
Read the numbers with care:
- Chance: seven first-screen passes is about twice what chance alone gives across 333 combinations. No single preset is significant after correcting for the number of tests.
- Before 2020: the USDJPY preset had a profit factor of 0.98 on 2011 to 2019. The XAUEUR preset had 0.86 on 2013 to 2019. SOLUSD has no data before 2020.
- Gold: most of the XAUEUR gain came from buys, in a period when gold rose strongly.
- SOLUSD D1: only 70 trades, and a few wide-stop trades decide the result at a fixed lot. Its largest drawdown is four losses in a row.
- SOLUSD history: the tester rated the SOLUSD history quality at 20%. Treat those two presets as a rough guide.
- Real ticks: gold ticks exist only from August 2024, so the XAUEUR real-tick figure covers that shorter window.
Extras (all off by default)
Every extra is off by default, so the presets run as tested. None of them is part of a validated preset. Each one changes the trades.
- Lot sizing: fixed lot, risk % of balance, risk money per trade, or 0.01 lot per balance step, with an optional maximum lot.
- Trade management: break-even, a trailing stop, a trail behind the last swing, and a trail that starts after a set time. A target escape moves the target closer once a trade is far against you.
- Direction and spread: buys only, sells only, and a maximum spread.
- Trading hours: an entry window in server time or GMT, Monday and Friday switches, and a Friday close hour. GMT comes from the broker clock.
- Higher-timeframe filter: buys only above an EMA of a higher timeframe, sells only below it.
- Character Band filter: trades only with the trend state of a built-in structure indicator. I tested it on the presets and did not adopt it: it made them worse.
- News filter: no new entries around high-impact releases, or also close trades before them.
- Account protection: a daily and a maximum loss limit in %, set like a prop firm's rules. Near a limit the EA closes its trades and stops.
- Group close: close all positions at a total profit or loss in money, for this EA or for the whole account.
- Hidden stops: the EA keeps the stop and target itself. The broker only gets a wider emergency stop.
- Grid: adds trades as price moves against the first one. See the warning below.
- Optimisation score: four custom criteria for the Strategy Tester optimiser.
Grid warning. A grid adds to a losing trade. With a lot multiplier above 1 it becomes a martingale. It can turn a normal loss into a large one. The grid is off by default. To turn it on you must set a basket loss limit, from 0.1% to 50% of the balance, or the EA will not start. It also needs a hedging account. The grid was not part of any preset.
News filter
Off by default. "No new entries" blocks new trades from 30 minutes before to 30 minutes after a high-impact release. The other mode also closes open trades before the release.
In the Strategy Tester the EA uses a built-in list of high-impact USD releases from 2020 to 2026. Live, it reads the MetaTrader economic calendar, for USD and for the symbol's own currencies. That is more events than the tester list, so live the filter is not identical to the tested one.
How it was checked
- Code check: the EA's trades were compared with the Python model on all four presets. 68 to 93% matched on the exact entry minute. Pending stops fill inside the minute, so about 85 to 95% matched within five minutes.
- Real ticks: each preset was run again on real tick data and still passed.
- Feature tests: the grid, the news modes, account protection and group close were each run in the Strategy Tester and triggered as set, with no errors.
- MQL5 checks: no errors on the MQL5 validation runs, including a 100 USD deposit. Memory stays under 400 MB.
Use and limits
- By default the EA trades on any symbol and timeframe. Only the four presets passed my tests. Anything else shows "not a preset" on the panel and has no testing behind it.
- Set "Trade live on charts that are not a preset" to false to trade only the presets. The Strategy Tester accepts any symbol.
- A preset counts only with its tested setting. Changing the model inputs on that chart makes it "not a preset".
- XAUEUR and SOLUSD are offered by fewer brokers. Check that yours lists them.
- Close or modify requests wait while the market is closed. They run at the first tick after it reopens.
Automatic trading or signals only
By default the EA trades automatically. If you would rather decide yourself, set "Dry run: alert each signal, open no trades" to true. The EA then opens nothing. Each signal it would have traded arrives as a pop-up alert with sound, a push notification on your phone, or both. You decide whether to enter by hand.
- Dry run is off by default. Nothing changes until you turn it on.
- "Dry run: pop-up alert with sound" and "Dry run: push to phone" are on by default and only work while Dry run is on.
- Push to your phone: install the MetaTrader mobile app, copy its MetaQuotes ID and enter it under Tools > Options > Notifications.
- In dry run the EA opens, closes and changes no trade. This is a tool for your own decisions, not advice.
Inputs
| Group | Inputs (defaults) |
|---|---|
| Preset | Settings: own inputs, Auto, or one preset by name (own inputs) |
| Entry model | Entry model (swing levels); signal timeframe (current); ATR period (14) |
| Swing levels | Swing strength (6); right-side strength (0 = same); bars searched (100); minimum distance (0.25 ATR); order offset (0.05 ATR) |
| Volatility candle | Bar range above x ATR of the bar before (3.0) |
| Daily range | Check hour and minute (10:00); range length (360 minutes); maximum height (0.7 daily ATR); close hour (23) |
| Exits | Stop (3.0 ATR); target (3.0 R, 0 = none); time exit (-1 = as tested) |
| Trade management | Break-even; trailing stop; structure trail; time-delayed trail; target escape (all off) |
| Position size | Sizing (fixed lot); lot (0.01); risk % (1.0); risk money (100); balance step (1,000); maximum lot (0 = broker maximum) |
| Filters | Allow buys, allow sells (true); maximum spread (off); trade live on charts that are not a preset (true) |
| News filter | Mode (off); minutes before and after (30, 30) |
| Trading hours | Limit entries (off); clock (server); hours (8 to 20); Monday, Friday (true); Friday close hour (off) |
| Higher-timeframe filter | Trend timeframe (current = off); EMA (50) |
| Character Band filter | Mode (off); swing size (10) |
| Account protection | Daily loss % (off); measured from, % of, reset zone and hour; maximum loss % (off) and type; account size (0 = first deposit); act at (90% of a limit) |
| Group close | Positions counted (this EA); profit and loss in money (off) |
| Hidden stops | On (false); broker emergency stop (2.0 x the stop) |
| Grid | On (false); step (0.33 R); lot multiplier (1.0); maximum adds (2); basket target (1.0 R); basket loss limit (required when on) |
| Pending orders | Daily range: cancel unfilled orders after N minutes (0 = at the close hour) |
| Optimisation | Custom criterion (steady balance curve) |
| Trade | Magic number (26111601); maximum slippage (30 points) |
| Display | Show the panel; draw levels and ranges (true) |
| Signals only | Dry run (false); pop-up alert, push to phone (true) |
| Support | Debug log for bug reports (false) |
How to test in the Strategy Tester
- Open the Strategy Tester (Ctrl+R, or View > Strategy Tester).
- Choose Breakout Atlas as the Expert Advisor.
- Set Symbol and Timeframe to those of the preset you want to test.
- Set the model to "1 minute OHLC" or "Every tick based on real ticks".
- Choose a date range, for example 2023.07.01 to 2026.10.01.
- Use a deposit and leverage close to your own account.
- In the Inputs tab, set "Settings" to "Auto", then start the test.
With a tight trailing stop or break-even, judge only on real ticks. The 1-minute OHLC model guesses the price path inside each minute, and that flatters a stop close to price.
You can try other settings the same way. A test of other settings is not a validated preset. A backtest describes the past only.
Works well with
These are workflow suggestions. I have not found that any pair gives better trading results. You do not need any of them.
| Product | How to use them together | Why |
|---|---|---|
| EA Health Monitor | Give the EA its own magic number. Attach the monitor to one chart of the account. | It shows one row per magic number, so you can read this EA's trades on their own. |
| Prop Rules Monitor | Attach it to one chart of the account while the EA runs. | It shows your distance to a prop firm's limits. It only watches and never closes anything. |
XAUEUR is a gold market. Running it with other gold EAs adds to the same exposure.
Related products
- Prior Day Breakout Pro: a different breakout rule, the previous-day high and low on XAUEUR. Both EAs trade XAUEUR H1 and often take the same direction on the same day. If you run both, keep their magic numbers different and count their risk together.
- Signal Trader Pro: trades indicator signals such as SuperTrend, with tested presets.
- EA Health Monitor: a free per-EA dashboard of trades and results.
- All my products on MQL5
FAQ
Repaint? No. Signals use closed bars only.
Why no trade today? The EA needs a level to break, or a large enough candle or a narrow enough range. A spread limit, news window, trading hours or a protection limit can also block it. The panel shows the reason.
Can I run it on other symbols? Yes, but only the four presets passed my tests. Anything else has no testing behind it.
Does it use set files? No. The four presets are built in. Choose one with the "Settings" input.
Is it suitable for prop firm accounts? It has daily and maximum loss limits you set yourself. It does not know any firm's rules, so check them yourself.
Reporting a bug or error
- In the inputs, set "Debug log for bug reports" to true.
- Leave the EA running until the problem happens.
- Open the Experts tab in the Toolbox, select the lines that start with "DBG", right-click and choose Copy.
- Send them as a comment on this product page or as a LinkedIn message, with the symbol, timeframe, EA version and what you expected.
The debug log never contains your login, name, server, balance or equity. Set it back to false afterwards. I answer only through the comments on this page and on LinkedIn.
If it helps your trading, a short review on this page helps other traders find it.
Questions: use the comments on this page or send me a message on MQL5.
Trading carries a risk of loss, and past results do not predict future results.
