Zeal TerminalIndicatorsBlogOpen the chart

Stop Waiting on Cloud Compile Queues.Run Pine Script Locally.

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.

Open the chart

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 GitHub

The chart repaints on every change, compiled by an isolated Web Worker on your own machine. Sample data, drawn by the script above.

  • Runs Pine Script v1–v6 unchanged
  • Unlimited indicators
  • No ads
  • Free
  • Strategy tester with commission and slippage
  • Checked against TradingView's own output
  • Open-source engine (OpenPineScript)

What it compiles

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.

v1–v6parsed and executed by one engine

Language versions

Pine v1 to v6parsed and executed

Standard libraryv1 to v6

Reference corpus

Scripts validated~600+

Runper build

Execution

Where it runsClient-side

Server roundtrips0

Client-sidezero roundtrips

Why it runs locally

Execution happens on your machine.

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.

Escape the compute queue.

Stop waiting for remote servers to allocate execution time when you backtest Pine Script. Nothing is scheduled, because nothing leaves the tab.

Auditable GPL-3 math.

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.

Ground rules

Strategy tester · how a fill is priced
OrderFillsAtCharged
Market entryon the bar it is calledmoved by slippagecommission charged
Limit entrywhen price reaches the limitthe limit price or bettercommission charged
Stop entrywhen price crosses the stopmoved by slippagecommission charged
Partial exitthe quantity namedits own exit priceits share of the entry fee
runtime/v1/stdlib/strategy.ts · GPL-3
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)
  : paidOnEntry

That 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.

Questions

Is there a free TradingView alternative for Pine Script?

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.

Can I run Pine Script v4 (or v1 to v3) scripts outside 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.

Are there indicator limits?

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.

How do I get help with a script?

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.

Stuck on a script?

Join the Discord. I wrote OpenPineScript, the engine behind Zeal Terminal, and I help fix scripts live in a voice channel.

Join the Discord

Open the
chart.

No sign-up. Every script executes locally, on your own machine.

First run · what you will be asked

You’re set. Let’s draw something.

Usage analytics, so the workspace can be improved.
Occasional email updates. Untick to opt out.
The last ten sign-in addresses are kept, so a stolen account can be spotted.
Open the chart