Read first: a stop loss on every order, but you can still lose
  • No grid, no martingale, no averaging down. But an order that hits its stop loss is a real loss, and losses can come several in a row.
  • It can place several orders at once (default maximum 5 orders). If they fill together and hit their stops together, you lose several trades at once.
  • Always test on Demo first, for at least 2-4 weeks.
  • Suggested start: Cent account 50-100 USD (= 5,000-10,000 USC), to learn, not to make a profit.
  • Always ask our support first before you change a setting or use real money.
Remember: past results do not predict future results. Use only money you can afford to lose. CFDs are complex products and may not suit everyone.
Breakout EA

SwingBreaker

A breakout EA that trades gold (XAUUSD). Every order has its own stop loss, and the stop moves to lock in profit when price runs. No grid, no martingale.

Version 2.30 | Updated 2026-11-08 | Written for non-technical users
What is new in v2.30
  • Licence badge: an account with a licence now shows LICENSE ACTIVE with the server name, without a day countdown (v2.20 showed the old trial end date even though the licence keeps working). Trading is the same as v2.20.
  • When the trial ends (since v2.20): the EA shows a message on how to keep using it for free (move your trading account under our IB, with a link). On Exness, after moving you must open a new trading account (your existing trading accounts stay with the old partner), then enter the new account number when you download the EA. The licence is then approved automatically, so you do not need to send us your account number. Trading is the same as v2.1.

1What this EA does

▼

It trades gold automatically. When its conditions are met it places a pending order, which fills if price gets there.

  • Every order has a stop loss of its own from the moment it is placed
  • When price moves your way, the EA moves the stop to lock in profit
  • It can hold several pending orders at once, limited by InpMaxWaiting and the total risk cap InpMaxRiskPct
  • At some times the EA rests by itself. The Dashboard shows RESTING, and this is normal
Strategy values are locked inside the EA. Every user gets the same system that was tested. What you can adjust: Buy/Sell sides, spread, number of pending orders, lot, risk cap, daily stop and the extra strategy (sections 4-6).

2Before you start

▼
  • Symbol: gold, XAUUSD
  • Chart timeframe: any timeframe. The EA reads the data it needs by itself
  • Account type: Hedging is suggested, because the EA can hold several orders and both sides at once (on a Netting account the EA can hold 1 pending order at a time)
  • Licence: free for accounts opened through our IB link. Demo accounts work right away. See the conditions in the EA install guide
  • Allow WebRequest: Tools → Options → Expert Advisors → tick Allow WebRequest and add these 3 URLs
    • https://zab-license.bangzeed.workers.dev
    • https://zab-license.vercel.app
    • https://license.forexreviewth.com
Cent accounts: money in MT5 is shown in USC (1 USD = 100 USC). Inputs that are an amount of money, such as InpBalancePer001, also count in USC. Inputs that are a % work the same.
Licence failed = no new orders. The Dashboard shows NO LICENSE. The EA deletes its pending orders but keeps managing the orders it already holds.

3Minimum settings to run it

▼

The default values run as they are. Just check these 3 items.

StepSettingSuggested valueWhy
1InpLotModeFixed lotStart with a fixed lot
2InpFixedLot0.01Smallest lot first
3InpMaxRiskPctKeep the default (10)Total risk cap. Do not raise it until you understand section 5

4Trading

▼
SettingWhat it doesDefault
InpMagicThe EA's Magic Number26101302
InpBuysAllow the Buy sidetrue
InpSellsAllow the Sell sidetrue
InpMaxSpreadHighest spread allowed when placing an order, in price (0.50 = 50 points, 0 = no limit)0
InpMaxWaitingHow many pending orders can wait at once5
You can turn off one side. To trade one side only, set InpBuys or InpSells to false. The system was tested with both sides on.

5Money management

▼
SettingWhat it doesDefault
InpLotModeFixed lot / Risk % per order / 0.01 lot per amount of capitalFixed lot
InpFixedLot[Fixed] lot per order0.01
InpRiskPercent[Risk] what % of capital you lose if the stop is hit. The EA works out the lot from the stop distance2.0
InpBalancePer001[Balance] how many USD of capital per 0.01 lot1000
InpBalanceUseWhat % of Balance the EA uses as capital for the lot, the risk cap and the daily stop100
InpMaxRiskPctTotal risk cap for pending + open orders (% of capital, 0 = no limit)10
InpDailyLossPctStop for the day when today's loss reaches this % of capital (0 = off)0

How the total risk cap works

The EA adds up "the money lost if every order hits its stop", for open and pending orders together. If a new order would go over InpMaxRiskPct of capital, the EA skips that order.

Example: capital 1,000 USD with a 10% cap = a total loss of at most 100 USD. If each order risks 30 USD, the EA can place 3 orders. Order 4 waits until there is room.

Small capital with Risk mode: if the calculated lot is below the broker's minimum lot, the EA uses the minimum lot, so your real risk is higher than the % you set. If one order alone would go over the cap, the EA does not place it at all.
Turning on the daily stop is suggested. For example InpDailyLossPct = 5: if a day's loss reaches 5%, the EA stops placing new orders until the next day (the Dashboard shows DAILY STOP).

6M30 extra strategy (Strategies group)

▼

Besides the main strategy, you can turn on an extra one (named M30 in Inputs), which gives more chances to enter a trade.

SettingWhat it doesDefault
InpM30EnabledTurn on the M30 strategy as welltrue
InpM30LotFactorLot of the M30 strategy = normal lot x this value (never below the broker's minimum lot)0.5
InpOnePerPriceDo not place 2 orders at the same pricetrue
Lot 0.01 with M30: 0.01 x 0.5 = 0.005 is below the minimum, so the EA uses 0.01 for both strategies. To take less risk, turn off M30 (InpM30Enabled = false).

7Dashboard (the panel on the chart)

▼
StatusMeaning
RUNNINGWorking normally
RESTINGA time when the EA rests (normal)
DAILY STOPToday's loss reached InpDailyLossPct. It stops until the next day
NO LICENSEThe licence check failed. No new orders

Figures you can see: Balance, profit or loss still open (Open result), pending orders, risk in use (Risk in use), today's result, and the WEEK / MONTH / YEAR / STATS tabs (Win rate, Profit factor, highest Drawdown, average monthly profit). The A- / A+ buttons on the panel change its size.

SettingWhat it doesDefault
InpShowDashboardShow the Dashboardtrue
InpDashScaleDashboard size (the A- / A+ buttons on the panel also change it)0.8

8Problems and fixes

▼
What you seeCommon causeFix
NO LICENSE showsWebRequest not allowed yet / the real account was not opened through our IB linkAdd the 3 URLs in section 2 and load the EA again, or see ib.forexreviewth.com
RESTING for a long timeA time when the EA restsNormal, just wait
RUNNING but no pending ordersConditions not met yet / spread above InpMaxSpread / stopped by the InpMaxRiskPct capCheck Risk in use on the Dashboard. With small capital, one order alone can go over the cap
No orders at all, and errors in the JournalAlgo Trading is off / the market is closedClick the Algo Trading button so it turns green

9Checklist before you run it

▼

Tick every item before you turn on the EA (your ticks are saved automatically).

105 hard rules (never do these)

▼
1
Do not delete the stop loss or move it further away yourself
The stop loss is what limits the loss of each order
2
Do not turn off the risk cap (InpMaxRiskPct = 0) until you understand it
The EA would place up to the full InpMaxWaiting without looking at your capital
3
Do not raise the lot after a loss to win it back
It makes the risk much higher than what was tested
4
Do not run 2 charts with the same Magic Number
The EA cannot tell which order belongs to which chart
5
Do not use real money before you pass Demo
Always watch how it really works on Demo for 2-4 weeks first