Trading botv1.4.014 options

Price Action Breakout Bot

Expert Advisor for MetaTrader 5 that marks key levels and trades a strong close through one of them in the direction of the higher-timeframe trend.

Net return
+61.8%
Profit factor
1.28
Max drawdown
17.2%
Trades
273

Backtest on XAUUSD M15 over 82 months, from $500 at 0.5% risk per trade and a 30% drawdown limit. Past results do not promise future returns.

Recommended MT5 setup

Best: USDJPY · M30

Trades decisive candle closes through multi-touch zones when volatility is expanding cleanly.

Primary chart
USDJPY M30
Secondary pair
XAUUSD M15
Suggested risk
0.5%–1.0%
7-year winning months
48W / 33L

Optimized v1.4.0 defaults built into this EA

Session GMT06–17 (skip 07)
MaxAtrRatio1.8
BreakoutBodyAtr0.6
StopMultiplier2.5
MonthProfitLock0.25% (keep 60%)

USDJPY M30 (BiasTimeframe=D1 lifts PF to 1.56; both halves positive). Secondary pair verified on XAUUSD M15 (+61.8%, PF 1.28, 58W/22L at $500 @ 0.5% (DD 9.0% at $10k@1%)).

Multi-symbol portfolio slot:USDJPY M30 (Magic 71040011)
See full v1.4.0 portfolios

What it does

7 capabilities
  • Trading hours filter in GMT with automatic DST offset refresh, rollover pause, Friday cutoff and MT5 Economic Calendar news blackout
  • Higher-timeframe bias filter (EMA fast/slow) with efficiency-ratio regime gating
  • Key level marking from swing points, drawn on the chart
  • Breakout on a strong close through a key zone or an inside bar breakout
  • Cost-adjusted break-even, partial take-profit, and rolling spread-spike guard
  • Account-currency OrderCalcProfit risk sizing, margin cap, monthly loss budget, profit lock and drawdown throttle
  • Pre-flight OrderCheck, freeze-level protection and execution circuit breaker

How it works

The bot reads the higher-timeframe bias with two EMAs, marks the key support and resistance zones of the chart from its swing points, and waits for price to reach a zone and close through it. A breakout counts when the bar before closed on the near side of the zone and the breakout bar closes beyond it with a strong body, or as an inside bar breakout. It trades only with the bias, places the stop beyond the far side of the zone and the target at a fixed reward to risk, and sizes the position by the risk you choose. The zones and the step the bot is at are shown on the chart. The strategy runs in the bot's DLL and works only with an approved FXOpsPro license key.

Parameters & options

Configured directly in MetaTrader 5 Expert Advisor inputs.

14 of 14
ParameterTypeDefaultDescription
MinLotRiskPercent
number2.5When the account is too small for RiskPercent, trade the smallest lot if it loses at most this % of the balance at the stop (2.5 for this bot)
MaxMarginPercent
number18.0Account protection: one trade uses at most this % of the free margin; the lot size is reduced to fit (18 for this bot)
MaxMonthlyLossPercent
number10.0The bot loses at most this % of the month's starting balance in a calendar month: new trades are sized to the loss that is left, then none until the next month (10.0 for this bot; 0: off)
MonthProfitLockPercent
number0.25Month profit lock: after the month's closed result reaches this % of the month's starting balance, new trades are sized to keep MonthProfitKeepPercent of its best closed result (0.25 for this bot; 0: off)
MonthProfitKeepPercent
number60.0Share of the month's best closed result that the month profit lock keeps, in % (60 for this bot; 0: break-even)
DrawdownThrottlePercent
number5.0Multiply RiskPercent by DrawdownThrottleFactor while account equity is this % or more below its peak (5.0 for this bot; 0: off)
UseSessionFilter
booltrueTrading hours: open trades only from SessionStartGmt to SessionEndGmt (on for this bot)
SessionStartGmt
int6Trading hours: window start, hour in GMT (6 for this bot: London pre-open)
SessionEndGmt
int17Trading hours: window end, hour in GMT (17 for this bot: stops before late NY fade)
SkipHours
int7Trading hours: no new trades in these hours in GMT (0-23), numbers with commas (7 for this bot: skips 07:00 GMT London-open whipsaw; empty: trade all hours)
MaxAtrRatio
number1.8Volatility regime filter: skip entries when current ATR exceeds this multiple of its 100-bar baseline ATR (1.8 for this bot: blocks panic volatility spikes; 0: off)
StopMultiplier
number2.5The stop loss is this many times as far from the entry as the level stop; the lot size is smaller, so the money at risk stays RiskPercent (2.5 for this bot)
RiskReward
number2.0Take profit at this many times the stop distance (2.0 for this bot)
BreakoutBodyAtr
number0.6The breakout bar body must be at least this many ATRs

More trading bots

View all trading bots