TV Optimizer — TradingView Strategy Optimizer for Pine Script



Overview
TradingView backtest optimizer for Pine Script: grid & Bayesian search, walk-forward, Monte Carlo. Real Strategy Tester backtests.
TV Optimizer is a TradingView strategy optimizer for Pine Script. It runs REAL Strategy Tester backtests on your own chart, tests every parameter combination, and finds robust settings so you stop changing inputs one by one. Instead of trusting one lucky backtest, you optimize parameters under risk constraints, validate the winners across several periods, and compare every tested configuration before anything is applied back to your strategy. 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 (when your TradingView plan includes it). 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. • Picks the best config by your policy: hard constraints (max drawdown, min trades…) plus your objective (max net profit, weighted score, or priority with tolerance). • Prop-firm presets: one click loads the max-drawdown (10% / 8% / 5%) and minimum-trades rules of a typical funded-account challenge as hard constraints. • Applies the chosen config back to your strategy only after you approve the exact input changes. OPTIMIZATION METHODS • Grid search (brute force), Greedy (field by field), Random, Simulated Annealing, and Bayesian optimization (TPE) tuned for slow backtests. • Auto-refine: start from your current settings and search their neighborhood, no ranges needed. WALK-FORWARD VALIDATION AND ROBUSTNESS • 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. • Plateau robustness rewards stable parameter zones over isolated peaks, and a reliability guard flags impossible results before they mislead you. • Anti-overfit verdict on every winner: ROBUST, DOUBTFUL or OVERFIT in plain words, with the reasons (deflated Sharpe, neighborhood stability, Monte Carlo loss probability, trade count). Included in the free plan. MONTE CARLO AND "WHY THIS CONFIG" • 1,000 resampled scenarios of the winning config: equity bands (5-95%), chance of finishing at a loss, and typical drawdown. Load your TradingView trade-list CSV and the simulation uses your real trades instead of a model. • A plain-language sensitivity read of every optimized parameter: which ones are decisive, which barely matter, and where the robust plateau is. ROLLING OUT-OF-SAMPLE (TRAIN / TEST THAT NEVER SEES THE FUTURE) • Train on one window, test on the dates right after it, roll forward, repeat. Quick mode (20 configs per window) or exhaustive. • You see the return, drawdown and profit factor on unseen dates for every window, so a config that only worked in-sample is exposed before you trade it. MARKET TEST • Run the winning config across up to 12 symbols × several timeframes in one matrix of real backtests. A strategy that only works on one pair and one timeframe is a curve fit, not an edge. VALIDATION LAB (WORKS ON ANY TRADINGVIEW TRADE CSV, NO OPTIMIZATION NEEDED) • Cost stress: reprice every closed trade with 1×, 2× and 3× extra commission and slippage and see at which cost level the edge dies. • Alpha decay: compares the earlier half of your trades with the recent half (average P&L per trade, win rate) to show whether the strategy is fading. • Permutation test: 5,000 sign-flip shuffles of your trade list give the p-value that your profit is luck rather than edge. • Portfolio: combine up to 8 strategies with weights and see the blended equity curve, drawdown and the correlation between strategies. • Validation report: one exportable HTML/JSON summary of walk-forward, Monte Carlo, rolling OOS and neighborhood robustness for the crowned config. WHY NOT ANY OTHER OPTIMIZER • Most optimizers stop at a ranked table of the best net profit. The best net profit is almost always the most overfit config. • This one runs TradingView's own backtester (no re-implemented engine whose numbers don't match), then puts the winner through walk-forward, rolling OOS, Monte Carlo, cost stress and market test before you apply it. • Chained multi-step search with a baseline floor, Bayesian TPE, auto-refine without ranges, plateau scoring, permutation test, prop-firm presets and an anti-overfit verdict are all in one tool. RESULTS EXPLORER • Every tested config in a sortable, filterable table, each optimized field as its own column. • Risk/return scatter and a 2D parameter heatmap. Click a point to jump to its row. • Compare configs side by side, export CSV/XLSX, apply any config back in one click. • Built for hour-long runs: checkpointing, resume, and recovery if the chart crashes mid-run. AI STRATEGY BUILDER (TV Optimizer Studio) • No strategy yet? Describe the idea in plain English at https://optimizer.kloomstudio.com.ar and the AI writes complete Pine Script v6 with every parameter exposed as an input, ready to optimize here. It also converts to MQL5, NinjaScript and Python. • One Google account unlocks both: sign in on the web, then sign in with the same account inside the extension. FREE AND PAID • Free: load YOUR own TradingView strategy and run one manual optimization step (grid or random) with real backtests. The free run already includes the anti-overfit verdict, the Monte Carlo card, the "why this config" sensitivity read, the results explorer, and the Validation Lab (cost stress, alpha decay, portfolio) on any trade CSV. • Pro / Elite subscription: everything automatic. Auto-refine, chained multi-step search, Bayesian, annealing and greedy, walk-forward validation, rolling out-of-sample, market test, plus full Studio access. PRIVACY • Your strategies and results never leave your computer. The extension only goes online to verify your subscription (Google sign-in) and to send anonymous usage events (random ID, which screens and features you use; never your strategies, results or identity). No ads, no third-party tracking. LANGUAGES • Interface in English and Spanish. TradingView is a trademark of its owner. TV Optimizer is an independent product, not affiliated with or endorsed by TradingView. Backtests are hypothetical and do not guarantee future results. Not financial advice. Support: kloomstudio@zohomail.com
0 out of 5No ratings
Details
- Version0.5.14
- UpdatedOctober 4, 2026
- FeaturesOffers in-app purchases
- Offered byKloomStudio
- Size519KiB
- 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
TV Optimizer — TradingView Strategy Optimizer for Pine Script 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.
TV Optimizer — TradingView Strategy Optimizer for Pine Script 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