Opentern

Meet Opentern,
your markets, on your machine

TradingView’s charts, indicators and Strategy Report, with the Pine Script you already know, in a native app that opens in a blink. No account, and nothing leaves your computer.

Free and open source · Linux, macOS and Windows

Opentern in Opentern Light: a BTCUSDT chart with Bollinger Bands, RSI, a moving-average strategy and the watchlist Opentern in Tern Dark: a BTCUSDT chart with Bollinger Bands, RSI, a moving-average strategy and the watchlist
Native, written in RustOpens in a blink, idles at 0% CPU
Laid out like TradingViewNothing new to learn
Pine Script®-compatiblePlus Python, Luau, JS and TS
Private, no accountNo telemetry, keys in your keychain

Take a quick look around

A chart with indicators, a strategy and the watchlist The Script Editor with a Pine strategy The Strategy Report's overview The Strategy Lab's optimizer heatmap Claude beside the chart Four charts in one layout The screener A custom Nifty Auto index: its own numbers, then every member's Ten years of monthly returns for RELIANCE Settings, with the themes

Install in one line

Paste this into a terminal. It downloads the latest release, checks it, and puts Opentern in your apps.

$ curl -fsSL https://raw.githubusercontent.com/ahaan-shah/opentern/main/install.sh | sh

Paste this in your terminal

Portable archives, ARM builds and the macOS disk image are on the latest release.

Backtests that match, to the cent

TradingView’s fill rules, metrics and Strategy Report, checked against TradingView’s own numbers. Then optimize, walk it forward, or stress it with Monte Carlo.

The Strategy Report
The Strategy Lab's optimizer heatmap

An agent beside the chart

Ask Claude Code or Codex to write a strategy, explain an indicator or read your backtest. It sees the chart and works in your scripts folder, with your own sign-in.

Claude beside the chart, after building a strategy

Make it yours

Sixteen themes and nine fonts, crossfading as you switch.

Opentern in the Tern Dark theme
Opentern in the Opentern Light theme
Opentern in the Tokyo Night theme
Opentern in the Latte theme
Opentern in the Gruvbox theme
Opentern in the Rosé Pine Dawn theme
Opentern in the Nord theme
Opentern in the Flexoki theme
Opentern in the Mocha theme
Opentern in the Daylight theme
Opentern in the Kanagawa theme
Opentern in the Everforest theme
Opentern in the Midnight theme

What traders are definitely saying

“My backtest matched TradingView to the cent. My actual trading still doesn’t match my backtest, but that’s on me.”
Priya K.Overfit, but honest
“It opened before I finished saying ‘let me just pull up the chart’. I had to find a new filler phrase.”
Marcus D.Day trader, fast talker
“I asked the agent for ‘buy the dip, but smarter’. It wrote the strategy, put it on my chart and showed me the backtest before my coffee cooled.”
Jonah P.Coffee still warm
“I practised on paper until my strategy finally clicked. Now my real account and I are on very good terms.”
Ravi S.Graduated from paper
“I ran the optimizer over 50,000 combinations. The best one was the default settings. I’ve never felt so seen.”
Elena M.Back to 14, 70, 30
“No account, no sign-in, no telemetry. For the first time, my charts don’t know more about me than my bank.”
Theo B.Privacy enjoyer

Testimonials are made up. The app is real. Nothing here is financial advice.

Standing on good shoulders

The window is egui, the scripts run on Opentern’s own Pine engine, Luau and QuickJS, and the market data comes from the exchanges and providers you choose. TradingView’s open-source ta library ships with it under the MPL 2.0.

Pine Script® and TradingView® are trademarks of TradingView, Inc. Claude is a trademark of Anthropic, and OpenAI and Codex are trademarks of OpenAI. Opentern is an independent project, not affiliated with or endorsed by any of them.

Made byAhaan Shahgithub.com/ahaan-shah