Chai and Biscuit
- Experts
- Versione: 1.0
- Attivazioni: 5
Chai and Biscuit is a fully automated Expert Advisor for gold (XAUUSD) on MetaTrader 5. You set one number, the risk per order. The robot does the rest: it watches the market, sizes each order to your risk, places it with a stop loss and take profit already attached, and manages it until it closes.
The trading settings are built in, so there are no set files to load and nothing to optimise.
Key features
- Made for gold. Developed and tested on XAUUSD only.
- One setting that matters. You choose the risk per order as a percentage of equity. The default is 0.65%.
- Protected from the start. Every order carries its stop loss and take profit from the moment it is placed.
- No grid, no martingale, no averaging. The lot size follows your equity and is never raised to win back a loss.
- Never more risk than you set. If an order would need less than the broker's minimum lot, the robot skips it instead of rounding up.
- Checks before every order. Free margin, volume limits and broker rules are checked first, and no orders are sent while the market is closed.
- Clear chart display. A compact panel and coloured zones show what the robot is doing at a glance.
- Hedging and netting accounts. Hedging is recommended.
How it works for you
- Attach the robot to one gold chart. The chart period does not matter.
- Set your risk per order, or keep the default 0.65%.
- Turn on Algo Trading. From then on the robot places, manages and closes its own trades.
The robot is selective: some weeks bring many trades, others few or none. Several positions can be open at the same time, each with its own stop loss, so at times your total risk is a multiple of the risk per order.
Account size
Gold costs several thousand dollars per ounce, and the smallest order, 0.01 lot, is one ounce. The robot never rounds an order up to that minimum, because it would then risk more than you set. It skips the order instead, so the share of orders that go through depends on your deposit. At the default 0.65% and today's gold price, based on the tested orders of the last twelve months:
- 30,000 USD or more: every order (recommended)
- 20,000 USD: about 95% of the orders
- 10,000 USD: about half of the orders
- 5,000 USD: about a third of the orders
- 2,000 USD or less: no orders
A higher risk setting lets more orders through on a smaller deposit, with deeper dips of the balance. At 1%, about 20,000 USD places every order. These shares change with the price of gold.
Backtest results
Strategy Tester, GOLD, leverage 1:100, 10,000 USD initial deposit, default 0.65% risk unless stated.
- January 2018 to November 2026, 1 minute OHLC: 3,340 trades, net profit 52,446.15 USD (+524%)
- January 2024 to November 2026, every tick based on real ticks: 955 trades, net profit 10,374.53 USD (+104%)
- The same real-tick test with a random execution delay on every order: 955 trades, net profit 10,364.29 USD (+104%)
- The same real-tick test at 1% risk: 1,043 trades, net profit 20,933.31 USD (+209%)
In the first two tests about three in four trades closed in profit. A higher risk makes both the gains and the dips larger; the 1% test also made more trades, because fewer orders fell below the minimum lot. The real-tick tests started in January 2024, when gold was near 2,000 USD, so at today's price a 10,000 USD account places fewer orders than these tests did (see Account size). The screenshots show the balance curves and the full statistics.
Run your own backtest
Choose your broker's gold symbol, the model "Every tick based on real ticks" and the default settings. Use the deposit you plan to trade with, because it decides how many orders go through.
Inputs
- Portion: risk % of equity per order: default 0.65, up to 10
- Max spread: skip new orders while the spread is above this many points; default 0 (off)
- Show panel and trade markers: on or off
- Chart theme: paints the chart in Chai and Biscuit colours; your own colours return when the robot is removed
- Magic number: default 330400. The robot's orders use 330401 to 330409, so give other robots on the same account different numbers
On the chart
A small panel in the corner shows the robot's status, the trades open now, open, today's and total profit, the number of orders, the largest drawdown and your risk setting. Every open trade is marked with a see-through zone, tea-leaf green for buys and biscuit gold for sells, and the newest one carries a small animated tea-leaf or biscuit icon. When a trade closes, its zone fades and the result appears next to it.
Requirements
- Symbol: gold, XAUUSD or GOLD (any broker suffix)
- Deposit: 30,000 USD recommended at the default risk (see Account size)
- Account: hedging recommended. On a netting account the robot holds one position at a time and places fewer orders than in the tests
- Leverage 1:100 or higher, a low-spread account and a virtual private server (VPS) for uninterrupted operation
- Algo Trading enabled in MetaTrader 5
Support
After purchase, send me a private message on MQL5.com and I will help you check your symbol, deposit and settings. For general questions, please use the comments section of this product.
Backtests are historical simulations, not live results. Past performance does not guarantee future results. Trading gold and CFDs involves risk, including the loss of your deposit.
