6. Backtesting Your Algos

Run backtests on TradingView.

TradingView's built-in Strategy Tester lets you backtest any GFREQ algo against historical data. Backtesting helps you understand how the strategy performed in the past, though it does not guarantee future results.

Running a Backtest

01

Add the Strategy to a Chart

Apply your GFREQ algo to the correct instrument and timeframe (see Applying Algos). The strategy immediately runs against all visible historical data.

02

Open the Strategy Tester

Click the Strategy Tester tab at the bottom of the TradingView chart. This panel shows backtest results, equity curve, and trade list.

03

Review the Tabs

The Strategy Tester has three main tabs: Overview (summary stats), Performance Summary (detailed metrics), and List of Trades (individual trade log).

Adjusting Backtest Parameters

Click the gear icon on the strategy to adjust backtesting parameters:

  • Initial Capital — starting account balance for the simulation
  • Order Size — number of contracts per trade
  • Commission — per-trade cost to account for realistic slippage

Important

Backtesting uses historical data and cannot account for slippage, partial fills, or market impact. Past performance does not guarantee future results. Always validate with paper trading before committing real capital.