Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 50)

Open-source Pine Script indicators that draw on your TradingView chart or in their own pane. Copy one and paste it into the Pine Editor.

Pine scripts7,612
Code shown here3,783open licence
Updated in a year5,283
No repaint flag6,673

Indicators: All

1 stars

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

Indicator v6 Repaints Archived
Updated 5 months ago · None stated GitHub repository of Custom Synthetic Smooth Price Line

NFP Open Price Levels

by kvmafthab-pixel
1 stars

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

Indicator v6 Support & resistanceSessions & time
Updated 5 months ago · Custom licence GitHub repository of NFP Open Price Levels
1 stars

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

Indicator v6 VolumeSupport & resistance
Updated 5 months ago · MIT GitHub repository of Crypto AMT Toolkit v3 Precision

ORB

by onlyspx
1 stars

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

Indicator v5 Sessions & timeBreakout
Updated 6 months ago · None stated GitHub repository of ORB

Trend Pullback Indicator

by Chovy-King
1 stars

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

Indicator v6 TrendMoving averages
Updated 6 months ago · None stated GitHub repository of Trend Pullback Indicator

EMA Indicator

by Sandesh30-cloud
1 stars

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

Indicator v5 TrendMoving averages
Updated 6 months ago · None stated GitHub repository of EMA Indicator

ICT Unicorn Model

by cavaldos
1 stars

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

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · None stated GitHub repository of ICT Unicorn Model

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

Indicator v6 Oscillators & momentumTrend
Updated 6 months ago · None stated GitHub repository of Directional Movement Index and ADX

Fair Value Gaps 2026-2

by mikeyhu70
1 stars

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

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · None stated GitHub repository of Fair Value Gaps 2026-2

Helion Trend Weave

by Focal-QuantAI
1 stars

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

Indicator v6 Moving averagesTrend
Updated 6 months ago · None stated GitHub repository of Helion Trend Weave

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

Indicator v5 TrendMean reversion
Updated 6 months ago · None stated GitHub repository of Hurst Exponent - Detrended Fluctuation Analysis

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

Indicator v6 Candlestick patternsVolatility & bands

Supply & Demand Zones

by nexobanks-prep
1 stars

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

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 7 months ago · None stated GitHub repository of Supply & Demand Zones

Trend-Filtered Reversal

by caizongxun
1 stars

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

Indicator v5 Mean reversionVolatility & bands
Updated 8 months ago · MIT GitHub repository of Trend-Filtered Reversal

ML Decision Tree Classifier

by haydarkadioglu
1 stars

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

Indicator v5 AI / machine learningTrend
Updated 8 months ago · None stated GitHub repository of ML Decision Tree Classifier

ARC VMAlgo

by Tradehook-org
1 stars

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

Indicator v5 Oscillators & momentumMoving averages
Updated 8 months ago · None stated GitHub repository of ARC VMAlgo

MNQ Gamma (0DTE)

by Juice-zhi
1 stars

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

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of MNQ Gamma (0DTE)

Sweep + MSS

by Ahmed1926
1 stars

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

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 9 months ago · None stated GitHub repository of Sweep + MSS

Daily ATR Levels

by sbtnc
1 stars

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

Indicator v5 Volatility & bandsSupport & resistance
Updated 9 months ago · MPL-2.0 GitHub repository of Daily ATR Levels
1 stars

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

Indicator v5 Oscillators & momentumScreeners & dashboards
Updated 9 months ago · MIT GitHub repository of MTF Confluence Scanner

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

Indicator v5 TrendVolatility & bands
Updated 9 months ago · None stated GitHub repository of Trendline Breakouts With Targets [ Chartprime ]
1 stars

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

Indicator v6 TrendVolatility & bands
Updated 9 months ago · None stated GitHub repository of TwinSmooth ATR Bands

Crypto Trading Bot Pro

by KirstonKK
1 stars

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

Indicator v5 Oscillators & momentumVolatility & bands
Updated 10 months ago · None stated GitHub repository of Crypto Trading Bot Pro

Example Screener - 1

by NakliTechie
1 stars

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

Indicator v5 Screeners & dashboards
Updated 1 year ago · MIT GitHub repository of Example Screener - 1

CVD Strategy Export

by turnupdigital
1 stars

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

Indicator v6 Volume
Updated 1 year ago · None stated GitHub repository of CVD Strategy Export

Relative Strength Index

by yagyesh-bobde
1 stars

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

Indicator v6 Oscillators & momentumDivergence
Updated 1 year ago · None stated GitHub repository of Relative Strength Index
1 stars

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

Indicator v5 Volume
Updated 1 year ago · None stated GitHub repository of On Balance Volume Scaled

蜡烛图形态

by fuyuanyuan
1 stars

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.

Indicator v6 Candlestick patternsOscillators & momentum
Updated 1 year ago · None stated GitHub repository of 蜡烛图形态

Ehlers DMI

by munlit
1 stars

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

Indicator v5 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Ehlers DMI

Forex Heatmap

by ivansoft
1 stars

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

Indicator v6 Screeners & dashboards Repaints
Updated 1 year ago · None stated GitHub repository of Forex Heatmap
1 stars

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

Indicator v5 Moving averagesSupport & resistance
Updated 1 year ago · None stated GitHub repository of VWAP Divergence dobofulop
1 stars

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

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of Smart Money Concepts

Bollinger Bands - 22MA

by techteam92
1 stars

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

Indicator v4 Volatility & bandsMoving averages
Updated 1 year ago · None stated GitHub repository of Bollinger Bands - 22MA

Fractal Engulfing Candles

by fiji-solutions
1 stars

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

Indicator v5 Candlestick patternsSupport & resistance
Updated 2 years ago · None stated GitHub repository of Fractal Engulfing Candles

Moving Average Exponential

by Hurairahengg
1 stars

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

Indicator v5 TrendMoving averages
Updated 2 years ago · None stated GitHub repository of Moving Average Exponential
1 stars

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

Indicator v5 Support & resistanceMean reversion
Updated 2 years ago · None stated GitHub repository of Custom Trend Line Indicator

SuperTrend-original

by darkshloser
1 stars

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

Indicator v4 Trend
Updated 2 years ago · Apache-2.0 GitHub repository of SuperTrend-original

Nunchucks

by amico1234
1 stars

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

Indicator v4 Candlestick patterns Repaints
Updated 2 years ago · None stated GitHub repository of Nunchucks
1 stars

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

Indicator v5 TrendMoving averages
Updated 2 years ago · None stated GitHub repository of SSL + QQE + RSI Indicator
1 stars

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

Indicator v4 Candlestick patterns
Updated 2 years ago · None stated GitHub repository of All Candlestick Patterns

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

Indicator v5 Support & resistanceTrend
Updated 3 years ago · MIT GitHub repository of Woverine - Support & Resistance

Money Printer Go BRRRRRR

by sourdiesel1202
1 stars

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

Indicator v5 Oscillators & momentumTrend
Updated 3 years ago · None stated GitHub repository of Money Printer Go BRRRRRR

EMA Crosses

by krosenfeld7
1 stars

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

Indicator v4 Moving averagesTrend
Updated 3 years ago · Apache-2.0 GitHub repository of EMA Crosses

Trend Meter

by jubayernil
1 stars

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

Indicator v4 TrendOscillators & momentum Repaints
Updated 3 years ago · None stated GitHub repository of Trend Meter

RSI-Correlation

by nvFede
1 stars

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

Indicator v4 Oscillators & momentum
Updated 3 years ago · None stated GitHub repository of RSI-Correlation

ATR Filter

by JohnsonHsiao
1 stars

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

Indicator v5 Volatility & bands
Updated 3 years ago · None stated GitHub repository of ATR Filter

More Pine Script Categories

Browse the whole Pine Library

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.

  1. 1Using this librarySearch, filters, licences and what the badges mean.
  2. 2Add a script to TradingViewCopy, paste into the Pine Editor, save and add to chart.
  3. 3Indicators, strategies and librariesWhat each type does and how to tell them apart.
  4. 4Spot a script that repaintsWhy some signals change after the bar closes.
  5. 5Backtest a strategyStrategy Tester settings that keep results honest.
  6. 6Send alerts to MT4 or MT5From a TradingView alert to an order in MetaTrader.
  7. 7What Pine Script isThe language, what it can and cannot do, and where to start.
  8. 8Write your first indicatorA complete script, line by line, in the Pine Editor.
  9. 9Read a script before you trust itA routine for checking inputs, logic and red flags.
  10. 10Edit a script safelyChange colours and lengths, add a filter or an alert.
  11. 11Pine Script alertsalertcondition(), alert(), placeholders and webhooks.
  12. 12Build a crossover strategyAn EMA cross strategy with an ATR stop, ready to test.

Trade Your Charts With a Regulated Broker

Compare regulated brokers on platforms, spreads, minimum deposit and leverage.

Compare brokers