TITVN logo TITVN
Chart Backtest Bot LabPRO
TITVN PRO AUTOMATION

Build, backtest and run bots with Pro.

Automated strategies are reserved for paid plans. Manual charting, paper trading and manual replay remain free.

Bot backtestingPaste custom code and test exact historical ranges.
Live executionRun strategies with paper trading or a connected broker.
Always-on runtimeCloud bots continue when the browser is closed.
View Pro plans
Billing is not active in this preview. You will not be charged.

Setup — configure once, then load data

10x
Quick range
Quick leverage
Your replayBTC/USDT · 1 hour · 30 days · $10,000 · 10x
~720 candles
—
IndicatorsAdd studies directly to the replay chart
Runs locally in an isolated worker. Return a numeric value for every candle. Available: ctx.bar, ctx.bars, ctx.index, ctx.sma(period), ctx.ema(period), ctx.highest(period), ctx.lowest(period), ctx.atr(period).
$10,000
$10,000
—
$0
0%
0
0%
—
Replay trade terminalPlace and manage simulated orders
Position calculatorAdd a stop loss to calculate risk-based size.
—
—
—
—
10x
—
Tip: use the Long/Short position tools in the drawing toolbar to draw entry, SL and TP directly on the chart, then press Execute.

Trade journal

#SideQtyLevEntryExitPnLPnL%RNote
No trades yet.

Bot strategy — backtest it or run it on the live market

How it works — your bot is a JavaScript function called once per candle. It's simple:
function onBar(ctx) {
  // ctx.bar        -> current candle {time, open, high, low, close, volume}
  // ctx.bars       -> all candles up to now (array)
  // ctx.position   -> current open position or null
  // ctx.balance    -> current balance
  // ctx.sma(20), ctx.ema(9), ctx.rsi(14) -> indicator values (current)
  // ctx.buy({slPct: 1, tpPct: 2, riskPct: 1})   -> open long
  // ctx.sell({sl: 64000, tp: 61000, qty: 0.1})  -> open short
  // ctx.close()    -> close position at current price
}
SL/TP can be given as a price (sl, tp) or percent from entry (slPct, tpPct). Position size: qty (units), cash ($ position size) or riskPct (% of balance risked to SL).
Session-only live runner. Keep this page open. Nothing is restored after refresh. Use Broker API in the header to connect Binance Futures, and test in Demo before choosing LIVE.
STOPPED Not started
No bot position is open.
Live activity
Signals and executions will appear here.

Results

—
—
—
—
—
—
#SideQtyEntry timeEntryExitPnLPnL%Note
Run a backtest to see trades.

Market sessions (status follows replay time)

Current backtest sessions (cleared when this page closes or refreshes)

NameSymbolTFStart balanceFinal balanceDate
Loading…