Draws a customisable horizontal price line on the chart that follows the current price, with an optional secondary line. Colour can be fixed or follow rising and falling candles, and style, thickness, length and extension are adjustable. An optional synthetic
NFP Open Price Levels plots price levels associated with Non-Farm Payroll (NFP) news releases directly on the main price chart. The indicator draws horizontal lines and text labels at designated NFP open prices, allowing traders to track key macroeconomic even
An overlay toolkit for crypto charts that combines a volume profile with value area, an anchored VWAP with deviation bands, EMA 50 and 200 trend lines, a higher-timeframe EMA bias, and an order flow proxy built from lower-timeframe delta, relative volume and c
This indicator marks the opening range of the trading session on the price chart. The range period can be 5, 15, 30 or 60 minutes, or a custom session and time zone for non-US markets. It draws the range high and low, an optional shaded box and midpoint, plus
An overlay that looks for pullbacks within an established trend using three EMAs (20, 60 and 144) that must be stacked in order and spread apart by an ATR multiple, with a rising or falling fast EMA and no recent crossover between the fast and middle lines. A
Plots 50-period and 200-period Exponential Moving Averages directly on the price chart. The fast 50 EMA is drawn in orange, while the slow 200 EMA is drawn in blue to provide a simple visual reference for baseline trend analysis. The indicator has no configura
Looks for the ICT unicorn pattern, where a breaker block overlaps a fair value gap, using zigzag swings with a default length of 10. Bullish and bearish patterns can be enabled separately, or combined so both appear together. For each setup it draws risk and r
A separate-pane indicator that combines DMI, ADX, MACD and a squeeze signal. It plots plus and minus directional indicators with a selectable smoothing type (RMA by default) and an ADX line with an adjustable key level, and shades the background by trend direc
This indicator finds Fair Value Gaps, the price gaps left between three consecutive candles, and draws them as zones on the price chart. Up to three sets can be shown: two on the chart or a higher timeframe and one from a lower timeframe. Each set has its own
An indicator on the price chart that draws a ribbon of moving averages, 8 by default, starting at a fast period and spaced by a fixed step. A volatility option compares a fast and slow ATR to stretch or shrink the periods between a floor and ceiling. It shades
Estimates the Hurst exponent with detrended fluctuation analysis on log returns, indicating whether recent price behaviour leans toward trending or mean reverting around a 0.5 mid line. Inputs set the sample size, base and maximum scales, an optional smoothing
This indicator identifies Hammer and Inverted Hammer candlestick patterns overlaid directly on the price chart. It evaluates body proportions, upper wick lengths, and lower wick ratios against user-defined thresholds. To filter out low-volatility noise, candle
A simplified version of a volatility squeeze breakout indicator that signals only on the fifteen-minute chart. It detects an ATR percentile squeeze, then marks a long or short when price closes beyond the squeeze range. Zero values for lookback, squeeze percen
A Pine v5 indicator that draws supply and demand boxes on the price chart. A candle counts as an impulse when its body exceeds a multiple of ATR, and as a base candle when its body is small. Impulse, base, impulse sequences create reversal zones (rally-base-dr
A separate-pane indicator for counter-trend reversal setups that are filtered by a baseline EMA trend. A bearish setup needs price at a wide upper Bollinger Band, high volume or an overbought RSI, and a rejection wick; the bullish setup mirrors this. In a stro
The ML Decision Tree Classifier uses rule-based decision tree logic to evaluate trend, momentum, volume, and MACD indicators for market direction classification. It calculates exponential moving averages, relative strength index values, volume relative to a mo
ARC VMAlgo is an indicator that plots a histogram in a separate pane. It calculates volatility bands using a Bollinger-style SMA and standard deviation. It computes a MACD-style momentum oscillator with fast and slow EMAs. It normalizes distance to bands using
A price-chart overlay that draws a static set of options gamma levels for MNQ (Micro Nasdaq-100 futures, scaled from QQQ options) expiring in the same day. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot dated
An overlay indicator that detects liquidity sweeps of recent pivot highs and lows and then looks for a market structure shift. A sweep is marked in a chosen colour, optionally filtered by ATR or percentage size, by a trend condition or by a wick-versus-cross r
Plots horizontal levels above and below the daily open based on the Average True Range, drawn on the price chart. The ATR length defaults to 20, and the reference can be yesterday's ATR or today's. Levels change colour once price reaches or passes them. Option
This indicator evaluates Relative Strength Index (RSI), Moving Average Convergence Divergence (MACD), and Stochastic oscillators across four customizable timeframes. It aggregates bullish and bearish conditions into a confluence score to identify aligned marke
This overlay indicator draws trendlines on the price chart and marks breakouts with optional targets. It builds a slope from successive changes in a wick or body source over a user-set period, then extends the line by a selected multiple of the bar interval. P
A chart-overlay trend filter that blends a slower smoothed moving average and a faster TEMA into one baseline, smooths it again with an EMA, and builds ATR bands around it. A close above the upper band sets a long regime, a close below the lower band sets a sh
A chart-overlay indicator that combines RSI, a fast and slow EMA cross, Bollinger Bands, volume spikes, MACD and stochastic into alert conditions. Individual alert groups can be switched on or off, and a weighted confidence score must reach a minimum before an
This indicator combines trend, momentum, and key level calculations into a separate pane analysis tool. It determines trend direction using fast and slow EMAs, normalized by the Average True Range to measure trend strength. RSI and ATR-adjusted price changes t
Example Screener is a work-in-progress Pine Script v5 indicator meant to show a multi-symbol screener on the price chart. The file is a skeleton: the signal function returns a placeholder dash, and symbol lists, security calls, colors, helper functions, and ta
An indicator that plots cumulative volume delta as candles in a separate pane, using lower timeframe volume over a configurable anchor period. It draws dashed horizontal threshold lines at a set level above and below zero and adds hidden plots that keep the ch
Calculates and plots the Relative Strength Index (RSI) oscillator in a separate pane with overbought and oversold visual fills. It includes an optional smoothing moving average supporting SMA, EMA, SMMA, WMA, VWMA, or SMA with Bollinger Bands. Additionally, it
This indicator calculates classic on-balance volume from the sign of the close change and volume, then rescales that cumulative series using the exponential averages of its highest and lowest values over a chosen length. It plots the normalized result in a sep
This overlay indicator classifies candlestick shapes using body, wick, and range sizes, then filters them with volume, RSI, MACD, and exponential moving averages. A hammer needs a long lower wick, a small bearish body, RSI below 30, and elevated prior volume.
A separate-pane indicator that smooths price with a weighted average and a two-pole filter, then runs a directional movement calculation on the filtered series and plots one line coloured by its slope. The sign of the line sets a bullish or bearish state, whic
An indicator that shows a table of currency pair data in a separate pane for a list of currency codes, such as EUR, USD, AUD and GBP. In cross rates mode it shows exchange rates between the currencies, coloured by the direction of the latest change. In heat ma
The script overlays a VWAP line on the price chart and identifies divergences between price close movements and VWAP movements. It computes VWAP using a customizable anchor period such as session or earnings, then checks for divergence over a lookback period c
A Pine v5 overlay, with Spanish labels, that plots smart money concepts on the price chart. It marks market structure breaks, optional structure mapping, strong and weak highs and lows, liquidity sweeps and bubbles, plus the most recent order blocks and breake
Bollinger Bands - 22MA plots custom Bollinger Bands on the main price chart using a selectable center moving average from a choice of 22 different types, including Kalman filters, Jurik, Sine, and Hull moving averages. It generates buy and sell signals based o
The Fractal Engulfing Candles indicator identifies bullish and bearish engulfing candlestick patterns occurring near 10-period swing highs or swing lows. It plots green upward triangles below bullish engulfing bars at swing lows and red downward triangles abov
Calculates an Exponential Moving Average (EMA) and displays visual buy and sell trend signals directly on the price chart. The indicator calculates a 125-period EMA line by default and monitors crossover conditions between price and the EMA threshold. When pri
An overlay that finds pivot highs and lows over an adjustable lookback, stores them, and tries to draw blue trend lines between consecutive pivots. It then marks Buy or Sell labels when a line has been touched within one percent for the chosen number of recent
A Pine v4 script that plots three SuperTrend trailing stop lines on the price chart, based on the well-known ATR and midpoint approach. Each line has its own ATR period, multiplier, source and wicks-or-close option. A green line marks an up direction and a red
The Nunchucks indicator plots candlesticks on the price chart to represent higher highs and lower lows. It calculates these by comparing the current bar high and low against the previous bar values, then draws separate candles for highs and lows using the chos
A price chart overlay that combines an SSL channel system with ATR bands around the close. It offers a baseline, a first SSL line, a continuation line and an exit line, each with a selectable moving average type such as HMA, JMA, TEMA, Kijun or McGinley. Bars
A price-chart overlay that detects a long list of candlestick patterns and labels them on the bars. It covers single-bar shapes such as hammer, hanging man, doji types and marubozu, and multi-bar patterns such as engulfing, morning star, three white soldiers a
This indicator plots Support and Resistance levels on the price chart. Support is drawn as a green line at the highest high over the specified length, and Resistance as a red line at the lowest low. An optional Directional Projection Trend line can be shown us
A separate-pane indicator that sums scored readings from an imported helper library covering a moving average, ADX, DMI, MACD and on-balance volume into one combined value. That value is plotted as a blue line against reference levels at zero, 100 and minus 10
This indicator calculates and plots three exponential moving averages across both the current chart timeframe and a user-selected higher timeframe, defaulting to the daily period. It identifies trend changes and momentum shifts using higher-timeframe crossover
Trend Meter is a multi-indicator visual tool designed to confirm market directional bias across multiple technical filters in a separate pane. It tracks three customizable Trend Meters based on MACD crossovers or RSI threshold levels, alongside two Trend Bars
A minimal Pine v4 indicator in a separate pane. It calculates a 14-period RSI and the correlation between the RSI and price over the same length, scaled to a percentage. It then plots the RSI multiplied by that correlation as a white line, alongside the plain
The ATR Filter indicator calculates the difference between two Average True Range (ATR) values calculated over short and long lookback periods. It subtracts the long-period ATR from the short-period ATR to determine relative volatility momentum. The script plo
Third-party code. ForexR lists open-source Pine scripts from GitHub; it did not write, test or endorse them, and their summaries are generated automatically from each script's code and README. Indicators describe the past, and a strategy's backtest can look better than live trading. Check a script on a demo account before you rely on it. CFDs and leveraged forex are complex instruments with a high risk of losing money rapidly.
Learn to Use Pine Scripts
Free, plain-English guides: add a script to TradingView, read what it does, test it and avoid the common traps.