Backtest forex and gold on TradeLocker
TradeLocker is the easiest way to backtest forex, gold and indices with Rechart for free: open a free demo account with a broker that offers TradeLocker, load an instrument and press the Rechart icon. You trade the replay in lots, with P&L in dollars and a commission per lot, the way a forex account works.

Why TradeLocker for forex
Crypto exchanges list forex and gold as perpetual contracts with short histories. TradeLocker is a broker platform, so it carries the instruments themselves, with the history the broker keeps. On the demo account we measured, EURUSD, gold, silver and US oil went back to January 2024 on every timeframe from 1 minute up. Your broker’s list and history may differ.
| What Rechart does on TradeLocker | Why it matters |
|---|---|
| Sizes forex, metals and oil in lots | Risk 1% and Rechart works out the lot size from your stop distance |
| Shows P&L in dollars | Pairs quoted in another currency, such as USDJPY, are converted |
| Skips weekend closes | Friday’s close steps straight to the next open, no empty bars |
| Hides the live bid and ask lines | Today’s price never shows up on a 2024 replay |
| Builds 3-minute candles from 1-minute ones | Every timeframe on the chart’s menu works in the replay |
Start a TradeLocker backtest
- Open a free demo account with a broker that offers TradeLocker, and log in at app.tradelocker.com.
- Load the instrument you want, for example EURUSD, XAUUSD or US30.
- Click the Rechart icon or press Alt+Shift+B, choose Free practice or Prop challenge, and click your start candle.
From Start a backtest, pick a forex pair, gold or an index and choose TradeLocker. Rechart opens TradeLocker, types the market into its search box, picks the exact match and starts the session. If your broker doesn’t list that market, Rechart says so; open the market yourself and start from the Rechart panel.
Your demo account is never traded. Rechart simulates every order on the chart, and TradeLocker’s own positions and balance stay untouched.
Commissions on TradeLocker
Brokers on TradeLocker charge different commissions, so Rechart starts from typical rates per instrument class. Change them to your broker’s when you create the session.
| Instrument | Default commission |
|---|---|
| Forex and metals | $3.50 per lot per side ($7 round turn), like a typical raw-spread account |
| Oil and indices | None; most brokers charge only the spread |
| Stock CFDs | 0.01% per side |
| Crypto CFDs | 0.05% per side |
Spread and slippage are not simulated. On instruments where the broker earns only through the spread, results come out slightly better than live trading would.
Prop challenge practice on forex
Many traders take prop challenges on forex and gold, and TradeLocker gives you those instruments with broker-style sizing. In the Classic plans, forex costs $2.50 per lot per side, leverage is 1:100 on major pairs and 1:50 on metals, and daily loss, max loss and the target are checked on every candle. The prop challenge simulator guide explains each rule.
A note on demo data
Demo feeds sometimes contain a broken candle, such as a low of zero on gold. A candle like that would stop out every long on the chart. Rechart pulls an impossible low or high back to the candle’s open or close, so one bad tick doesn’t decide your test.
Questions
Do I need a paid TradeLocker account?
No. A free demo account with a broker that offers TradeLocker is enough. Rechart replays the chart and never trades the account.
Are positions sized in lots?
Yes. Forex, metals and oil are sized in lots, from a risk percentage or a fixed size, and P&L is shown in dollars, converted for pairs such as USDJPY.
Which commission does Rechart use on TradeLocker?
By default $3.50 per lot per side on forex and metals, none on oil and indices, 0.01% per side on stocks and 0.05% on crypto. Change them to your broker’s rates per session.
Is TradeLocker affiliated with Rechart?
No. Rechart is an independent extension that works on TradeLocker’s chart because it is built on TradingView’s charting library.
Try it on your next chart
Rechart is free in the Chrome Web Store and works in Chrome, Brave and Edge. No account, no subscription.