A free TradingView alternative for Pine Script. Zeal Terminal is an independent Pine Script backtester and workspace that runs in your browser: your scripts run directly inside the tab. No server roundtrips, no compile lag, and no remote compute to queue for.
Free, and no account needed. Every script runs locally, in a Web Worker on your own machine, not on a compute cluster you wait in line for.
★ Star the open-source engine on GitHubThe chart repaints on every change, compiled by an isolated Web Worker on your own machine. Sample data, drawn by the script above.
One engine reads every Pine version the language has had, and the reference corpus is validated against it. The figures beside this are what that covers.
Pine v1 to v6parsed and executed
Standard libraryv1 to v6
Scripts validated~600+
Runper build
Where it runsClient-side
Server roundtrips0
Client-sidezero roundtrips
Cloud platforms inherently process your proprietary logic on remote compute. Zeal Terminal executes purely locally, inside a Web Worker in your own browser: the parser, the standard library and your script all run in the tab you are reading this in.
Stop waiting for remote servers to allocate execution time when you backtest Pine Script. Nothing is scheduled, because nothing leaves the tab.
Black-box platforms hide their fill logic. The engine is free and open source, so you can verify exactly how slippage and commissions are calculated.
| Order | Fills | At | Charged |
|---|---|---|---|
| Market entry | on the bar it is called | moved by slippage | commission charged |
| Limit entry | when price reaches the limit | the limit price or better | commission charged |
| Stop entry | when price crosses the stop | moved by slippage | commission charged |
| Partial exit | the quantity named | its own exit price | its share of the entry fee |
const exitFee = commissionFor(ctx, t.exitPrice, t.qty)
const held = Math.abs(ctx.position.size) || t.qty
const paidOnEntry = ctx.position.entryCommission ?? 0
const entryShare = held > 0
? paidOnEntry * Math.min(1, t.qty / held)
: paidOnEntryThat is the rule in the row above, as it is written in the engine: a partial exit is charged its own commission plus the share of the entry fee matching the quantity it closes. Nothing about a backtest here has to be taken on trust.
Zeal Terminal is an independent, clean-room implementation. It is not affiliated with, associated with, authorised by, endorsed by, sponsored by, or in any way officially connected to TradingView, Inc. or any of its subsidiaries.
TradingView® and Pine Script® are trademarks of TradingView, Inc. They are used here strictly to describe what this software is compatible with, a descriptive use that claims no rights in the marks themselves.
The language implementation was built from the publicly published language documentation. It is not TradingView's code and it will not always agree with TradingView's results. Check anything that matters before you act on it.
This is a tool for research and backtesting simulation. Nothing here is financial advice or a recommendation to trade, and past performance does not guarantee future results. A backtest describes the past, which is the one period you cannot trade.
The workspace and its interface are proprietary. The language engine underneath is built on OpenPineScript, a Pine Script engine published under the GPL-3, so the arithmetic behind a backtest can be read rather than taken on trust.
Yes. Zeal Terminal is free and needs no account. It runs Pine Script v1 to v6 in your browser and has a strategy tester with commission and slippage. It is an independent project, not affiliated with TradingView, Inc. TradingView does some things better, such as market data and alerts, and the comparison page says which. Compare Zeal Terminal and TradingView.
Yes. Paste the script into the editor and press Apply. The engine reads every Pine Script version from v1 to v6, so an old script does not need to be upgraded first. If a script uses something the engine does not support, the editor shows the error on its line.
No. Add as many indicators and scripts to a chart as your browser can handle. There is no paid tier that raises a cap, and there are no ads.
Ask in the Discord. I wrote OpenPineScript, the engine behind Zeal Terminal, and I help fix scripts there, including live debugging in a voice channel. You can also press Report this script beside an error in the editor. Join the Discord.
Join the Discord. I wrote OpenPineScript, the engine behind Zeal Terminal, and I help fix scripts live in a voice channel.
No sign-up. Every script executes locally, on your own machine.
You’re set. Let’s draw something.