Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 78)

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

Quantum Scalper 5M

by Focal-QuantAI
1 stars

An indicator on the price chart intended for 5 minute charts. It plots fixed support and resistance from rolling highest and lowest values and combines retest confirmation, a Bollinger Band option, a channel built from an EMA with ATR and standard deviation, a

Indicator v6 ScalpingSupport & resistance
Updated 6 months ago · None stated GitHub repository of Quantum Scalper 5M
1 stars

This indicator plots a global liquidity series in a separate pane from selected central-bank balance sheets and optional national money-supply series, converted into US dollars. Toggles cover the Federal Reserve, Treasury General Account, reverse repurchase ag

Indicator v6 Oscillators & momentumScreeners & dashboards
Updated 7 months ago · None stated GitHub repository of Global Liquidity Index
1 stars

The HybridAlgo Multi-Indicator Strategy calculates signals from moving average crossovers, RSI, MACD, and Bollinger Bands. Long and short entries trigger when at least three signals align for confluence. It sets stop loss at three times ATR below entry and tak

Indicator v5 TrendOscillators & momentum Repaints
Updated 8 months ago · None stated GitHub repository of HybridAlgo Multi-Indicator Strategy

SPX Gamma (1DTE)

by Juice-zhi
1 stars

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

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

ICT Propulsion Block

by Ahmed1926
1 stars

An overlay indicator that detects order blocks from swing points and highlights propulsion blocks, which are blocks that form after price reacts to an earlier order block. Swing length sets detection, and a mitigation setting decides whether a closing price or

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 9 months ago · None stated GitHub repository of ICT Propulsion Block
1 stars

This indicator calculates and plots dollar-cost averaging cost basis lines directly on the main price chart from a chosen starting date. It tracks a continuous average purchase price across regular bar intervals alongside a secondary average that accumulates o

Indicator v6
Updated 1 year ago · None stated GitHub repository of TeeLek-DCA-Under-DCA-Line
1 stars

An overlay indicator that builds a zero-lag moving average by adding the gap between price and its EMA back to price and smoothing again, then compares it with a plain EMA. Crossovers give up and down signals and the lines change colour with direction. A box i

Indicator v5 Moving averagesTrend
Updated 1 year ago · None stated GitHub repository of Zero-Lag MA Trend Levels

Ticker Tape

by ivansoft
1 stars

An indicator that draws a scrolling ticker tape on the price chart for a list of symbols entered as comma-separated text. For each symbol it requests the daily close, the daily change and the percentage change, and shows them with the symbol name. A running se

Indicator v6 Screeners & dashboards Repaints
Updated 1 year ago · None stated GitHub repository of Ticker Tape

Hello World

by fiji-solutions
1 stars

This indicator demonstrates how to retrieve fundamental financial metrics using Pine Script's financial data function. It requests quarterly accounts payable data for the current symbol, specified in Swiss Francs, and plots the resulting value series in a sepa

Indicator v5
Updated 2 years ago · None stated GitHub repository of Hello World

Z-Score BB

by amico1234
1 stars

Z-Score BB measures statistical deviation by comparing a short-term 22-bar sample mean against a longer-term population baseline. It computes the population standard deviation and standard error to derive absolute Z-score offset bands around the selected basel

Indicator v4 Volatility & bandsMean reversion
Updated 2 years ago · None stated GitHub repository of Z-Score BB

Tykhe Vix

by nvFede
1 stars

A Pine v4 indicator in a separate pane that builds a volatility gauge from the S&P 500 index rather than the chart symbol. It measures how far the latest low sits below the highest high over a short window and a ten times longer window, as percentages, and com

Indicator v4 Volatility & bands
Updated 3 years ago · None stated GitHub repository of Tykhe Vix

DMI Improve

by JohnsonHsiao
1 stars

This indicator improves the standard Directional Movement Index by adjusting plus and minus directional movement calculations with a weight factor and SMA adjustments for sensitivity. It calculates and plots improved DI+ and DI- lines in a separate pane. Setti

Indicator v5 TrendOscillators & momentum
Updated 3 years ago · None stated GitHub repository of DMI Improve

TMA-Legacy

by rajatjpatel
1 stars

A separate-pane RSI toolkit rebuilt for a trading community after the original author left. A mode setting switches between a divergence view with a normal RSI, a smoothed RSI with its own moving average, and a faster momentum RSI. Pivot-based divergence detec

Indicator v5 Oscillators & momentumDivergence
Updated 4 years ago · None stated GitHub repository of TMA-Legacy

Volume Accumulation

by everget
947 stars

Volume Accumulation sums bar volume inside a chosen time bucket and plots the running total as columns in a separate pane. The bucket can be minutely, hourly, session, daily, monthly, quarterly, or yearly, and the total resets when that period changes. Columns

Indicator v6 Volume
Updated 13 days ago · GPL-3.0 GitHub repository of Volume Accumulation
575 stars

This overlay indicator marks ICT market structure shifts from a zigzag of swing highs and lows on the price chart. It can show bullish and bearish swings, structure-shift marks, and retracements, with optional zigzag lines and colored boxes. Zigzag length, hig

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Market Structure Shift (MSS)
330 stars

RSI Multi Alerts [Alorse] is a multi-asset monitoring indicator that calculates the Relative Strength Index (RSI) for up to 40 individual user-selected symbols simultaneously. It overlays signal indicators on the chart to identify when any of the monitored ass

Indicator v5 Oscillators & momentumScreeners & dashboards
Updated 2 months ago · None stated GitHub repository of RSI Multi Alerts [Alorse]

Pricing Table

by namuan
318 stars

This indicator calculates theoretical options contract values and in-the-money probabilities using historical realized volatility across multiple standard deviations. It displays these metrics in a table overlay directly on the price chart. Users can adjust th

Indicator v4 Volatility & bandsScreeners & dashboards
Updated 2 months ago · MIT GitHub repository of Pricing Table

ABBV-tracker

by Allen1212
303 stars

ABBV-tracker visualizes historical purchase and sale transactions made by ARK Invest funds for AbbVie Inc. (ABBV) directly on the main price chart. It plots colored labels above or below candles on specific timestamps corresponding to trade dates, indicating b

Indicator v4
Updated 2 years ago · None stated GitHub repository of ABBV-tracker
257 stars

This indicator plots a 200-period weighted moving average (WMA) on the main chart and monitors price deviations across multiple timeframes. It retrieves daily, 15-minute, 5-minute, and 2-minute price data to track distance from the 200 WMA relative to key sess

Indicator v5 Moving averagesSessions & time Repaints
Updated 7 weeks ago · None stated GitHub repository of Donald SPX - Options Trading
228 stars

Comprehensive Volume Profile is an overlay indicator that calculates and plots volume distribution across specified time ranges such as daily sessions, weekly, monthly, or custom bar lengths. It identifies key structural price levels including the Point of Con

Indicator v6 VolumeSupport & resistance
Updated 3 months ago · None stated GitHub repository of Comprehensive Volume Profile
220 stars

This indicator identifies High Of Low Price (HOLP) and Low Of High Price (LOHP) candlestick setups based on price extremes over a specified lookback period. A HOLP signal triggers when the current bar closes above the high of a recent session low, whereas a LO

Indicator v5 Candlestick patternsBreakout
Updated 1 year ago · None stated GitHub repository of Candlestick Patterns - HOLP-LOHP
219 stars

This indicator identifies local high pivot points on the price chart by comparing the high price of four bars ago against four preceding and four subsequent bars. When the middle bar is higher than all surrounding eight bars, it plots an H label on that peak b

Indicator v4 Support & resistance Repaints
Updated 5 years ago · None stated GitHub repository of 教學:尋找高低點1
114 stars

ADX Strategy (original) is an overlay indicator that identifies trend-following trade signals using the Average Directional Index (ADX) combined with a Simple Moving Average filter. A long signal is generated when the ADX rises above a user-defined trend level

Indicator v4 TrendOscillators & momentum
Updated 1 year ago · None stated GitHub repository of ADX Strategy (original)
99 stars

This indicator calculates the statistical autocorrelation coefficient of an input series over a user-defined lookback window at a specified lag. It tracks values using an internal circular buffer, computes sample mean, variance, and autocovariance, and normali

Indicator v6 TrendMean reversion
Updated 4 weeks ago · Apache-2.0 GitHub repository of Autocorrelation Function (ACF)
92 stars

This indicator plots a volume-weighted average price of the typical price on the chart and colors that line by ADX strength. It draws a standard-deviation envelope around VWAP and tints the fill green when plus DI leads and red when minus DI leads. Triangle ma

Indicator v5 TrendOscillators & momentum
Updated 2 months ago · Custom licence GitHub repository of Moon Dev VWAP x ADX Explosion

Conditional colors

by be-thomas
65 stars

This script calculates a simple moving average of closing prices over a specified length and dynamically changes its plot color based on the direction of the average. When the moving average value is rising compared to the previous bar, the line displays the s

Indicator v5 TrendMoving averages
Updated 7 days ago · GPL-3.0 GitHub repository of Conditional colors

Scalping Position Size

by iamrichardD
57 stars

This indicator calculates a suggested position size from account size, risk per trade, and a percentage stop. It multiplies account size by the risk percent to get the dollar risk, then divides that by a stop distance equal to the current close times the stop-

Indicator v6 Screeners & dashboardsScalping
Updated 1 year ago · Apache-2.0 GitHub repository of Scalping Position Size

Supply Demand

by iamc1oud
56 stars

Supply Demand is a Smart Money Concepts style indicator that maps market structure and identifies volumetric order blocks directly on the price chart. It detects swing points, structural sweeps, and key supply and demand zones. Users can customize structural c

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of Supply Demand
55 stars

This indicator calculates a 14-period RSI from close and plots it in a separate pane with dotted overbought and dashed oversold lines at 70 and 30. It marks bullish divergence when a five-bar pivot low in price is lower than the price twenty bars earlier while

Indicator v6 Oscillators & momentumDivergence
Updated 6 months ago · Apache-2.0 GitHub repository of RSI Divergence Detector
53 stars

The script calculates the Relative Strength Index (RSI) alongside customizable overbought and oversold thresholds. It tracks recent high and low values over a user-defined lookback period to detect price and momentum divergence. Bullish and bearish divergences

Indicator v6 Oscillators & momentumDivergence
Updated 2 months ago · MPL-2.0 GitHub repository of RSI Divergence [Ahmed Edition]

Reversal Breakout System

by TamaraKGreen
47 stars

This indicator detects inside candles inside larger parent candles on the price chart. It plots colored boxes around inside and parent candles, fills them with user-adjustable transparency, draws Fibonacci retracement lines and mother candle range lines, and d

Indicator v6 Candlestick patternsBreakout
Updated 8 weeks ago · None stated GitHub repository of Reversal Breakout System

Choppiness Index

by mihakralj
47 stars

The Choppiness Index is a technical indicator designed to determine whether a market is trending or consolidating. It calculates values between zero and one hundred using true range sums and price ranges over a user-defined lookback length. Lower values indica

Indicator v6 TrendVolatility & bands
Updated 8 months ago · MIT GitHub repository of Choppiness Index
43 stars

This indicator plots Donchian channel bands and a midline on the price chart. It finds the highest and lowest values over a user-set length, then draws the upper band, lower band, and their average as the basis. The source setting chooses high and low, or the

Indicator v4 Volatility & bandsBreakout
Updated 1 year ago · None stated GitHub repository of Donchian Channels Experiment
43 stars

The Candle Bar - No Repaint indicator plots candlestick bars on the price chart. It sets the high and low to the maximum and minimum open prices from the previous three bars. The close of the bar is taken as the current open. The bar color turns blue when the

Indicator v5 Candlestick patterns
Updated 2 years ago · None stated GitHub repository of Candle Bar - No Repaint
41 stars

This indicator marks unfilled price gaps on the chart. It treats a gap-up as the current low above the previous close and a gap-down as the current high below the previous close, then draws a colored box for each gap that extends to the right. A dotted line ca

Indicator v5 Support & resistance
Updated 5 days ago · None stated GitHub repository of Unfilled Close-Adjusted Gaps

Average True Range

by TWODS-CAPITAL
37 stars

This indicator calculates the average true range and plots it as a single line in a separate pane. It measures true range with gaps included, then smooths that series over a user-set length. The main settings choose the lookback length and the moving-average m

Indicator v5 Volatility & bands
Updated 3 years ago · MIT GitHub repository of Average True Range

Zen Trading Toolkit

by Zen-Tim
29 stars

This indicator plots average bar range (ABR) measured move targets, opening range boxes, and historical key reference levels directly on the price chart. It projects bullish and bearish targets (0.5x, 1.0x, 1.5x, 2.0x ABR) from the previous session's close, al

Indicator v6 Support & resistanceVolatility & bands
Updated 2 weeks ago · MIT GitHub repository of Zen Trading Toolkit

Breaker Blocks with Signals [LuxAlgo] is an overlay indicator that identifies smart money market structure swing points and breaker block zones. It plots bullish and bearish breaker blocks directly on the price chart as dynamic boxes. Traders can customize the

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · AGPL-3.0 GitHub repository of Breaker Blocks with Signals [LuxAlgo]
24 stars

This indicator plots a smoothed stochastic oscillator in a separate pane, with K and D lines, a midsection background, and adjustable overbought and oversold levels. Optional highlights mark overbought or oversold breakouts and K/D crossovers, and ribbon filli

Indicator v5 Oscillators & momentumVolatility & bands
Updated 4 years ago · MPL-2.0 GitHub repository of Intermediate Stochastic
20 stars

This indicator plots a Swami Chart of relative strength index values in a separate pane. It calculates RSI-style up and down ratios for lookbacks from 2 to 48 bars, smooths them with a Super Smoother filter, and colors stacked horizontal plots as a heatmap. Va

Indicator v5 Oscillators & momentum
Updated 1 year ago · None stated GitHub repository of Swami Chart RSI - John F. Ehlers

WE-VPVR

by davro
10 stars

Calculates and projects a Volume Profile Visible Range (VPVR) directly onto the price chart. It calculates volume distribution over a configurable lookback depth to generate horizontal profile bars and highlight the Point of Control (POC) line where trading ac

Indicator v4 VolumeSupport & resistance
Updated 5 years ago · None stated GitHub repository of WE-VPVR
10 stars

TPCharts Liquidity Range calculates and plots significant liquidity levels over a specified historical period and resolution directly on the main price chart. It highlights the range high, range low, and the 50% range equilibrium level, as well as the previous

Indicator v4 Support & resistanceSMC / ICT / price action Repaints
Updated 5 years ago · GPL-3.0 GitHub repository of TPCharts Liquidity Range

Chandelier Flip Radar plots an ATR trailing stop on the price chart and tracks a directional trend state. It holds a ratchet stop until an accepted flip, using close or wick extremums and a body filter so weak breaks do not change direction. Distance to the fl

Indicator v6 TrendVolatility & bands
Updated 4 days ago · MIT GitHub repository of Chandelier Flip Radar [WavesUnchained]

VWAP Reversion (Example)

by JasonTeixeira
9 stars

This indicator overlays a volume-weighted average price and a simple moving average on the price chart. It calculates VWAP from the typical price of high, low, and close and an SMA of close over a user-set length that defaults to 20. It plots the VWAP in orang

Indicator v5 Moving averagesVolume
Updated 2 weeks ago · Custom licence GitHub repository of VWAP Reversion (Example)

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