Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 89)

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

VIX Trending

by dearvn
4 stars

The VIX Trending indicator plots on the price chart for the VIX symbol. It computes EMA values on 1m and 5m timeframes using security requests and detects trend shifts via consecutive high or low breaks along with volume. Buy signals trigger on upward EMA alig

Indicator v5 TrendOscillators & momentum Repaints
Updated 4 years ago · None stated GitHub repository of VIX Trending

P-MACD TARAMA2

by gocaman
3 stars

P-MACD TARAMA2 calculates a MACD from a fast and slow moving average and plots the MACD line, signal line, and histogram in a separate pane. It marks MACD and signal crossovers with circles and includes pivot-based bullish and bearish divergence settings. User

Indicator v5 Oscillators & momentumDivergence
Updated 3 days ago · None stated GitHub repository of P-MACD TARAMA2

jash_GGMA_Granville

by jash-git
3 stars

Calculates five Exponential Moving Averages (EMAs 3, 13, 34, 55, and 144) based on Fibonacci sequence lengths to combine Guppy Multiple Moving Average (GMMA) concepts with Granville's moving average rules. Plots all moving average lines directly on the main pr

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

This indicator calculates a simple or exponential moving average and dynamically colors its plot based on the slope angle of the average line. The angle is calculated using an ATR-normalized arctangent formula over a user-defined lookback period. Green indicat

Indicator v5 Moving averagesTrend
Updated 5 months ago · None stated GitHub repository of Color Changing Moving Average
3 stars

This multi-functional technical indicator overlays custom volume profile mapping and Smart Money Concepts tools directly on the main price chart. It identifies and plots order blocks, breaker blocks, market structure breaks, and range levels alongside support

Indicator v5 VolumeSMC / ICT / price action
Updated 1 year ago · None stated GitHub repository of VP(Maps) + OB + S&R + GGSHOT + HH

Time Window Highlight

by piecioshka
2 stars

Time Window Highlight is an intraday chart overlay that shades specific daily time windows with background boxes. It measures price performance from the start of the defined time window to the latest point within it, coloring the background green when price ri

Indicator v6 Sessions & time
Updated 13 days ago · MIT GitHub repository of Time Window Highlight

PA Helpers

by TamTH-Dev
2 stars

PA Helpers is a price action visual tool that plots multi-timeframe exponential moving averages and psychological round price levels directly on the price chart. It calculates up to three customizable EMAs with individual timeframe, period, and color controls.

Indicator v6 Moving averagesSupport & resistance Repaints
Updated 6 weeks ago · None stated GitHub repository of PA Helpers

The HTF Candle Volume Thermometer indicator renders higher-timeframe candles on the price chart overlaid with volume heatmaps. It calculates internal volume distribution across price bins defined by ATR step sizes. Bins with higher trading activity are highlig

Indicator v6 VolumeSupport & resistance
Updated 8 months ago · None stated GitHub repository of HTF Candle Volume Thermometer [ChartPrime]

Conditional Volatility (CV)

by mushroom-men-Trading
2 stars

Conditional Volatility (CV) calculates annualized volatility using a GARCH(1,1) econometric model based on log returns of closing prices. It plots the resulting annualized variance percentage as a continuous line in a separate pane to display volatility dynami

Indicator v6 Volatility & bands
Updated 9 months ago · None stated GitHub repository of Conditional Volatility (CV)

PSMC - Namespaces

by Web3Degenerate
2 stars

This indicator plots the 14-period RSI oscillator on the chart. It also demonstrates string handling by converting a fixed string to a number and plotting the result. The script uses namespaces to access built-in functions like ta.rsi and str.tonumber. It draw

Indicator v5 Oscillators & momentum
Updated 2 years ago · None stated GitHub repository of PSMC - Namespaces

ZigZag - lucemanb

by WISEPLAT
2 stars

This indicator draws a ZigZag on the price chart by connecting recent swing highs and lows. It searches the last Depth bars for the highest high and lowest low, then keeps a pivot only when price has moved beyond the Deviation setting in minimum ticks. A red l

Indicator v4 Support & resistanceTrend Repaints
Updated 3 years ago · None stated GitHub repository of ZigZag - lucemanb

Paste Check

by jayadevrana
1 stars

Paste Check is an overlay indicator that identifies trend direction using dual exponential moving averages. It plots a fast EMA and a slow EMA directly on the price chart. When the fast EMA crosses above the slow EMA, it displays a green triangle below the bar

Indicator v6 TrendMoving averages
Updated 5 days ago · MPL-2.0 GitHub repository of Paste Check

SMC Long-Dip Alerts

by skipp-dev
1 stars

SMC Long-Dip Alerts is an indicator that provides selectable alertcondition() signals for an SMC Long-Dip Suite. It detects structure events such as BOS and CHoCH using a configurable swing length and resolves product state, zone activity, and trust tier from

Indicator v6 SMC / ICT / price action
Updated 5 days ago · None stated GitHub repository of SMC Long-Dip Alerts

P_err_assign_type_change

by GammaExpansion
1 stars

This script acts as a test fixture from the OptiPine parser test suite designed to evaluate Pine Script compilation behavior. It initializes a variable with an integer value, attempts to reassign it to a string, and attempts to plot the result in a separate pa

Indicator v6
Updated 8 days ago · MIT GitHub repository of P_err_assign_type_change

DEPV2 C6 Gölge Kasa

by YuceSezar89
1 stars

This indicator evaluates signal performance and multi-timeframe market dynamics through a shadow bankroll tracking framework. It measures market conditions across trend, momentum ROC Z-scores, ATR volatility expansion, and volume flow, alongside multi-timefram

Indicator v6 TrendOscillators & momentum
Updated 2 weeks ago · None stated GitHub repository of DEPV2 C6 Gölge Kasa
1 stars

An overlay indicator that records the high and low of an opening range from a configurable open time and draws high, low and average lines to the session end. Optional toggles add sub-levels, second and third support and resistance lines and rounded buy strike

Indicator v5 Sessions & timeSupport & resistance
Updated 2 weeks ago · None stated GitHub repository of OR Levels v10 Formula Toggle

Fractals + Reflection

by morindok
1 stars

This overlay indicator identifies high and low fractal pivots using a customizable period setting. Users select two anchor points directly on the chart to establish a central trendline. The script then projects reflected price and time levels relative to this

Indicator v6 Support & resistanceTrend
Updated 7 weeks ago · None stated GitHub repository of Fractals + Reflection

Root Deviation Loop

by vedkanani123
1 stars

A separate-pane oscillator based on root mean square deviation. It offers two signal modes: Bollinger-style bands around a chosen moving average of the deviation, or a for-loop score summed across a range of lookbacks that is compared with long and short thres

Indicator v6 Oscillators & momentumVolatility & bands
Updated 2 months ago · None stated GitHub repository of Root Deviation Loop
1 stars

Marks the bar where a volume order block zone is first confirmed, which is when the moving average crossover completes, rather than any earlier bar that would shift later. A sensitivity bank input selects the set of six sensitivity lengths, or custom values ca

Indicator v6 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB Birth Bar Study v1.1 Tick

Arty-W

by GreyssonEnterprises
1 stars

A Pine v4 indicator that draws four smoothed moving averages (21, 50, 100 and 200) on the price chart, with a fill between a two-period EMA and the 200 average that turns green or red with trend. It also looks for W and M price shapes with adjustable width and

Indicator v4 Moving averagesTrend
Updated 3 months ago · MIT GitHub repository of Arty-W
1 stars

V10 Swing Sniper (KLSE) is a daily chart overlay indicator designed for swing trading Bursa Malaysia equities based on Mark Minervini's Stage 2 and Volatility Contraction Pattern (VCP) principles. It calculates exponential moving averages, relative strength ag

Indicator v5 TrendBreakout
Updated 4 months ago · None stated GitHub repository of V10 Swing Sniper (KLSE)

RSI Window

by rubbermetal
1 stars

RSI Window shows a relative strength index in a separate pane with a color gradient and overbought and oversold zone fills. It can also draw a faster RSI and a histogram of the gap between the fast and standard RSI. Up to five exchange symbols, defaulting to B

Indicator v6 Oscillators & momentumDivergence
Updated 4 months ago · MPL-2.0 GitHub repository of RSI Window

Traditional Pivot Points

by shubhamtaywade82
1 stars

Calculates daily pivot levels from the previous day's high, low and close and draws them on the price chart as lines with price labels. The pivot type can be Traditional, Fibonacci or Camarilla, each giving a central level plus three supports and three resista

Indicator v6 Support & resistance Archived
Updated 5 months ago · None stated GitHub repository of Traditional Pivot Points
1 stars

Draws supply and demand zones as boxes on the price chart using several detection modes, including classic candle patterns judged by body percentage and an ATR-based mode. Settings include a long ATR length with a multiplier, how many levels to display, maximu

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 6 months ago · None stated GitHub repository of Supply and Demand Zones 2026-2

JTrader EMA Zone Inversion

by Focal-QuantAI
1 stars

An indicator on the price chart based on EMAs of 33, 50 and 200 bars. It looks for fair value gaps inside a maximum age and signals when a gap is inverted, drawing the inverted gap box. A pivot count filter can restrict signals to single or multiple pivots. Se

Indicator v5 SMC / ICT / price actionTrend
Updated 6 months ago · None stated GitHub repository of JTrader EMA Zone Inversion

Liquidation Heatmap

by ymlee1104
1 stars

The Liquidation Heatmap indicator detects potential liquidation zones by scanning recent price swings and calculating volume or range-based weights over a configurable lookback period. It overlays boxes and labels on the price chart to highlight long and short

Indicator v6 Volatility & bandsSupport & resistance
Updated 7 months ago · None stated GitHub repository of Liquidation Heatmap

Thrust Breakout Algorithm

by Tradehook-org
1 stars

A Pine v5 script that looks for a price thrust followed by a pullback entry on the price chart. A thrust is a rate of change beyond a percent threshold. A pullback is price easing back toward a short EMA or by a small tolerance after the thrust bar, and an RSI

Indicator v5 Oscillators & momentumBreakout
Updated 8 months ago · None stated GitHub repository of Thrust Breakout Algorithm

SPY Gamma (1DTE)

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 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 o

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

This technical indicator plots multiple analytical components directly on the price chart, combining Bollinger Bands, moving averages, relative strength index calculations, and average true range measurements. It generates buy and sell signals based on volatil

Indicator v5 TrendOscillators & momentum
Updated 9 months ago · None stated GitHub repository of Ultimate Buy and Sell Indicator
1 stars

An indicator on the price chart that filters price with a range-based line. The smoothed average absolute price change over a sampling period, 100 by default, is multiplied by a range multiplier to give a band size. The filter only moves when price leaves the

Indicator v5 TrendVolatility & bands
Updated 1 year ago · None stated GitHub repository of Range Filter Buy and Sell 5min
1 stars

This overlay indicator simulates a date-bounded Bitcoin dollar-cost average and separate long and short value-averaging books. Inside the start and end dates it adds a fixed USDT amount each bar, converts it at the close into BTC, and updates average price and

Indicator v5 Mean reversion
Updated 1 year ago · None stated GitHub repository of TeeLek Lab 04 Long/Short DCA+VA

Bollinger BandWidth

by ivansoft
1 stars

Plots Bollinger BandWidth, the distance between the upper and lower Bollinger Bands relative to the middle band, in a separate pane. Two extra lines track the highest value over a chosen expansion length and the lowest over a contraction length, both 125 bars

Indicator v6 Volatility & bands
Updated 1 year ago · None stated GitHub repository of Bollinger BandWidth
1 stars

An indicator that detects classic candlestick patterns and marks them with labels on the price chart. Patterns include engulfing, hammer, shooting star, doji variants, morning and evening stars, harami cross, dark cloud cover and piercing. Each pattern can be

Indicator v5 Candlestick patterns
Updated 1 year ago · None stated GitHub repository of Candlestick Patterns

Technical Analysis Namespace

by fiji-solutions
1 stars

This indicator calculates common technical analysis variables including RSI, Stochastic Oscillator, EMA moving average, ATR volatility, and MACD with signal and histogram. It plots the MACD line, signal line, and histogram in a separate pane. The script serves

Indicator v5 Oscillators & momentumMoving averages
Updated 2 years ago · None stated GitHub repository of Technical Analysis Namespace

Max Index

by JohnsonHsiao
1 stars

Max Index is an oscillator that measures range expansion and contraction over rolling periods. It calculates a rolling high-low range over a user-defined lookback window, applies double exponential smoothing to that range, computes the ratio between the two sm

Indicator v5 Volatility & bandsOscillators & momentum
Updated 3 years ago · None stated GitHub repository of Max Index
1 stars

A moving average drawn on the price chart that uses a beta-shaped weighting function, letting the user trade lag against smoothness. Two parameters, one labeled minus lag and one plus lag, reshape the weights across the window, while the length and source are

Indicator v4 Moving averages
Updated 4 years ago · None stated GitHub repository of BWMA Beta Weighted Moving Average

Asymmetrical RSI

by everget
947 stars

Asymmetrical RSI is an indicator that computes a custom relative strength index from the rate of change of a user-selected source. It plots the resulting ARSI line in a separate pane with color coding that turns green above the overbought level and red below t

Indicator v4 Oscillators & momentum
Updated 13 days ago · GPL-3.0 GitHub repository of Asymmetrical RSI

The Momentum Setup is a multi-indicator visual tool designed for trend and momentum analysis directly on the price chart. It combines Relative Strength Index (RSI), Money Flow Index (MFI), Commodity Channel Index (CCI), Supertrend, and a 250-bar percentage cha

Indicator v5 Oscillators & momentumTrend
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup - Ankush Bajaj Momentum Investing Setup

AIR-tracker

by Allen1212
303 stars

AIR-tracker is an overlay indicator that plots historical buy and sell transactions executed by ARK Invest for the corresponding stock on the price chart. It draws green labels below bars for buy events and red labels above bars for sell events based on hardco

Indicator v4
Updated 2 years ago · None stated GitHub repository of AIR-tracker

Function - Linear Regression

by ricardosantos79
261 stars

This indicator fits a linear regression through stored pivot highs and lows and draws the resulting channel on the price chart. A function returns predicted values, maximum and minimum deviations, and the average absolute deviation. Confirmed two-bar pivots up

Indicator v5 TrendSupport & resistance
Updated 4 years ago · None stated GitHub repository of Function - Linear Regression

Fair Value Gaps - Basic

by TradersPost
228 stars

This indicator detects bullish and bearish fair value gaps on the price chart and draws a translucent box for each gap. A bullish gap needs the high two bars back below the current low and a bullish middle candle; a bearish gap uses the opposite gap and a bear

Indicator v6 SMC / ICT / price action
Updated 3 months ago · None stated GitHub repository of Fair Value Gaps - Basic

LAMA-based Strategy

by capissimo
114 stars

This indicator calculates two Log-Normal Moving Averages (LAMA) based on John Ehlers' adaptive process and generates trend-following signals on the price chart. Entry signals trigger when the fast LAMA crosses the slow LAMA, optionally filtered by ATR volatili

Indicator v4 Moving averagesTrend
Updated 1 year ago · None stated GitHub repository of LAMA-based Strategy

Bandpass Filter (BPF)

by mihakralj
99 stars

This indicator calculates a bandpass series by cascading a highpass infinite impulse response filter with a lowpass filter. Lower and higher cutoff periods set the pass band, and the source input selects the series being filtered. It plots the source minus the

Indicator v6
Updated 4 weeks ago · Apache-2.0 GitHub repository of Bandpass Filter (BPF)

Linefill demo

by be-thomas
65 stars

This indicator draws a channel between the most recent confirmed pivot highs and pivot lows on the price chart. It stores the last two pivot high prices and the last two pivot low prices, then, on the last confirmed historical bar, extends a line through each

Indicator v5 Support & resistance
Updated 7 days ago · GPL-3.0 GitHub repository of Linefill demo
56 stars

This indicator plots an exponential moving average on the price chart. It calculates the EMA from a user-selected source, defaulting to the close, over a length that defaults to 44. An offset setting shifts the plotted line forward or backward by a chosen numb

Indicator v4 Moving averages
Updated 2 months ago · None stated GitHub repository of Moving Average Exponential

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