Session Breakout Portfolio EA: prop-firm challenge setup
This tutorial shows how to set up Session Breakout Portfolio EA (version 1.05) for a prop-firm challenge account in MetaTrader 5: which inputs match the challenge rules, how much safety margin to keep, and what happens when a guard is hit.
The video was recorded with version 1.01 (three markets, 0.15–0.20 % risk). The guards, the steps and the go-live checklist are unchanged; the recommended inputs and backtest figures below are the current ones for version 1.05, with gold traded in two sessions (London and New York).
Chapters
| 00:00 | Intro |
| 00:14 | Challenge rules and the matching EA inputs (daily loss, maximum loss, static vs trailing drawdown, profit target) |
| 01:41 | Attach the EA to one chart and load the prop-firm preset |
| 02:20 | The inputs step by step |
| 04:21 | Safety margins: challenge limits vs EA limits |
| 04:45 | Risk per trade: backtest drawdown and simulated challenges (1.01 figures) |
| 06:04 | Small accounts and the minimum lot |
| 07:11 | Server time and session times on the dashboard |
| 07:58 | What happens when a guard trips (replay) |
| 08:50 | Go-live checklist |
Recommended inputs for a 5 % daily / 10 % maximum loss challenge
These are the values in the included preset SBP_PropFirm.set (version 1.05):
| Input | Value |
|---|---|
| Market selection | Full portfolio: JP225, XAUUSD in two sessions (London + New York), USDJPY, USTEC and DE40 |
| Risk profile | Custom (uses the risk inputs below) |
| Risk per trade, % | 0.25 |
| Drawdown step-down | Half risk while the balance is 4 % below its peak, full risk again at a new peak |
| Max total open risk, % | 1.25 |
| Daily loss limit, % | 3.0 |
| Max drawdown, % | 8 |
| Drawdown reference | From the initial balance, or from the highest balance / equity if the challenge uses a trailing drawdown |
| Initial balance for drawdown | The challenge's starting balance |
| Close positions when a hard limit is hit | true |
| Trade randomiser | On (small offsets to order time, lot size and prices, so accounts with the same settings do not send identical orders) |
| News filter | On (high-impact events, 30 minutes before and after) |
The EA's limits (3 % / 8 %) sit inside the challenge limits (5 % / 10 %), so spreads, slippage and open positions have room before a rule of the challenge is touched. For a calmer start use SBP_PropFirm_Slow.set: 0.20 % per trade, open-risk cap 1.0 %, no step-down, the same guards.
The second gold session needs a hedging account. On a netting account the EA skips it and says so in the Experts log; the other sessions trade normally.
Setup steps
- Install the EA from the MQL5 Market (see the install guide) and open one chart, for example XAUUSD M5. The EA trades all markets from this chart.
- Drag the EA onto the chart, press Load on the Inputs tab and choose
SBP_PropFirm.set. The preset files are attached to the author's post on the Comments tab of the product page. - Enter the challenge's starting balance as the initial balance for the drawdown.
- Choose the drawdown reference that matches your challenge: static (from the initial balance) or trailing (from the highest balance or equity).
- On a small account, check the dashboard: if the minimum lot of a market is larger than the risk allows, that trade is skipped rather than opened at a higher risk.
- Check the server time and the session times on the dashboard (gold has two rows, London and New York). Session ranges are built in each exchange's own time zone with automatic daylight saving.
- Tick Allow Algo Trading, switch on the Algo Trading button and confirm the dashboard shows the EA as active.
Backtest figures for the prop-firm preset (version 1.05)
Rolling-challenge test on the 2021–2026 backtest (every-tick model, 100 000 USD, SBP_PropFirm.set): a new challenge starts on every trading day, with a +8 % target, a −8 % static or trailing limit and a −5 % daily limit.
| Test | +8 % within 3 months | +8 % within 6 months | −8 % hit before the target | Max equity drawdown |
|---|---|---|---|---|
| 2021-01 to 2026-10 | 60 % of the starts (out-of-sample starts: 57 %), median 74 days | 86 % | 0 %; worst closed day −1.4 % | 5.1 % |
| Real ticks 2025-03 to 2026-10 | 57 % | 97 % | 0 % on the closed balance | 7.0 % (intraday equity came within about 1 % of an 8 % limit) |
SBP_PropFirm_Slow.set, 2021-01 to 2026-10 | 52 % | – | – | 4.5 % |
For comparison, the same preset without the London gold session reached +8 % within 3 months in 52 % of the starts. Choose a challenge without a tight time limit: in many starts the target took longer than one month.
These are backtest and simulation results. They do not guarantee future results, and no challenge outcome is promised. Read your firm's rules (news trading, weekend holding, consistency) before you start; your own challenge's terms and dashboard take precedence. Trading involves risk.
Go-live checklist
- Inputs match the table above, and the initial balance equals the challenge's starting balance.
- The drawdown reference matches the challenge (static or trailing).
- The account is a hedging account, so both gold sessions can trade.
- Only one chart runs the EA, and no other EA trades the same account unless you have planned for it.
- The terminal or VPS runs during all sessions (Tokyo, Frankfurt, London and New York).
- You have run the same settings in the Strategy Tester with your broker's data.
Product page: Session Breakout Portfolio EA. Product demo video: on the product page.