Bentrix Docs
HomePricingDashboard

Replay

Play a laboratory's history back on a clock you control — pause it, step it tick by tick or candle by candle, speed it up, go back and try again.

01The idea

A laboratory workbench has its own clock. Everything you see — candles, quotes, indicators, your positions' profit — is exactly what had happened at that moment, and nothing after it. You decide when time moves: press Play and watch candles form, or step one tick at a time before a decision.

Because the replay is deterministic, the same history played the same way gives exactly the same fills. Going back and trading a moment again is what a laboratory is for.

02The controls

On a laboratory workbench the controls stand in the workbench's header: Play/Pause, step back and step forward, the speed, and a small clock — and beside them the clock line, Days and Modelling buttons. The full Replay controls also open as a card or a window of their own with everything below.

ControlDoes
Play / Pauseplays the selected workbench; Space from anywhere
Stepone tick back or forward; hold it to move continuously at the chosen speed
Candleone candle of the chart in front, back or forward
Speedhow fast it plays, against real time
Start / Endjump to the beginning or the end
Dayswhich stretch of history the workbench covers
Pricesthe tick model

Speed

Where
The workbench header or the Replay widget; ↑ and ↓
What it does
How fast the replay runs against real time.
Choices
×1, ×60, ×720, ×1800, ×3600
Default
×720
When to change it
×60 or ×720 to watch candles form; ×1 to feel the market's own pace before a news release; ×3600 to move through quiet days.

The speeds are ×1, ×60, ×720, ×1800 and ×3600. At ×720 an hour of market time passes in five seconds.

03The clock line

On a laboratory workbench every chart shows a thin line just after its newest candle, and a small handle under it on the time axis. Drag the handle to move the workbench's clock, one candle at a time in that chart's own timeframe — on a chart built by price, one brick, line, column or bar at a time. The line never crosses the candle still forming: it stands at that candle's edge, where the clock is.

  • Move the clock as you drag (on by default): the charts follow your hand, candle by candle.
  • Off: the clock stays where it is until you let go. A faint line shows where it will land, the candles it would undo are dimmed, and a label says how far it goes.
  • Going back past a trade: the clock stops at the last moment that undoes no deal, a label says what going further would undo, and letting go there asks you once — as every step back does.
  • When the clock is ahead of what a chart shows, the handle waits as a small tab at the chart's right edge.
  • Ahead of the line, a tick chart or a chart built by price plays the clock forward until the next candle, brick or bar forms. Bentrix never looks ahead in the recording to draw it.

The line and how it moves are switched in the workbench's ☰ menu, under Replay: Clock line, and Move the clock as you drag.

04Days and prices

Days

Where
The Replay widget
What it does
Which stretch of history the workbench covers. Free until the first trade; after that it only grows.
Choices
From and To, or grow by a week, a month, three months, or a month before
Default
the last month
When to change it
Grow it backward to add warm-up for long indicators, or forward to keep practising.

Prices (tick model)

Where
The Replay widget
What it does
How ticks are made where the recording has only candles.
Choices
Real ticks, Every tick — Bentrix (tick_volume), 1 minute OHLC, Open prices only
Default
per source — Real ticks where the recording has ticks
When to change it
Keep Real ticks whenever available; a coarser model makes a coarser test.

The four tick models — Real ticks, Every tick — Bentrix, 1 minute OHLC and Open prices only — are explained in tick models.

05The Replay window itself

Widget mode and layout

Where
The Replay widget's bar
What it does
Shows the widget as a floating card or a window, in full or folded to a pill.
Choices
Floating, Detached; Full, Compact
Default
Floating, Full

Its keys — ←/→ to step, ↑/↓ for speed, Page Up/Page Down for a candle — work while it has the keyboard; see keyboard shortcuts.

In this part

Bentrix 0.1.382Every number, name and default on these pages is read from the application itself.What is comingWhat changed