Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 92)

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,239
No repaint flag6,673

Indicators: All

V12 Swing Sniper Pro

by kevinesk
1 stars

V12 Swing Sniper Pro is a swing trading indicator for Bursa Malaysia stocks. It layers macro and sector filters atop Minervini-style trend quality gates and RSI checks to validate bullish setups. The script fires buy signals when coiling, pullback proximity, b

Indicator v5 TrendMoving averages
Updated 4 months ago · None stated GitHub repository of V12 Swing Sniper Pro

SMA Rate of Change

by rubbermetal
1 stars

SMA Rate of Change measures the rate of change of a simple moving average, using a fast (20) and an optional slow (200) average, and plots both in a separate pane. Values can be shown as a percent or scaled by price. Optional extras include a histogram, fills,

Indicator v6 Oscillators & momentumMoving averages
Updated 4 months ago · MPL-2.0 GitHub repository of SMA Rate of Change
1 stars

This indicator requests the native footprint for each bar and prints the net delta, buy volume minus sell volume, as a small label below the candle on the price chart. Colours show positive, negative or zero delta. Settings control ticks per footprint row, val

Indicator v6 Volume
Updated 6 months ago · None stated GitHub repository of True Net Delta Under Candle

Scalper Pro 3 Min Gold

by Focal-QuantAI
1 stars

Scalper Pro 3 Min Gold is a price-chart indicator that marks breakout setups around recent pivot highs and lows. It signals a long when a bullish candle closes above the last pivot high while holding a higher low, and a short when a bearish candle closes below

Indicator v5 BreakoutSupport & resistance Repaints
Updated 6 months ago · None stated GitHub repository of Scalper Pro 3 Min Gold
1 stars

UnizonesAlgo identifies and plots higher-timeframe supply and demand zones on the main price chart using pivot highs and lows. It generates trade signals when price reaches a zone, demonstrates rejection, and receives confirmation from volume exceeding a movin

Indicator v5 Support & resistanceVolatility & bands Repaints
Updated 8 months ago · None stated GitHub repository of UnizonesAlgo (Universal Zones)

SPY Gamma (7DTE)

by Juice-zhi
1 stars

A price-chart overlay that draws a static set of options gamma levels for SPY (the S&P 500 ETF) expiring in seven days. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot dated 2026-02-04, produced offline from a

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

GhostDog Matrix V12

by knectardev
1 stars

GhostDog Matrix V12 is an overlay signal indicator designed for intraday session trading. It calculates inner and outer standard deviation envelope bands around a simple moving average and evaluates Heikin-Ashi candle wicks to identify signal setups. The scrip

Indicator v5 Volatility & bandsSessions & time
Updated 9 months ago · None stated GitHub repository of GhostDog Matrix V12

v5 combination by yzz

by webcrack4
1 stars

This indicator overlays a volume or market profile histogram on the price chart and also draws a MACD-style overlay. It builds rows from lower-timeframe bars over the visible range, an anchored start, or all history, then marks the point of control and optiona

Indicator v5 VolumeSupport & resistance Repaints
Updated 9 months ago · None stated GitHub repository of v5 combination by yzz

UT Bot Alerts

by turnupdigital
1 stars

An indicator on the price chart that builds an ATR trailing stop with a key value multiplier and a 10 period ATR. When price crosses the trailing stop, it prints a Buy or Sell label and colours bars green or red by side. An option calculates the signals from H

Indicator v5 TrendVolatility & bands
Updated 1 year ago · None stated GitHub repository of UT Bot Alerts

TeeLek Lab 05 Assemble

by theteelek
1 stars

An experimental overlay indicator that simulates a daily DCA account and a long account within a date window, using a five-period Hull moving average coloured green when rising and red when falling. The long account buys when the average turns up or price is a

Indicator v5 Moving averages
Updated 1 year ago · None stated GitHub repository of TeeLek Lab 05 Assemble
1 stars

Plots cumulative volume delta as candles in a separate pane, resetting at the chosen anchor period, one day by default. Up and down volume is approximated from lower-timeframe data, selected automatically or set by the user; higher lower-timeframe choices give

Indicator v6 Volume
Updated 1 year ago · None stated GitHub repository of Cumulative Volume Delta

Zen Library Patterns

by fiji-solutions
1 stars

This indicator detects key candlestick patterns by importing functions from the Zen Library. It identifies bullish engulfing candles formed at 10-period lows and bearish engulfing candles at 10-period highs. Additionally, it highlights hammer, shooting star, a

Indicator v5 Candlestick patterns
Updated 2 years ago · None stated GitHub repository of Zen Library Patterns

QS Fast Coppock

by nvFede
1 stars

A Pine v4 oscillator in a separate pane. It adds a 14-bar and an 11-bar rate of change of the close, then smooths the sum with a Hull moving average, whose length defaults to 10. The resulting curve is plotted against a zero line. The three lengths are adjusta

Indicator v4 Oscillators & momentum
Updated 3 years ago · None stated GitHub repository of QS Fast Coppock

MTB_3

by JohnsonHsiao
1 stars

The MTB_3 indicator computes a base line from a simple moving average of close prices over a user-defined period. It then plots six horizontal lines on the price chart representing bands at one, two, and three standard deviations above and below this base. The

Indicator v5 Volatility & bandsMoving averages
Updated 3 years ago · None stated GitHub repository of MTB_3

Color Gradient Framework

by rajatjpatel
1 stars

A coding aid from PineCoders that demonstrates functions for building bull and bear color gradients, shown in a separate pane. It offers nine examples, such as advance and decline gradients on two moving averages or the MACD histogram, relative gradients on RS

Indicator v4
Updated 4 years ago · None stated GitHub repository of Color Gradient Framework

Butterworth Filter

by everget
947 stars

The Butterworth Filter indicator applies digital signal processing techniques to smooth price data directly on the main price chart. It calculates either a two-pole or three-pole filter based on a customizable length parameter and price source. When optional c

Indicator v4 TrendMoving averages
Updated 13 days ago · GPL-3.0 GitHub repository of Butterworth Filter

This indicator scans NSE-listed stocks for momentum signals using Supertrend, multiple EMAs, MACD, and stochastic oscillator. It supports continuous or flip signal modes and displays matching setups in a customizable table at the bottom left of the chart. The

Indicator v5 Oscillators & momentumMoving averages
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup: Vijay Thakare Option Buying Scalping Setup Scanner

ALGN-tracker

by Allen1212
303 stars

This indicator plots historical buy and sell transactions made by ARK Invest for Align Technology (ALGN) directly on the price chart. It uses labels positioned above or below specific bar timestamps to show institutional trade activity, including transaction d

Indicator v4
Updated 2 years ago · None stated GitHub repository of ALGN-tracker
261 stars

This indicator calculates the arithmetic-geometric mean of two numerical values or an array of values using an iterative convergence algorithm. It provides custom functions to compute the mutual limit of arithmetic and geometric sequences given a specified tol

Indicator v5
Updated 4 years ago · None stated GitHub repository of Function - Math Arithmetic Geometric Mean

Index Member Distribution

by TradersPost
228 stars

Calculates and plots a weighted histogram of constituent returns for major market indices (NDX, SPX, DJIA, and RUT) in a separate pane. Each histogram bin reflects the summed weights of members within that percentage return bracket. The script renders vertical

Indicator v6 Screeners & dashboards
Updated 3 months ago · None stated GitHub repository of Index Member Distribution

This indicator applies a k-nearest neighbours (kNN) classification algorithm using Aroon indicator lags and momentum as feature inputs to forecast market direction. It compares current values against historical feature sets to classify bars into buy, hold, or

Indicator v4 AI / machine learningTrend Repaints
Updated 1 year ago · None stated GitHub repository of Machine Learning: kNN-based Strategy (aroon)
99 stars

This indicator calculates a second-order Bessel lowpass filter on a chosen price source and plots the result on the price chart. It uses a recursive infinite-impulse-response formula with constant work per bar. Length sets the cutoff period linked to the minus

Indicator v6 Trend
Updated 4 weeks ago · Apache-2.0 GitHub repository of Bessel 2nd Order Filter

Session backgrounds

by be-thomas
65 stars

This indicator paints the price-chart background according to three fixed clock sessions. Bars from 04:00 to 09:30 use the pre-market color, 09:30 to 16:00 use the regular-session color, and 16:00 to 20:00 use the post-market color. Three color inputs change t

Indicator v5 Sessions & time
Updated 7 days ago · GPL-3.0 GitHub repository of Session backgrounds
55 stars

The VibeTrader Signal System is an overlay indicator that identifies trend direction and potential reversal conditions. It calculates a Supertrend line alongside Bollinger Bands and a 14-period RSI indicator. The script highlights bullish and bearish trends by

Indicator v6 TrendVolatility & bands
Updated 6 months ago · Apache-2.0 GitHub repository of VibeTrader Signal System
47 stars

The Dynamic Momentum Index (DYMOI) calculates a volatility-adaptive Relative Strength Index based on price volatility ratios. It measures short-term versus long-term standard deviation to dynamically adjust the RSI lookback period. Higher volatility shortens t

Indicator v6 Oscillators & momentumVolatility & bands
Updated 8 months ago · MIT GitHub repository of Dynamic Momentum Index (DYMOI)

Bull Bear Power

by TWODS-CAPITAL
37 stars

This indicator calculates and plots the combined Bull Bear Power oscillator in a separate pane. It computes Bull Power as the difference between the high and an exponential moving average, and Bear Power as the difference between the low and the EMA. The sum o

Indicator v5 Oscillators & momentumMoving averages
Updated 3 years ago · MIT GitHub repository of Bull Bear Power

Zen OOH OOL v3

by Zen-Tim
29 stars

This indicator identifies whether the opening bar of a new trading day opens at its high (Open = High) or low (Open = Low) within a customizable tick tolerance. It marks matching sessions directly on the price chart using directional arrows, text labels, and t

Indicator v5 Sessions & timeCandlestick patterns
Updated 2 weeks ago · MIT GitHub repository of Zen OOH OOL v3

Volume Bar Colors

by benso87
24 stars

This indicator highlights price candles based on unusual volume expansion and directional volume imbalance. It estimates buying and selling volume from the close position relative to the bar range. When total volume exceeds a multiple of its moving average, th

Indicator v5 VolumeCandlestick patterns
Updated 4 years ago · MPL-2.0 GitHub repository of Volume Bar Colors
9 stars

Edge Atlas draws a right-edge price-level atlas on the price chart. Modules produce day, week, and other period highs, lows, opens, and closes, plus pivot points, Fibonacci levels, support and resistance zones, session ranges, round numbers, and VWAP. A shared

Indicator v6 Support & resistanceSessions & time Repaints
Updated 4 days ago · MIT GitHub repository of Edge Atlas [WavesUnchained]
9 stars

Identifies support and resistance liquidity zones from pivot highs and lows and detects liquidity sweep events on the price chart. A sweep is registered when price wicks beyond a tracked zone but closes back inside it. Optional filters include an exponential m

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · MIT GitHub repository of Liquidity Sweep Detector [DefinedEdge]

RealOpenClose

by lunarticktrading
7 stars

This indicator plots the actual open and close price values directly on the price chart when viewing Heikin Ashi charts. It retrieves standard bar prices using a security call to display dots representing the true market open and close levels. Users can toggle

Indicator v6
Updated 3 weeks ago · None stated GitHub repository of RealOpenClose

Volume Conviction Index

by eddiebelaval
7 stars

The Volume Conviction Index measures volume conviction by evaluating volume intensity and relative changes against historical medians. It computes a robust median volume and median absolute deviation to derive volume Z-scores while winsorizing extreme outliers

Indicator v6 VolumeOscillators & momentum
Updated 3 months ago · None stated GitHub repository of Volume Conviction Index
5 stars

This diagnostic indicator reconstructs a native-style Fixed Range Volume Profile directly on the price chart using lower-timeframe bar data across a user-defined time range. It allocates bar volume across price rows, calculates the Value Area, and identifies v

Indicator v6 VolumeSupport & resistance
Updated 5 days ago · MPL-2.0 GitHub repository of VP RSD Native-Like Bar Profile Diagnostic
5 stars

This indicator plots a rolling simple moving average and a rolling median of a chosen source, plus upper and lower bands at one through five standard deviations from the mean. An optional log-space setting transforms the source with a logarithm before the calc

Indicator v4 Volatility & bandsMoving averages
Updated 8 months ago · None stated GitHub repository of Rolling deviations

EMA Breakout

by jerryinyang
5 stars

This indicator calculates and plots the exponential moving average on the chart, along with Keltner Channel bands. It applies optional filters based on Keltner Channel and Money Flow to identify breakout signals. Breakouts occur when price crosses the EMA with

Indicator v4 TrendMoving averages
Updated 2 years ago · None stated GitHub repository of EMA Breakout

Engulfing Candle

by krosenfeld7
5 stars

This indicator marks bullish and bearish engulfing candles on the price chart. A bullish signal requires the current open to be at or below the prior close, below the prior open, and the current close above the prior open. A bearish signal uses the opposite op

Indicator v4 Candlestick patterns
Updated 3 years ago · Apache-2.0 GitHub repository of Engulfing Candle
4 stars

This script calculates real-time technical indicators and displays them in a customizable on-chart table dashboard. It measures the Relative Strength Index (RSI), Average True Range (ATR), Simple Moving Average (SMA), volume ratios, daily price changes, trend

Indicator v5 Screeners & dashboards
Updated 11 months ago · Custom licence GitHub repository of Table Dashboard Snippet [Lab]

REG-TREND

by gocaman
3 stars

The REG-TREND indicator plots linear regression trend lines calculated from the selected source over a user-defined length. It determines channel boundaries and deviation to detect trend breaks, marking them with dotted lines in the chosen color. Fibonacci ret

Indicator v5 TrendSupport & resistance
Updated 3 days ago · None stated GitHub repository of REG-TREND

jash_GGMA_Granville

by jash-git
3 stars

This overlay indicator plots five exponential moving averages with Fibonacci lengths of 3, 13, 34, 55 and 144 on the price chart. Fast lines are red and orange, slower lines blue and purple, and the 144-period line is a black filter. It marks reset events when

Indicator v5 TrendMoving averages
Updated 5 weeks ago · None stated GitHub repository of jash_GGMA_Granville

CPL

by g-moe
3 stars

Plots an external symbol's closing price as a horizontal dotted line extended to the right of the latest bar. By default, it requests the price of the ETHUSDTPERP contract using a configurable exchange prefix. It can also display a label showing the chart's ro

Indicator v5 Support & resistance
Updated 5 months ago · None stated GitHub repository of CPL

TWAP VWAP EMA MACD

by jawauntb
3 stars

The TWAP VWAP EMA MACD indicator calculates two exponential moving averages: one based on the time-weighted average price (TWAP) and another on the volume-weighted average price (VWAP). It subtracts the VWAP EMA from the TWAP EMA to form the MACD line and appl

Indicator v5 Oscillators & momentumMoving averages
Updated 2 years ago · GPL-3.0 GitHub repository of TWAP VWAP EMA MACD

Volume Delta Table

by piecioshka
2 stars

Volume Delta Table is an indicator that displays a customizable table with volume, buy, sell, delta, and cumulative volume delta (CVD) values. It uses request.footprint data to split volume by aggressor side. Options allow showing session start, bar count, ses

Indicator v6 Volume
Updated 13 days ago · MIT GitHub repository of Volume Delta Table

Oscillator

by TamTH-Dev
2 stars

Oscillator combines WaveTrend calculations, Money Flow Oscillator (MFO), custom VWAP tracking, and volume breakout analysis into a single separate-pane indicator. It calculates oscillator wave values along with moving average smoothing to highlight overbought

Indicator v5 Oscillators & momentumVolatility & bands
Updated 6 weeks ago · None stated GitHub repository of Oscillator

Log-Normal Price Forecast

by regalouisei
2 stars

Log-Normal Price Forecast calculates historical log returns and volatility to project theoretical future price movements on the main chart overlay. Using a normal distribution inverse function, it computes statistical drift and standard deviation to plot dynam

Indicator v6 Volatility & bandsSupport & resistance Repaints
Updated 8 months ago · None stated GitHub repository of Log-Normal Price Forecast

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