Buy chai. Sell biscuit.
A fully automatic Expert Advisor for gold (XAUUSD). You choose the portion, everything else is built in.
- XAUUSD (gold)
- Leverage 1:100
- Hard stop loss
- No grid, no martingale
Backtest results
955 trades from a $10,000 start at the default 0.65% portion. Switch to 1% to see the same test at a larger size.
Balance curve
XAUUSD · 0.65% portion · redrawn from the Strategy Tester balance
End balance
$20,374.53
Trade breakdown
Share of trades by side, and average win against average loss
Winning trades
Strategy Tester backtests on XAUUSD, leverage 1:100, every tick based on real ticks, 2.8 years · January 2024 to November 2026. Historical simulation, not live trading. Past results do not guarantee future performance. Point at the curve, or focus it and use the arrow keys, to read the balance on any date.
Your portion sets the size
The portion sets the lot size. A larger portion gives larger gains and larger dips, and lets more orders through on the same deposit: 955 trades at 0.65%, 1,043 at 1%. The default is 0.65%.
Growth comparison
0.65% and 1% portion · growth in % of the $10,000 start
End balance
Nine years of gold
The same recipe and default portion on gold from January 2018 to November 2026. Real ticks only go back to 2024, so this longer test runs on 1-minute bars (OHLC).
Balance curve
XAUUSD · 0.65% portion · 1-minute OHLC · $10,000 start
End balance
$62,446.15
Strategy Tester backtest on XAUUSD, leverage 1:100, 1-minute OHLC, January 2018 to November 2026. Historical simulation, not live trading. Past results do not guarantee future performance.
Buy chai, sell biscuit, on your chart
Each open order gets a see-through zone in its own colour and a caption, so you can tell at a glance what the kitchen is serving.
Kitchen panel
The kitchen state, the orders open now, open, daily and total profit, and your portion, always in the corner of the chart.
Sized for your account
Lot size comes from your portion and the stop distance, then is checked against margin, volume steps and broker limits before every order.
Example chart drawn for this page, in the bot's own chart colours. Zones and captions appear only while an order is open.
Everything else is built in
The recipe is part of the bot. You set how much each order risks; the rest is fixed and tested.
- Stop loss and take profit on every order
- Orders below the minimum lot are skipped, never rounded up
- No grid, no martingale, no averaging
- Margin and volume checks before every order
Two settings, that is all
Plus panel, chart colours and magic number. Attach to one gold chart; any chart timeframe works.
Run the free demo before you buy
Test Chai & Biscuit in the MetaTrader 5 Strategy Tester on your broker's own data.
Get Chai & Biscuit on MQL5