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.
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.
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 run a corpus of 4,200+ community-published Pine scripts on every build — 89% run out of the box (97% of those that only use features we support), and the rest fail with a clear compile error. On the strategies we have TradingView golden exports for, trade counts match TradingView on ~94% of ~950 tested cases, with ~90% matching entry, exit and direction trade-by-trade. Hit a script that doesn't work? Send it — fixing those is the whole game.
var / varip persistence, series history []● SUPPORTEDta.*)● SUPPORTEDrequest.security, same symbol — incl. ta.* & computed expressions● SUPPORTEDrequest.security (other tickers, e.g. VIX)○ NOT YETrequest.security_lower_tf)○ NOT YETimport Author/Lib/N)○ NOT YETrequest.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.