← All strategies
Paper trading

Gold Legend Breakout

The classic 20-bar channel breakout, applied to gold.

Modelled on the breakout rules a legendary 1980s commodities trader taught a group of complete beginners, who went on to earn millions following them.

XAU/USD 4h candles Long & short Swing SL · TP · Trailing SL

Connecting to bot…

XAU/USD · 4h

–

▲ Buy▼ Sell● Exit— Stop— Target— Indicator

Open position

What the bot is watching

Strategy rules

  • Buy when a 4-hour candle first closes above the highest high of the previous 20 candles.
  • Sell short when a candle first closes below the lowest low of the previous 20 candles.
  • Stop-loss: 2 × ATR(20) from entry, the original "2N" risk rule.
  • Take-profit: 6 × ATR(20), so winners can run three times the risk.
  • Trailing stop: once 2 × ATR in profit, the stop follows 2 × ATR behind the best price.

Every trade uses the full virtual balance, with a 0.1% fee per side. Entry signals are checked on closed candles; stops, targets and the trailing stop are checked against the live price every minute. A trade is skipped when its profit target is under 3 × the round-trip fees, and trailing stops never lock in a loss to fees (why).

Learn how this method works: Channel Breakout Trading Strategy: Rules, Stops & Examples

Trade history

SideOpenedEntryClosedExitExit reasonP&LBalance
Paper trading only: this bot trades a virtual $10,000 account using live market prices. Gold is priced from PAXG, a token backed 1:1 by physical gold that tracks spot XAU/USD, and trades only during real gold market hours. No real money is used and no real orders are placed. Simulated results don't include spreads or slippage and do not guarantee future performance. This is not investment advice. Full disclaimer.