What is Bar Replay on TradingView?

On a normal chart the past is fully visible, so it is easy to find a setup that worked. Bar Replay removes that advantage: the chart ends at the bar you choose, and new bars appear only as you advance. You see the market as you would have seen it live, one bar at a time.

Your drawings and indicators work on the replayed bars, so you can practice on the exact chart you trade. Replay is also a simple way to check whether an indicator repaints. It is a practice tool, not a copy of live trading: spreads, slippage and the pressure of real money are missing.

How to start Bar Replay: choose a start, then play or step

The steps at the time of writing; the drawing at the top shows where each control sits.

  1. Open the symbol and timeframe you want to practice, with your usual indicators and chart settings.
  2. Click Bar Replay in the top toolbar; its icon looks like a rewind button.
  3. Move over the chart: a vertical line with a scissors icon follows the cursor. Click the bar to start from. The replay panel can also pick a date or a random bar.
  4. Everything after that bar disappears. Press Forward to add one bar at a time, or Play to run the bars at the speed you set.
  5. Jump to real-time returns to today’s chart; clicking Bar Replay again, or the X, leaves replay.
Forward (step)
Adds exactly one bar to the replay. Shift + right arrow does the same from the keyboard.
Play and speed
Runs the bars automatically at the speed you choose. Shift + down arrow starts or pauses playback.

How to practice a trading strategy without hindsight

Replay only helps if you decide before you see the next bar. Write your rules first, as in a trading plan, then follow a fixed routine:

  1. Pick a random start, or one you have not studied, so you do not remember what came next.
  2. At each closed bar, ask whether your setup is there. If not, step.
  3. When it is, draw the entry, stop and target and write the size before advancing. The Long Position tool works well for this.
  4. Step until the stop or the target is hit, then write the result in R.
  5. Repeat across different dates and conditions, including choppy ones.

Turn your phone sideways to read the drawing. Tap to close.

Two hand-drawn panels. Left, at the cut: candles end at a blue line, the bars to the right are hidden behind a shaded curtain with a question mark, and the entry, a red stop and a green target are drawn before stepping. Right, after stepping forward: the curtain has moved, new candles climb to the target and a tag reads log +2R.

Trading in replay and logging replay trades

Hypothetical: on a 5-minute chart you plan an opening range breakout above $100.40 with a stop at $99.90 and a target at $101.40, a 1:2 risk/reward ratio. You step forward, the target is hit, and you log +2R. The next session the breakout fails and you log −1R.

TradingView also offers replay trading: a separate panel for simulated orders on the replayed bars, with a starting balance and commission you set. It is separate from Paper Trading, whose orders, like broker orders, keep executing at live prices during replay. Per TradingView’s help pages, a replay trading session’s results exist only in that session and are not saved.

So keep your own log. Record each replay trade in your trading journal with the replayed date, setup, entry, stop, exit and result in R, in a tab separate from live trades. A few dozen replay trades of one setup are a first small sample to compare with live results: a rehearsal, not proof.

Bar Replay limits: plans, timeframes and data

Replay on daily and higher timeframes is available on every plan, including the free one. Intraday replay, and how far back it reaches, depends on your paid plan: at the time of writing, TradingView’s help pages list about six months of 1-minute history on Essential, more on Plus, and the full stored history on Premium and higher, with longer timeframes reaching further back. Plans change, so check the current plan comparison. Other limits:

  • Some chart types cannot be replayed, including Renko, Kagi, Point & Figure, Line Break and Range.
  • You cannot create new server-side alerts during replay, and existing alerts keep running on live data.
  • A few drawing tools, such as the fixed range volume profile, do not work in replay.
  • Fills are idealized: real spreads, slippage and gaps can make live results worse.

Bar Replay vs the Strategy Tester

The Strategy Tester, in the panel below the chart, runs a Pine Script strategy over the chart’s history and reports every trade and summary statistics in seconds. It tests rules exact enough to code; Bar Replay tests your judgment and discipline on rules you apply by eye. A tester report can look excellent because its rules were tuned to that same history, and a script that repaints can show signals that never appeared live. Replay is slower but shows each decision as you would have faced it. Many traders use both: code what can be coded, replay what cannot.

Turn your phone sideways to read the drawing. Tap to close.

A hand-drawn comparison table with two columns, Bar Replay and Strategy Tester, and four rows: who decides (you, bar by bar / the code), speed (slow, manual / all history in seconds), what it tests (your judgment and discipline / exact coded rules) and the trap (peeking ahead / rules tuned to the past). A note underneath reads past results do not predict future ones.