Strategy Optimizer for TradingView — Pine Script Backtests



Overview
Optimize your TradingView strategy with real backtests: grid, random & Bayesian search, walk-forward validation, AI builder.
The strategy optimizer that runs REAL TradingView backtests — now paired with an AI that writes the strategies for you. A strategy is only as good as its settings. The same idea can win with one set of parameters and lose with another. This extension automates the tedious part of Pine Script strategy development: it drives your own TradingView chart, tests every parameter combination with real backtests (including Deep Backtesting), and shows you which configuration actually performs — while respecting your risk limits. ━━ WHAT IT DOES ━━ • Reads your strategy's inputs straight from the chart — no manual copying. • Runs real backtests for every parameter combination (standard or Deep Backtesting). The numbers you see are the numbers TradingView reports — never a simulation. • Chains optimization steps: each step fixes its winner and the next one continues from there (coordinate descent). • Picks the best config by your policy: hard constraints (max drawdown, min trades…) + your objective (max PnL, weighted score, or priority+tolerance). ━━ SEARCH METHODS ━━ • Brute force (full grid), Greedy (fast, field-by-field), Random, Simulated Annealing, and Bayesian optimization (TPE) tuned for slow backtests. • Auto-refine: start from your current config and search its neighborhood — no manual ranges needed. ━━ WALK-FORWARD VALIDATION (anti-overfitting) ━━ • Re-run your top configs across 1-5 year windows in a config × window matrix of real backtests. • Crown the winner by combined Net + Drawdown + Profit Factor, average window, or worst window — not by one lucky period. • A plateau-robustness metric rewards stable parameter zones over isolated peaks, and a reliability guard flags impossible results before they mislead you. ━━ RESULTS EXPLORER ━━ • Every tested config in a sortable, filterable table — each optimized field as its own column. • Per-column filters ("> 70", "< 600", "10-20", natural language). • Risk/return scatter and a 2D heatmap — click a point to jump to its row. • Tick any number of configs to compare side by side, export CSV/XLSX, and apply any config back to your strategy in one click. • Built for hour-long runs: checkpointing, resume, and recovery if a chart crashes mid-run. ━━ NEW: AI STRATEGY BUILDER (TV Optimizer Studio) ━━ • Don't have a strategy yet? Describe your idea in plain English at https://app.optimizertrading.workers.dev and the AI writes complete Pine Script v6 — every parameter exposed as an input, ready to optimize here. • Also generates MQL5 (MetaTrader 5), NinjaScript (NinjaTrader 8) and Python, with a visual flow graph of your strategy's logic and a script library of working examples. • One account unlocks both: create it with Google, paste your access code in the extension, done. Free 7-day trial, no card required. ━━ FREE vs PAID ━━ • Free: use the full extension with a built-in sample strategy, plus the AI builder's free trial on the web. • Pro / Elite plans: load and optimize YOUR own TradingView strategies, full AI capacity, language conversion and the complete script library. ━━ PRIVACY ━━ • The extension goes online only to validate your access code, send an anonymous usage ping (random ID), and — if you sign in with Google — store your email to link the license to your account. Winning configs are shared only if you explicitly opt in. No ads, no third-party tracking, no financial data, no credentials or passwords of any kind. ━━ LANGUAGES ━━ • Interface in English and Spanish. Not affiliated with TradingView. Not financial advice — backtests are hypothetical and do not guarantee future results.
0 out of 5No ratings
Details
- Version0.4.8
- UpdatedAugust 15, 2026
- FeaturesOffers in-app purchases
- Offered byKloomStudio
- Size374KiB
- LanguagesEnglish
- DeveloperMatías David Ortega
San Martín 1560 Quilmes, Buenos Aires 1878 AREmail
kloomstudio@zohomail.comPhone
+54 11 6895-3970 - TraderThis developer has identified itself as a trader per the definition from the European Union and committed to only offer products or services that comply with EU laws.
Privacy
Strategy Optimizer for TradingView — Pine Script Backtests has disclosed the following information regarding the collection and usage of your data. More detailed information can be found in the developer's privacy policy.
Strategy Optimizer for TradingView — Pine Script Backtests handles the following:
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes