Technical Indicators
Explore technical indicators used in Pine Script strategies — EMA, MACD, RSI, Bollinger Bands, ATR, and more.
Indicator Library
- EMA (Exponential Moving Average) — A weighted moving average that gives more importance to recent price data, reacting faster to price changes than a simple moving average.
- SMA (Simple Moving Average) — The arithmetic average of closing prices over a set period, giving equal weight to every bar. The 50 and 200 SMAs are the most universally watched trend levels in trading.
- MACD (Moving Average Convergence Divergence) — A multi-purpose indicator that blends trend-following and momentum by comparing the difference between two EMAs and a signal line.
- ADX (Average Directional Index) — A trend-strength indicator that measures how strong or weak a trend is, regardless of direction. Useful as a strategy filter.
- Donchian Channels — A breakout indicator plotting the highest high and lowest low over a set period, commonly used in trend-following and ORB systems.
- RSI (Relative Strength Index) — A momentum oscillator that measures the speed and magnitude of recent price changes on a scale from 0 to 100, used for overbought/oversold analysis, momentum confirmation, divergence spotting, and pullback entries.
- Stochastic Oscillator — A range-relative momentum oscillator comparing the closing price to the recent high-low range, useful for pullback and mean-reversion entries.
- ATR (Average True Range) — A volatility indicator that measures the average range of price movement over a period, used for stop losses and position sizing.
- Bollinger Bands® — A volatility-based indicator consisting of a middle SMA band and upper/lower bands at a set number of standard deviations.
- VWAP (Volume Weighted Average Price) — A session-anchored benchmark combining price and volume to show the average traded price, essential for intraday bias and execution quality.
- OBV (On-Balance Volume) — A cumulative volume indicator that adds volume on up closes and subtracts on down closes, used for confirming breakouts and trend strength.
- Parabolic SAR — A trend-following indicator that plots dots above or below price, accelerating toward price as the trend matures. Commonly used for trailing stops and trend direction.
- Supertrend — Supertrend is one of the cleanest trend-following indicators available to retail traders. It takes market volatility, measured using Average True Range (ATR), and turns it into a single line on the chart that flips as market direction changes. When the line sits below price, the market is considered bullish. When it sits above price, the market is considered bearish.