OOPT — Pine Script Strategy Optimizer for TradingView
OOPT optimizes any TradingView Pine Script strategy on real market data. Paste your
strategy, choose which inputs to optimize, and OOPT runs thousands of real, deterministic
backtests in parallel to find the parameter settings that perform best by net profit, win
rate, profit factor and drawdown — then you copy the winning settings straight back into
TradingView.
How to optimize a TradingView Pine Script strategy
- Paste your Pine Script (v4 or v5) strategy.
- Pick the inputs to optimize and a symbol, timeframe and date range.
- Run — OOPT auto-tunes step sizes and searches coarse-to-fine.
- Copy the best-ranked parameters back into TradingView.
Frequently asked questions
Does OOPT actually run my strategy, or guess?
It runs it. OOPT parses your Pine Script and executes it bar-by-bar on real market data
with a faithful strategy simulator (longs and shorts, commissions, slippage, position
sizing) — no AI guessing at results.
Which markets and timeframes are supported?
Crypto via real exchange data and CME futures, from 1-minute to weekly timeframes,
including multi-timeframe strategies that use request.security().
Is there a free plan?
Yes — the free plan includes monthly compute credits so you can optimize at no cost.
Pricing · Sign in or sign up