Skip to content
EA
MT5 Expert Advisor FREE Scalping

Onyx MT5 EA

A MetaTrader 5 expert advisor designed for XAUUSD breakout trading. It identifies the previous day's high and low, places Buy Stop and Sell Stop orders, and manages positions with stop loss, trailing, break-even and dynamic lot sizing. Four independent trading sets allow separate risk and schedule settings. The vendor reports strong historical backtest results on H1, with a maximum drawdown of 18.78%.

Losses on this strategy are capped

Every trade carries a hard stop and position size does not increase after a loss, so the worst case of one losing sequence is known in advance. That says nothing about whether this product is profitable, only that it can survive a bad month. We backtest products in this group.

How we classify loss mechanisms

Onyx MT5 EA
Instruments
XAUUSD (Gold)
Timeframe
Any
Minimum deposit
$100+

Backtest results

Simulation — not a live account

Run in the MetaTrader Strategy Tester on real tick data. These are simulated results: a backtest shows how a strategy would have behaved on past prices, not how it will behave on your account.

Period Return Max drawdown Trades Win rate Profit factor
2025 Jun–Oct 4 months +449.5% −33.2% 67 83.6% 8.62
Equity curve — 2025 Jun–Oct Started at $10,000, ended at $54,948. Deepest drawdown −33.2%. Account balance Drawdown from peak 2025-06-01 → 2025-10-01
$54,948 -25.0% 2025-06-02 2025-09-30

How concentrated the profit is

80% of the profit came from 9 of 56 trading days (16.1%).

A smooth equity curve can still be a handful of exceptional days plus a long flat stretch.

Longest losing streak: 3 trades

Full test statistics

Every figure below is copied from the MetaTrader report exactly as it appears there, so you can check it against your own run.

Trade counts

Total trades
67
Total deals
134
Long trades (won %)
38 (78.95%)
Short trades (won %)
29 (89.66%)
Winning trades
56 (83.58%)
Losing trades
11 (16.42%)

Best and worst single trades

Largest win
8 181.84
Largest loss
-5 360.95
Average win
907.97
Average loss
-536.15

Winning and losing streaks

Longest winning streak
22 (8 935.06)
Longest losing streak Consecutive losing trades, and what that streak cost. This is what you would have had to sit through.
3 (-170.71)
Biggest run-up
14 391.12 (3)
Biggest run-down
-5 360.95 (1)
Average winning streak
6
Average losing streak
1

Drawdown

Balance drawdown, absolute
0.00
Balance drawdown, maximal
5 360.95 (25.03%)
Balance drawdown, relative
25.03% (5 360.95)
Equity drawdown, absolute
479.21
Equity drawdown, maximal Measured on floating equity, not closed balance. Always the harsher of the two, and the one that triggers a margin call.
7 218.50 (33.15%)
Equity drawdown, relative
33.15% (7 218.50)

Risk and efficiency ratios

Profit factor
8.62
Expected payoff per trade Average result of one trade. A big number with a low win rate means it depends on rare large wins.
670.87
Recovery factor Net profit divided by the worst drawdown. Below 1 means the deepest hole was bigger than everything it made.
6.23
Sharpe ratio
81.17
Margin level How close the account came to a margin call. The lower it got, the less room there was for one more losing position.
369.78%
AHPR
1.0276 (2.76%)
GHPR
1.0258 (2.58%)
LR correlation
0.87
LR standard error
5 966.95

Holding time

Shortest position held
0:00:01
Longest position held
1:48:34
Average position held
0:04:24
Correlation (profit, MFE)
0.93
Correlation (profit, MAE) How strongly the eventual profit tracked the worst unrealised loss along the way.
0.22
Correlation (MFE, MAE)
-0.0223

Data quality

Trading server
BlueberryMarkets-Demo
Modelling quality
100%
Bars tested
23907
Ticks tested
42237865
Expert advisor settings used (54 parameters)

The exact parameters this test ran with, taken from the report. Results are only comparable when the settings are.

Trading_BUY
true
Trading_SELL
true
GMT
3
Distance_to_Order
50.0
Transfer_to_Breakeven
true
Distance_to_Breakeven
10
min_time_hold_position
0
Magic_
100
COMMENT_
MaxSpread_
100
Info_Panel
true
Info_Panel_Risk_Management
true
lot_selection
2
lot_method
2
Multiplicity_For_Lot
40
Risk_percent
50
MinLot
0.01
Maximum_Lot
500.0
Set 1
Trade_1
true
TakeProfit_1
0
StopLoss_1
900
Trailing_SL_1
60
Start_Trailing_SL_1
0
StepTrailing_SL_1
1
Start_Time_Trading_1
3
End_Time_Trading_1
0
Set 2
Trade_2
false
TakeProfit_2
0
StopLoss_2
500
Trailing_SL_2
60
Start_Trailing_SL_2
0
StepTrailing_SL_2
1
Start_Time_Trading_2
3
End_Time_Trading_2
0
Set 3
Trade_3
false
TakeProfit_3
0
StopLoss_3
900
Trailing_SL_3
70
Start_Trailing_SL_3
70
StepTrailing_SL_3
1
Start_Time_Trading_3
3
End_Time_Trading_3
0
Set 4
Trade_4
false
TakeProfit_4
0
StopLoss_4
500
Trailing_SL_4
70
Start_Trailing_SL_4
70
StepTrailing_SL_4
1
Start_Time_Trading_4
3
End_Time_Trading_4
0

How this was tested

Broker
Blueberry Markets Pty Ltd
Trading server
BlueberryMarkets-Demo
Symbol
XAUUSD.cn
Timeframe
M5
Starting balance
$10,000
Leverage
1:500
Tick data
100% modelling quality
Spread
Real variable spread

Specifications

Account type Any
Minimum leverage Any

Screenshots

Description

At a glance

Onyx MT5 EA is an automated trading system for MetaTrader 5 that specialises in gold, specifically the XAUUSD pair. The approach is based on breakouts of the previous day's high and low, using pending orders to enter when price moves beyond those levels. The EA includes four independent trading blocks, each with its own stop loss, trailing stop and trading schedule. Position sizing can be linked to account equity through a risk percentage setting.

Trading approach

The core logic is straightforward. Each day, the EA records the high and low of the previous trading day. It then places a Buy Stop order above that high and a Sell Stop order below that low. If price breaks either level, the corresponding order triggers and a position is opened. No manual chart watching is required once the orders are set.

Because the EA can run long and short orders simultaneously, it can capture breakouts in either direction. The four trading sets can be configured with different entry levels, lot sizing and active hours, allowing different breakout variants to be run on the same account.

Risk controls and position management

Stops and exits

Each trading set has its own Stop Loss and Take Profit settings. A trailing stop can be enabled to follow favourable price movement, and a break-even function moves the stop to the entry price after a certain number of points in profit. Spread protection can block new orders when the spread is too wide.

Lot sizing

Dynamic lot sizing is supported. When enabled, the EA calculates the lot size from a risk percentage of the current account equity, not a fixed lot. This means trade volume grows when the account grows and shrinks after losses. Alternatively, a fixed lot size can be used.

Exposure limits

Each of the four trading sets can be switched on or off independently. The EA also includes separate BUY and SELL controls, so a trader can disable short trades entirely, for example. A magic number identifies trades from the EA for management and reporting.

Setup notes

The EA is supplied for MetaTrader 5 only. The vendor includes set files that configure the four trading blocks for the intended breakout style on XAUUSD. The H1 timeframe is used in the published backtest, and the same timeframe should be used for live deployment unless the trader deliberately changes the settings. A GMT offset setting aligns the trading schedule with the broker's server time.

An on-chart panel provides access to risk settings and current status. The EA requires the account to allow automated trading and would be left running on the XAUUSD chart during the trading week.

Before you run it live

The vendor reports strong historical performance from a backtest run between January 2025 and March 2026. That test used a $200 starting deposit and ended with a net profit of $4,856.50, with a maximum drawdown of 18.78%. A separate live signal claims $24,386.24 profit from a $1,000 deposit over 19 weeks, but with a maximum drawdown of 36.6%. Those figures are reported by the vendor and should be treated as historical examples rather than expected returns.

A 36.6% drawdown on the live signal means the account lost more than a third of its equity at some point, which is a significant risk. Traders should test the EA on a demo account with the intended risk percentage before committing real funds. Differences in spread, slippage and execution quality between the backtest environment and a live broker will affect results.

Frequently asked questions

Does Onyx MT5 EA trade any pair other than XAUUSD?

The specified market is XAUUSD (gold), and the published backtest uses that symbol. While the EA could be attached to another chart, the vendor presents it as a gold breakout system.

What is the significance of the four trading sets?

Each set acts like a mini-strategy within the EA. You can run up to four independent breakout configurations at once, each with its own stop loss, trailing stop, lot sizing and trading hours. This allows different risk profiles to be combined on one account.

Can the EA run on a prop firm account?

The facts do not state whether the EA is compliant with any specific prop firm rules. Because it uses breakout orders and does not appear to use martingale or grid logic, it may be compatible with some prop firm restrictions, but you should check the firm's rules on pending orders and drawdown before using it.

Does Onyx MT5 EA use martingale or grid trading?

No. The strategy is based on breakout pending orders from the previous day's high and low, not on averaging into losing positions or placing a grid of orders. Each position is managed with a stop loss, which is the opposite of a martingale approach.

Tags

Free today Smart Gold Hunter EA MT5
Expert Advisor · MT5 XAUUSD (Gold)

Smart Gold Hunter EA MT5

Gold traders who want disciplined, single-entry XAUUSD automation without grid, martingale, or hedging often struggle to find EAs with real stop-loss protection and prop-firm controls. Smart Gold Hunter EA MT5 addresses this by scanning the gold market, executing one trade at a time with a hard stop-loss and take-profit, and managing risk through drawdown limits, session filters, and Friday protection.

No loss cap Martingale · Loss recovery
M5, M15, M30, H1, H4 Minimum deposit $100+
Gold Liquidity V2 EA MT5
Expert Advisor · MT5 XAUUSD (Gold)

Gold Liquidity V2 EA MT5

A one-minute XAUUSD scalping expert advisor for MetaTrader 5 that uses liquidity zones, stop-loss clusters, and short-term inefficiencies to time entries. The supplied configuration enables a trend filter, dynamic take profit, and a GMT-based trading window from 01:00 to 10:00. Gold Liquidity V2 EA MT5 suits experienced traders who understand gold volatility and exposure limits.

No loss cap Loss recovery
M1 (1 minute chart) Minimum deposit $10k ($100 Cent account)
YUVI FX TRADER NEXORA EA MT5 (Source Code)
Expert Advisor · MT5 XAUUSD (Gold)

YUVI FX TRADER NEXORA EA MT5 (Source Code)

Short-term automated execution on a one-minute timeframe, built around a stack of market-condition filters. The supplied configuration activates liquidity assessment, ATR-based volatility checks, momentum sensitivity, and high-impact news screening before any order is placed. Trade-cycle limits cap exposure at seven positions, while slippage controls and execution retries address fast-market conditions. Source code and set files are included for MetaTrader 5.

Not stated
M1 (1 minute chart) Minimum deposit $100+
Vexora Sera EA MT5
Expert Advisor · MT5 XAUUSD (Gold)

Vexora Sera EA MT5

A selective XAUUSD expert advisor for MetaTrader 5 that trades gold on the M1 timeframe. The strategy waits for aligned conditions, opens one position per signal, and uses predefined stop loss and take profit levels. It deliberately avoids martingale, grid, and averaging methods. The developer reports a trailing eight-week live account gain with an observed drawdown below 10%.

No loss cap Martingale · Grid
M1 (1 minute chart) Minimum deposit $200+
Adaptive Gold Scalper MQ5 (Source Code)
Expert Advisor · MT5 XAU/USD (Gold)

Adaptive Gold Scalper MQ5 (Source Code)

A fully automated MetaTrader 5 Expert Advisor built specifically for XAUUSD scalping. It combines breakout logic, moving-average confirmation, and support/resistance detection to enter and exit short-duration trades. Adaptive Gold Scalper MQ5 includes dynamic stop-loss and take-profit management, with source code and set files provided for customisation. Designed for traders who accept higher drawdowns in exchange for rapid, automated execution on gold.

Loss capped
H1 (60 minute chart) Minimum deposit $500+