Indicator Lab

Write custom indicators in a concise array formula language — price arrays H L O C V, data series like MKTCAP / DATE, overloaded operators and 37 built-in functions, computed by a WASM engine and rendered on TradingView lightweight-charts. Try H+L, MA(C,5) or a preset below.

Loading WASM engine…
Symbol
Interval
Loading WASM indicator engine…
Built-in indicators (click to load)
Formula editorCtrl+Enter to run
Syntax cheat sheet

H L O C V — high / low / open / close / volume arrays (one value per bar of the loaded period)

Data series — extra raw data beyond OHLCV, referenced by name and auto-loaded/aligned to the bars (DATE/TIME are UTC; CoinGecko series are daily and forward-filled on intraday charts):

  • DATEPer-bar date as a YYYYMMDD number (UTC), e.g. 20260823.
  • TIMEPer-bar time as an HHMM number (UTC), e.g. 1430.
  • MKTCAPCoinGecko historical market cap (USD). Daily granularity — on intraday charts it is a day-level step.
  • TVOLCoinGecko aggregate volume across all exchanges (USD, daily) — unlike V, which is the listed exchange only.

NAME:=expr; intermediate variable · NAME:expr; plotted output (can be referenced by later lines)

+ - * / arithmetic · > < >= <= = == <> != comparisons returning 0/1 · & && AND logical and · | || OR logical or

Plot hints: ,overlay on the price pane · ,stick histogram · ,color=#f0b90b

Comments: { } blocks and // lines; bars without enough history stay blank.

Function reference (0)

Write custom crypto indicators in your browser

The Indicator Lab is a free online tool for building your own cryptocurrency technical indicators. Instead of choosing indicators from a fixed menu, you describe them in a concise array formula language: price arrays H L O C V, data series like MKTCAP and DATE, overloaded operators and 37 built-in functions. Formulas are computed by a WASM engine on your own machine and plotted with TradingView lightweight-charts.

How it works

  1. Pick a trading pair and interval (15m, 1h, 4h, 1D and more).
  2. Type a formula such as MA(C,5) or click a built-in preset — RSI, MACD, KDJ, Bollinger Bands, Moving Averages, Volume, Bias, Williams %R, Rate of Change or MA Cross Signals.
  3. The WASM engine evaluates your formula over up to 1000 real exchange candles.
  4. The result renders instantly as chart overlays or sub-panes.

Built-in indicator pages

Every preset has its own chart page: RSI · MACD · KDJ · Bollinger Bands · Moving Averages · Volume · Bias · Williams %R · Rate of Change · MA Cross Signals.

Frequently asked questions

Do I need to install anything to use the Indicator Lab?

No. The indicator engine is compiled to WebAssembly and runs entirely in your browser — no install, no account, and your formulas never leave your device.

What can the indicator formula language do?

Formulas work directly on OHLCV price arrays (H L O C V) and named data series such as MKTCAP (market cap) and DATE, support overloaded arithmetic operators, and include 37 built-in functions such as MA, EMA, RSI, MACD and KDJ.

Which chart intervals are supported?

You can compute indicators on real exchange candles from 15 minutes up to 1 day and beyond, with 200 to 1000 bars loaded per run.

Can I reuse a custom indicator in other tools?

Yes. The same WASM indicator engine powers the Strategy Backtester and the Multi-Coin Scanner, so any formula you write here can be used as an entry/exit rule there.