Loading your workbench
QTrader โ Pine Script and Python strategy workbench
Write a strategy in Python or a supported subset of Pine Script. Backtest it over historical candles and inspect individual trades, drawdown and fees.
fast = ta.sma(close, 50)
slow = ta.sma(close, 200)
if ta.crossover(fast, slow)
strategy.entry("Long", strategy.long)
if ta.crossunder(fast, slow)
strategy.close("Long")
Start in the browser without signing up. Trading robots require an account, a configured TradeAdapter connection and the appropriate broker access. Historical results do not predict future returns.
Supported Pine ScriptPython strategy contractCurrent plans and limitsAI experimentBacktest a Pine strategyWrite a Python strategySet up robot deliveryConfigure an LLM robotCommunity robots
The interactive workbench needs JavaScript. Reload this page if interactive controls could not load.