Setup on TradingView

Three steps. Takes about two minutes.

Why TradingView?

These indicators are written in Pine Script, TradingView's native scripting language. TradingView runs in the browser — no installation, no local dependencies — and gives you access to real-time and historical data across equities, crypto, and forex in a single interface.

A free TradingView account is sufficient to run all indicators listed here. The paid tiers add more simultaneous indicators per chart and additional data sources, but aren't required to get started.

Source:
https://www.tradingview.com/chart/
https://www.bloomberg.com/professional/products/bloomberg-terminal/

Step 1 — Open TradingView Supercharts

Go to TradingView and open the Supercharts view from the navigation bar. This is the full charting interface where you'll add the indicator. Any asset and timeframe works — you can switch after the indicator is loaded.

Step 1: Open TradingView Supercharts

Step 2 — Paste the Source Code

Download the source code from the indicator's page. In TradingView, open the Pine Editor from the bottom panel, paste the code, and click Save. Give it a name you'll recognize. The indicator is now saved to your TradingView account and ready to apply to any chart.

Step 2: Paste source code

Sample Source Code

study(title="MACD Crossover", shorttitle="MACD Crossover") fastLength = input(8, minval=1) slowLength = input(16,minval=1) signalLength=input(11,minval=1) hline(0, color=purple, linestyle=dashed) fastMA = ema(close, fastLength) slowMA = ema(close, slowLength) macd = fastMA - slowMA signal = sma(macd, signalLength) pos = iff(signal < macd , 1, iff(signal > macd, -1, nz(pos[1], 0))) barcolor(pos == -1 ? red: pos == 1 ? green : blue) plot(signal, color=red, title="SIGNAL") plot(macd, color=blue, title="MACD")

Step 3 — Add to Chart

Click "Add to chart" in the Pine Editor. The indicator will appear on your active chart. Close the editor — the indicator persists. You can adjust parameters by clicking the settings icon next to the indicator name in the chart legend.

Step 3: Add indicator to chart