Foresight runs your TradingView .pine strategies as native code on your own machine — fast enough to drag a parameter and watch the results update. No browser, no subscription, no uploading your strategies to the cloud.
A backtester you can't trust is a random-number generator with a UI. Foresight's core promise is simple: same script, same data — same trades. We don't claim it; we measure it, on every build, and we publish the boundaries instead of burying them.
Foresight isn't a browser interpreter. It compiles your strategy to native machine code and runs it on your CPU — which is where the instant, drag-to-tune re-runs come from. Speed isn't a luxury feature: when a full backtest costs milliseconds, you can afford to leave the rigorous stuff — walk-forward, robustness checks, honest fills — switched on.
Most backtesters are built to flatter you — optimistic fills, one lucky chart, a number that goes up. Foresight is built the other way: its job is to kill fragile edges before your money does. Everything below exists to answer one question: would this survive contact with a real broker?
Foresight exposes its engine over MCP (Model Context Protocol) and a matching Python client — one
shared command core. Point Claude (or any MCP client) at it and the agent can run backtests, sweep
parameters, run the optimizer, read equity curves and trades, and edit your script directly. Prefer
code? pip install foresight and drive the same engine from Python — OHLCV and result
series move as numpy arrays, against the live GUI or fully headless.
We audit a frozen universe of 29,459 community-published Pine scripts: 21,686 run out of the box, and every one that doesn't hits a declared, documented boundary with a clear error — on the current build there are zero unexplained failures. Our curated regression corpus (6,197 strategies & indicators, incl. LuxAlgo) passes at 98.0%. On the 3,039-case trading-fidelity suite, every scored case matches TradingView's trade count within tolerance (2,023 scored, 0 errors); 33% of cases are excluded from scoring for declared reasons (missing golden exports, paid data entitlements) — we publish that rather than bury it. Hit a script that doesn't work? Send it — fixing those is the whole game.
var / varip persistence, series history []● SUPPORTEDta.*)● SUPPORTEDrequest.security — incl. ta.* & computed expressions● SUPPORTEDrequest.security (other tickers, e.g. VIX) — needs that symbol's data loaded● SUPPORTEDrequest.security_lower_tf) — served from canonical 1-minute data● SUPPORTEDimport Author/Lib/N) — vendored or local libraries● SUPPORTEDrequest.financial / economic data○ NOT YETForesight is free to use during the public beta — everything unlocked. Paid plans are coming at launch (we're still finalizing them), and beta testers will get founding-member pricing.
PRICING AT LAUNCH — TO BE ANNOUNCED
Create a free beta account, confirm your email, and download the Windows installer. Beta builds refresh regularly — you'll always grab the latest.