Bar replay

Step through history one bar at a time.

Replay a chart run bar by bar to see exactly when your script reacts, and stop on any bar to ask the AI what happened there.

One bar at a time

Watch your script the way it runs live.

A finished chart shows every mark at once, which hides the question that matters most: what did the script know when it drew this? Replay hides everything after the current bar and moves forward one bar at a time, or plays at the speed you choose.

The readout under the chart tells you what fired on the current bar, so you can line up a trigger with the candle that produced it and see whether it appeared when you expected.

  • Step, play, pause and scrub through the run
  • A readout of what fired on each bar
Ask about a bar

Stop anywhere and ask the AI why.

When a trigger fires somewhere it should not, or stays quiet where you expected it, stop on that bar and ask. The AI answers with your script and that bar in front of it, so the explanation is about your code on that candle, not a general description of the indicator.

You can also ask it to check whether the script looks ahead into bars it should not be able to see yet, the most common reason a script looks better on a finished chart than it does live.

Same chart

Replay any run on any market.

Replay works on any chart run: 308 crypto spot markets across 14 timeframes, up to 5,000 bars. Switch the market or timeframe, run again, and replay the new run.

Questions

What does bar replay do?

It runs your script on the chart and then hides every bar after the current one. You move forward one bar at a time, or play it at a speed you choose, and see exactly what the script drew and which triggers fired as each bar closed.

Can I ask the AI about a specific bar?

Yes. Stop on any bar and ask why the script did what it did there, for example why a trigger fired or why it did not. The AI answers with the script and that bar in front of it.

Does replay show whether my script repaints?

It helps you find out. Watching a script bar by bar shows when a mark appears, and you can ask PineScripter to check whether the script looks ahead into bars it should not see yet.

Which markets and timeframes can I replay?

Any run on the chart: 308 crypto spot markets from Binance public data across 14 timeframes, from 1 minute to 1 week, with up to 5,000 bars per run.

Replay your own script

Run a script on the chart, open replay, and step through it bar by bar.

Open the workspace

PineScripter is a coding and analysis tool for Pine Script. It does not provide financial advice, does not place trades, and makes no prediction about future prices. Charts, analysis and simulations describe the past. Showcases on this page use example data.