Noon Barbari
Registrati
Tutti gli articoli
tutorialPubblicato ·6 min di lettura

Trade replay chart with TP/SL boxes is live

The Run-a-test results page now embeds a TradingView chart that paints every trade as a TP/SL box pair — winners bold, losers faded — with indicators overlaid on the same candles.

In questa pagina

What's new

When you finish a Run-a-test, the results page now embeds a TradingView chart that replays every trade the backtest opened. Each trade renders as a take-profit zone and a stop-loss zone on the same candles the strategy actually saw, with entry and exit dots and a hover panel that surfaces the trade's P&L, duration, and the rule that fired it. The chart sits directly under the equity-curve and metrics panels — scroll down and you're in it.

The point of the replay is to short-circuit the question every honest backtester asks five minutes after a green equity curve: "yes, but where did the wins actually come from?" One look at the boxes tells you whether the strategy ran into TP cleanly or chopped through both zones on every trade.

How the boxes work

  • TP zone — green rectangle from the entry price to the take-profit price, spanning the duration of the trade.
  • SL zone — red rectangle from the entry price to the stop-loss price, same horizontal span.
  • Outcome-aware opacity — winners render at full opacity so they pop on the chart, losers fade back so they don't dominate. Scan a hundred trades and the win/loss balance is visible at a glance.
  • Entry dot at the open of the trade, exit dot at the close, colour-matched to which zone the price hit.
  • Hover a box for a tooltip with direction, size, P&L in quote currency, R multiple, and the entry/exit rule names.

For mixed long/short strategies, longs and shorts use the same TP-green / SL-red convention — TP is always green regardless of direction. The direction is in the tooltip and in the entry-dot shape (triangle up for long, triangle down for short).

Indicator overlay

The chart honours the indicator set your strategy used. Price-pane indicators — EMA, SMA, Bollinger Bands, SuperTrend, VWAP, Donchian channels, and the new SMC ports — paint as lines or bands on the candles themselves. Oscillators that don't share the price axis — RSI, MACD, Stochastic, ADX, ATR, VFI — get their own subpane below the price chart, time-synced to the same x-axis. Hover the cursor anywhere and both panes update together.

If your rule set references an indicator the chart doesn't know how to draw yet, the chart logs a one-line note in the corner and skips it rather than crashing. The TP/SL boxes still render; you're never blocked on a missing overlay.

How to use it

  1. Run a backtest from the Strategy Designer or the marketplace as usual.
  2. On the results page, scroll past the metrics and equity curve until you reach the Trade replay section.
  3. Pan and zoom the chart to find a trade cluster you want to inspect; hover the TP or SL box for the trade's details.
  4. Click "Open in TradingView" in the top-right corner of the chart to launch the same symbol, timeframe, and date range in TradingView's full editor for deeper external analysis.

Provalo con i tuoi dati

Ogni concetto visto sopra è implementato nella piattaforma. Backtest, walk-forward, paper trading, poi passa al live — stesso set di regole in ogni fase.

Letture correlate