Black Friday: 2 years for the price of 1.Or 3 months for the price of 1. On Pro.2 d 5 hleftSee plans →
Free tool

Free gold futures backtester

Paste a Pine v6 strategy written for GC or MGC. It runs on gold futures bars with $2.50 a contract and a tick of slippage charged, every trade on the chart, and the last third of the data judged on its own. A free account with no card tests the newest 30 days as often as you like. For $39 paid once, Prop Ready opens all two years for 30 days.

Free plan · unlimited backtests · no card
ICT Silver Bullet on micro gold · optimised against the textbookMGC1! · 5-minute · 4 November 2024 → 2 November 2026
The 8 months after
+$763
Trades there
43
Profit factor there
1.21
Worst drawdown in 2 years
−$2,997
Optimised in the 8 months after+$763
Textbook in the same months−$822
Nov 2024Feb 2026Nov 2026

The $50,000 account after each trade, one micro gold contract with $2.50 a contract each side and a tick of slippage. Shaded: the 8 months after the tuning, run once with the settings unchanged.

Paste your script

Pine v6, as TradingView has it.

ICT Silver Bullet on micro gold · optimised against the textbookMGC1! · 5-minute · 4 November 2024 → 2 November 2026
The 8 months after
+$763
Trades there
43
Profit factor there
1.21
Worst drawdown in 2 years
−$2,997
Optimised in the 8 months after+$763
Textbook in the same months−$822
Nov 2024Feb 2026Nov 2026

The $50,000 account after each trade, one micro gold contract with $2.50 a contract each side and a tick of slippage. Shaded: the 8 months after the tuning, run once with the settings unchanged.

Yes. A free account backtests a Pine Script strategy on gold futures, GC or MGC, as often as it likes and with no card.

On a chart under an hour it tests the newest 30 days, and on 1-hour and daily charts all two years of gold's bars from 4 November 2024. Commission is $2.50 a contract each side unless the script declares its own commission per contract, and market and stop orders pay a tick of slippage. For $39 paid once, Prop Ready opens all two years of 1-minute bars on a computer for 30 days.

One strategy on gold, two dated periods

The ICT Silver Bullet on micro gold, with four changes made from its losing trades, made $3,005 on one contract from 4 November 2024 to 23 February 2026 over 82 trades, with a profit factor of 1.77. Run once on the 8 months after, 24 February 2026 to 2 November 2026, with its settings unchanged, it made $763 over 43 trades with a profit factor of 1.21. The textbook version lost $555 and then $822.

The weak side is in the same 8 months. Two of them carried it: April made $1,454 and June $912. Without its single best trade those months made $146, and their worst drawdown, $1,392, was bigger than what they made. The rules, the four changes and the script are in the optimised ICT Silver Bullet on gold.

What it runs on

Gold futures' 1-minute bars, two years deep from 4 November 2024, every minute of COMEX's day from the 18:00 New York open, joined into one continuous series the way GC1! is on TradingView. Micro gold trades at the same prices, so MGC runs on the same bars at $10 a point against GC's $100. The data is eight hours behind real time, so the page is for testing a strategy, not for trading it live. Futures need a signed-in account.

The same tester runs NQ, ES, crude oil, silver, copper, platinum and palladium futures (micros included). The NQ, ES, crude oil, silver, copper and platinum and palladium futures backtesters work the same way. The micro futures backtester sets one full-size contract against the same size in micros.

Contracts, costs and size

CONTRACTA POINTA TICK (0.10)DEFAULT COMMISSION
GC · Gold$100$10$2.50 a contract each side
MGC · Micro gold$10$1$2.50 a contract each side

A round trip with market orders pays $5 of commission and a tick of slippage each way: $25 on GC and $7 on MGC. The commission your script declares per contract replaces the default. Gold's price and daily range grew through 2025, and one contract's risk grew with them: in the Silver Bullet study the average losing trade on one MGC contract grew from $98 in the first 16 months to $140 in the 8 months after. A script that sizes by a percentage of equity on a small account can ask for less than one GC contract and make no trades. Size in contracts (default_qty_type = strategy.fixed), or set initial_capital to the account the strategy is for.

Run your gold script free

Paste it in the box at the top. It opens in the Alpha Charts terminal on MGC 5-minute, with every trade on the chart and the last third of the data judged on its own.

Free account

No card, no time limit.

$0
  • Unlimited backtests, costs charged, with the out-of-sample check
  • The Pine script audit and the full trade list
  • The Pine Copilot writes and edits your script
  • 50 AI credits a day
The Alpha Charts terminal a free account opens: the Pine Copilot beside the chart

Prop Ready opens all two years of futures minute bars on a computer for $39 paid once and has 7 days money back. Pro adds the optimiser and every AI tool and has 30 days money back. See the plans

Questions

Is this gold futures backtester free?

Yes. A free account backtests GC or MGC as often as you like, with no card: Run opens your script in the Alpha Charts terminal on the Free plan. On a chart under an hour it tests the newest 30 days, and on 1-hour and daily charts all two years. Prop Ready opens all two years of minute bars on a computer with the rules check and 100 AI builds every 30 days. It costs $39 once for 30 days and has 7 days money back. Pro at $99.99 a month adds the optimiser and has 30 days money back.

Is it gold futures data or XAUUSD?

Gold futures. GC and MGC trade on COMEX, and their bars here are joined into one continuous series the way GC1! is on TradingView. XAUUSD is spot gold, quoted by brokers and CFD providers. Futures trade above or below spot by an amount that changes over time, move to a new contract every few months and keep COMEX's hours, so the same rule gives different prices on each. Test it on the market you trade.

GC or MGC: which does it run?

Whichever your script names: GC at $100 a point and MGC at $10 a point, both in 0.10 ticks, so a tick is $10 on GC and $1 on MGC. A script that names either opens on it when you run it, and both are in the symbol menu.

How are commission and slippage charged?

$2.50 a contract on each side by default, or the commission your script declares per contract (commission_type = strategy.commission.cash_per_contract). Market and stop orders pay one tick of slippage unless the script sets its own. A round trip with market orders costs $25 on GC and $7 on MGC.

How much gold history does a run use?

Two years of 1-minute bars, from 4 November 2024. A free account tests the newest 30 days of a chart under an hour and all two years of 1-hour and daily charts. Prop Ready and Pro test all two years on a computer. A phone runs the newest 20,000 bars.

Can I test a prop firm strategy on gold?

Yes, with your own numbers in the script: the account size, the contracts, the daily loss limit and the drawdown. The rules check replays the backtest's trades against your target, daily loss and drawdown and shows where each run ended. It stores no firm's rules and promises no result, and Alpha Charts is not a prop firm.

Is a backtest here a prediction?

No. It is what the script's rules would have done on past gold futures data with costs charged. Live fills, news and your own execution differ, so read it as a test of the rules, not a forecast.

GC and MGC are COMEX futures contracts of CME Group; GC1! is TradingView's name for the continuous contract. Alpha Charts is software for testing trading scripts, is not affiliated with CME Group or TradingView and gives no investment advice. A backtest shows what rules would have done on past data, not what they will do. The methodology is in Data and methodology. Updated 28 November 2026.

Free gold futures backtesterFree account, no cardPaste your script