Skip to content
HomeAboutProjectsTradingContact

Navigation

HomeAboutProjectsTradingContactResume

Connect

All strategies
MetaTrader 5MQL5XAUUSD Β· M5 Β· H1 trend filter

Chandelier Exit Strategy v3.1

A trend-following system built on the Chandelier Exit β€” an ATR-anchored trailing level that flips direction when price closes through it. The flip is the entry signal, gated by an H1 50-EMA bias so the M5 engine only trades with the higher-timeframe trend. Stops sit 1.5Γ—ATR from entry, targets at a fixed 2R, with a break-even move at 1R and a 2Γ—ATR trailing stop behind the position; an opposite Chandelier flip closes early. Signals are evaluated on the closed bar and filled at the next bar's open, so the backtest carries no look-ahead. Ported 1:1 from a Pine v3 original.

CE_Strategy_v3_1.mq5

How it trades

Signal
Chandelier Exit direction flip β€” ATR 21, multiplier 3.0, close-based extremums
Trend filter
Price on the correct side of the H1 50 EMA
Stop
1.5 Γ— ATR from entry
Target
Fixed 2R, plus an early exit on the opposite Chandelier flip
Break-even
Stop moves to entry once the trade reaches 1R
Trailing stop
2 Γ— ATR(14) behind the position once running
Sizing
Fixed-fractional, 1% of equity per trade β€” see the caveat below
Execution
Evaluated on the closed bar, filled at the next bar open (no intrabar repaint)
Filters held off
The ADX and ATR-percentile gates exist in the code but were disabled for this run
Positions
One at a time β€” the EA flips rather than stacking

Performance

Net return
206.36%
Profit factor
1.11
Max drawdown
44.60%
Win rate
64.68%
Total trades
603
Expectancy
$0.34
Sharpe
4.99
Recovery factor
2.55

Test conditions

Period
2026-01-01 β†’ 2026-06-20
Initial deposit
$100
Risk per trade
1.0% per trade
Modelling
100% real ticks
Broker / server
Exness Technologies Ltd

How to read these numbers

  • The 1% risk setting never bound. On a $100 deposit a 1%-risk position sizes below the broker's 0.01 lot minimum, so all 603 trades were floored at the minimum lot β€” risking a median of $8.59, or about 8.6% of the starting deposit, and $38.76 on the worst loss. The +206% headline reflects a heavily over-leveraged micro-account, not the configured risk model.
  • Normalised, the same 603-trade sequence is worth +32.1R. Compounded at the intended 1% risk it returns roughly +35%, not +206% β€” that is the figure to judge the edge on.
  • A 1.11 profit factor is thin: $2,040 of gross profit against $1,834 of gross loss. The edge is real but small, and a 44.6% peak-to-trough drawdown along the way is not a risk profile most accounts would tolerate.

These are historical backtest results, not live trading returns. Backtests exclude slippage variance, requote behaviour, and swap changes that a live account would experience. Past performance does not guarantee future results.

Equity curve

Account balance and drawdown across every closed trade.

Balance$59$126$192$258$325start$306Drawdown from peak0%-46.0%Jan 26Feb 26Mar 26May 26Jun 26
Unmodified MetaTrader 5 strategy report for Chandelier Exit Strategy v3.1

Unretouched MetaTrader 5 report β€” the source of the figures above.

Trade journal

Every closed position from the test, in order.

Closed trades, showing 25 of 603
#OpenedClosedSideLotsEntryExitRP/L
102 Jan 26, 07:5502 Jan 26, 08:07Buy0.014380.634385.63+0.96+$5.00
202 Jan 26, 13:1502 Jan 26, 13:20Buy0.014399.924394.49-1.01βˆ’$5.43
305 Jan 26, 02:3005 Jan 26, 02:52Buy0.014402.394407.39+0.36+$5.00
405 Jan 26, 05:5505 Jan 26, 06:01Buy0.014410.304415.30+0.95+$5.00
505 Jan 26, 14:0005 Jan 26, 14:02Buy0.014416.894421.93+0.55+$5.04
605 Jan 26, 19:0005 Jan 26, 19:06Buy0.014448.784442.54-1.00βˆ’$6.24
706 Jan 26, 01:5506 Jan 26, 02:01Buy0.014447.864452.90+0.67+$5.04
806 Jan 26, 06:3506 Jan 26, 07:08Buy0.014464.564469.57+0.84+$5.01
906 Jan 26, 08:2506 Jan 26, 08:27Buy0.014469.314474.31+0.92+$5.00
1006 Jan 26, 11:3506 Jan 26, 12:23Buy0.014460.614465.63+0.90+$5.02
1106 Jan 26, 14:1006 Jan 26, 14:33Buy0.014471.484476.50+0.69+$5.02
1206 Jan 26, 20:4506 Jan 26, 20:57Buy0.014489.934494.95+1.03+$5.02
1307 Jan 26, 07:4007 Jan 26, 07:47Buy0.014459.064464.08+0.71+$5.02
1407 Jan 26, 15:1507 Jan 26, 15:27Sell0.014426.704437.89-1.00βˆ’$11.19
1507 Jan 26, 20:2007 Jan 26, 20:56Buy0.014460.024454.42-1.00βˆ’$5.60
1608 Jan 26, 01:1008 Jan 26, 01:33Buy0.014459.394453.54-1.01βˆ’$5.85
1708 Jan 26, 01:3508 Jan 26, 01:44Sell0.014452.194447.16+0.76+$5.03
1808 Jan 26, 08:4008 Jan 26, 08:53Sell0.014421.184428.17-1.01βˆ’$6.99
1908 Jan 26, 11:5508 Jan 26, 12:01Sell0.014423.974418.90+0.99+$5.07
2008 Jan 26, 13:1008 Jan 26, 13:18Sell0.014418.754426.15-1.01βˆ’$7.41
2108 Jan 26, 20:0508 Jan 26, 20:22Buy0.014457.954463.02+1.04+$5.07
2209 Jan 26, 01:5509 Jan 26, 02:00Buy0.014467.374472.39+0.72+$5.02
2309 Jan 26, 05:3509 Jan 26, 05:44Buy0.014471.084466.47-1.00βˆ’$4.61
2409 Jan 26, 13:3509 Jan 26, 14:10Buy0.014487.074492.14+0.59+$5.06
2509 Jan 26, 18:3509 Jan 26, 19:06Buy0.014501.184493.01-1.01βˆ’$8.17

Showing 25 of 603 closed trades

Download full report
← CME Gap-Fill v4.4.1Gold EMA Cross Scalper β†’

Let's work
together.

Send an emailBook a call

Navigation

HomeAboutProjectsTradingContact

Connect

TwitterGitHubInstagramLinkedIn

Site

Built with Next.js, Tailwind CSS, and GSAP.

Deployed on Vercel.

Β© 2026 Femi Ajanaku. All rights reserved.

Relentless by design.