Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 90)

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

55 stars

This indicator overlays on the price chart and provides trend and momentum analysis. It calculates and plots three exponential moving averages with fixed periods of 20, 50, and 200 using yellow, orange, and blue colors respectively. The script also computes th

Indicator v6 TrendOscillators & momentum
Updated 6 months ago · Apache-2.0 GitHub repository of Trend & Momentum Analysis

8020 System Indicator

by TamaraKGreen
47 stars

This overlay indicator draws 80/20 price levels and optional 40-point zone bands on the price chart. It marks repairs, cross sections, and forks with optional letter labels, and can highlight confluence when those marks sit near a level. Separate options shade

Indicator v6 Support & resistanceCandlestick patterns
Updated 8 weeks ago · None stated GitHub repository of 8020 System Indicator
47 stars

The Donchian Channels indicator plots the middle basis line as the average of the high and low over the user-defined period. It also draws the upper band as the highest high and the lower band as the lowest low across the same period on the price chart. The ma

Indicator v6 Volatility & bandsSupport & resistance
Updated 8 months ago · MIT GitHub repository of Donchian Channels (DCHANNEL)

Zen Gaps v5.0

by Zen-Tim
29 stars

This indicator draws colored boxes on the price chart to highlight gaps between bars. It detects bullish gaps when the current low exceeds the prior bar's high and bearish gaps when the current high falls below the prior bar's low. Strong gaps receive extra em

Indicator v5 Support & resistanceCandlestick patterns
Updated 2 weeks ago · MIT GitHub repository of Zen Gaps v5.0

Template

by benso87
24 stars

This is a template script for a TradingView Pine Script indicator. It provides empty sections for inputs, functions, calculations, plots, and alerts, plus helper functions for moving average types. Users must add their own code to implement logic. No calculati

Indicator v5 Moving averages
Updated 4 years ago · MPL-2.0 GitHub repository of Template

Calculates directional setup scores by evaluating market structure, Fibonacci retracement location, and momentum response metrics. It analyzes confirmed price pivots, movement efficiency, ATR-adjusted Fibonacci zones, and oscillator divergences across user-sel

Indicator v6 TrendOscillators & momentum
Updated 4 days ago · MIT GitHub repository of Directional Probability Engine [WavesUnchained]
9 stars

This indicator plots a volume-weighted moving average as a central trend baseline and surrounds it with ATR-based volatility bands. It colors the trend and optional price bars according to whether price is on the bullish or bearish side of those bands. Users c

Indicator v6 TrendMoving averages
Updated 4 months ago · MIT GitHub repository of Volume Weighted Trend [QuantAlgo]

Supertrendx3

by PipC
8 stars

The indicator calculates three distinct Supertrend lines on the main price chart using separate customizable ATR periods and multipliers. Users can switch between standard ATR and SMA-based true range calculations. It can highlight background trend states, dis

Indicator v4 TrendVolatility & bands
Updated 4 years ago · None stated GitHub repository of Supertrendx3

PaperHands

by lunarticktrading
7 stars

PaperHands is an indicator that plots entry, re-entry, and exit signals for LONG and SHORT positions in a separate pane. It calculates signals using multiple confluence conditions such as real candle color, Heikin-Ashi candle color and flat bottoms or tops, He

Indicator v6 TrendOscillators & momentum
Updated 3 weeks ago · None stated GitHub repository of PaperHands

Volatility Risk Premium

by eddiebelaval
7 stars

Calculates the Volatility Risk Premium (VRP) by comparing implied volatility against realized volatility calculated using Close-to-Close, Parkinson, or Garman-Klass methods. It plots VRP values as a histogram or line in a separate pane with optional Bollinger

Indicator v6 Volatility & bands
Updated 3 months ago · None stated GitHub repository of Volatility Risk Premium
6 stars

Capital41 Williams Flow Simple calculates current and higher-timeframe Williams %R values alongside a volume filter to identify trend regimes and momentum entries. It defines bullish, bearish, or chop market regimes using the higher-timeframe Williams %R. Entr

Indicator v6 TrendOscillators & momentum
Updated 2 months ago · MIT GitHub repository of Capital41 Williams Flow Simple v2

This overlay diagnostic builds three total-volume profiles from a fixed 15-minute source over a user-defined swing range. Fine, base, and coarse grids use row sizes near the base tick setting and assign each bar's volume by high-low tick overlap. Local density

Indicator v6 Volume
Updated 5 days ago · MPL-2.0 GitHub repository of VP RSD Multi-Resolution Consensus Diagnostic
5 stars

This indicator computes and plots a harmonic moving average alongside optional central tendency measures directly on the price chart. It calculates the harmonic mean, geometric mean, simple arithmetic mean, median, and midrange over a user-defined lookback win

Indicator v4 Moving averagesTrend
Updated 8 months ago · None stated GitHub repository of Harmonic Moving Average

Elton's Kimi Claw

by eltonaguiar
4 stars

This indicator calculates a composite volume score using relative volume ratios, short-term volume trends, moving averages, and spike thresholds. It plots buy and sell signals directly on the price chart alongside Average True Range based take-profit and stop-

Indicator v5 VolumeVolatility & bands
Updated 3 days ago · None stated GitHub repository of Elton's Kimi Claw
4 stars

The Smart Money Concepts Analyzer draws key price action zones directly on the main price chart. It identifies bullish and bearish order blocks using historical candle sequences, highlights fair value gaps exceeding a user-defined percentage threshold, labels

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 11 months ago · Custom licence GitHub repository of Smart Money Concepts Analyzer [Lab]
4 stars

This indicator modifies the classic Supertrend calculation by incorporating the Commodity Channel Index (CCI) to determine trend direction. It calculates ATR bands around the median price and updates trailing stop levels based on whether CCI is above or below

Indicator v4 TrendVolatility & bands
Updated 4 years ago · None stated GitHub repository of Simple Supertrend CCI
3 stars

This indicator plots the Parabolic SAR on the price chart and identifies trend reversals with buy and sell labels. It features multi-symbol screening capability, allowing traders to monitor predefined symbol groups or custom BIST stock lists on a selectable ti

Indicator v5 TrendScreeners & dashboards
Updated 3 days ago · None stated GitHub repository of Parabolic SAR Tarama

jash_GGMA_Granville

by jash-git
3 stars

This indicator implements a modified Guppy Multiple Moving Average (GMMA) framework based on Granville's trading rules. It calculates and plots five Fibonacci-based exponential moving averages (3, 13, 34, 55, and 144 EMAs) directly on the price chart. When the

Indicator v5 Moving averagesTrend
Updated 5 weeks ago · None stated GitHub repository of jash_GGMA_Granville
3 stars

Consecutive Candle Levels identifies sequences of consecutive bullish or bearish candles to establish price ranges and project horizontal extension levels directly onto the main price chart. The indicator calculates customizable Fibonacci ratio levels, upper a

Indicator v5 Support & resistanceCandlestick patterns
Updated 5 months ago · None stated GitHub repository of Consecutive Candle Levels

This indicator identifies and plots volumetric order blocks alongside trend strength on the price chart. It highlights recent bullish and bearish order blocks using full candles or custom length coordinates, displaying internal buy and sell activity, mid-lines

Indicator v5 SMC / ICT / price actionVolume

Vertical Hour Lines

by piecioshka
2 stars

Vertical Hour Lines draws vertical gridlines at user-defined intraday timestamps directly on the main price chart. It helps traders mark key session events, market opens, or specific time thresholds across any intraday timeframe. The script provides multiple c

Indicator v6 Sessions & time
Updated 13 days ago · MIT GitHub repository of Vertical Hour Lines
2 stars

This indicator calculates the Relative Strength Index from a chosen price source and length and plots it in a separate pane. It draws horizontal bands at 70, 50, and 30 and fills the area between the outer bands. An optional moving average can smooth the RSI u

Indicator v6 Oscillators & momentumMoving averages
Updated 6 weeks ago · None stated GitHub repository of Relative Strength Index

Intrabar Efficiency Ratio

by regalouisei
2 stars

Intrabar Efficiency Ratio calculates an efficiency ratio indicator using lower timeframe intrabar data to measure price efficiency and market noise. It plots in a separate pane using customizable visual modes such as Line, Candles, or Circles based on moving a

Indicator v6 Moving averagesVolatility & bands
Updated 8 months ago · None stated GitHub repository of Intrabar Efficiency Ratio

RSI Divergence

by Web3Degenerate
2 stars

The indicator detects RSI divergences on the price chart. It calculates the RSI using the close prices with a configurable length and identifies potential trend reversals by comparing swings in price and RSI values. Bullish divergence is signaled when price fo

Indicator v5 Oscillators & momentumDivergence
Updated 2 years ago · None stated GitHub repository of RSI Divergence

ZigZag Channel

by WISEPLAT
2 stars

Calculates ZigZag swing points, classifies market structure pivots into higher highs, lower highs, higher lows, and lower lows, and computes swing length ratios. It renders ZigZag lines, pivot labels, and channel bands directly on the main price chart. User se

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

This indicator combines three analysis tools into a single chart overlay: a custom trend signal script, a ZigZag indicator, and a swing high and low pattern detector. It calculates dynamic support and resistance thresholds based on high-low price ranges and a

Indicator v4 TrendSupport & resistance Repaints
Updated 4 years ago · MIT GitHub repository of Trendsignal + Zig Zag + Swing Highs/Lows Candle Patterns

Pivot Levels

by jayadevrana
1 stars

Pivot Levels identifies key structural high and low turning points on the price chart using customizable left and right bar confirmation periods. It calculates pivot highs and lows to plot horizontal resistance and support lines directly on the main chart pane

Indicator v6 Support & resistance
Updated 5 days ago · MPL-2.0 GitHub repository of Pivot Levels

SMC Long-Dip Mobile

by skipp-dev
1 stars

SMC Long-Dip Mobile is a compact companion surface and HUD indicator designed for mobile or small-screen chart viewing. It links to the main SMC Long-Dip Suite indicator outputs via plot sources, displaying setup state, quality score, and hero action or bias s

Indicator v6 SMC / ICT / price actionScreeners & dashboards
Updated 5 days ago · None stated GitHub repository of SMC Long-Dip Mobile

P_err_float_as_int_length

by GammaExpansion
1 stars

This indicator is a minimal Pine Script v6 fixture that calculates a simple moving average of the close and plots the result in a separate pane. It passes the close series, a floating-point value, as the length argument of the moving-average function, which ex

Indicator v6 Moving averages
Updated 8 days ago · MIT GitHub repository of P_err_float_as_int_length
1 stars

An indicator that draws a Dynamic P0 line on the price chart: a rolling volume-weighted equilibrium price computed over a window set in minutes, with a value area band around it. A dashboard table scores acceptance and rejection from P0 migration, new-location

Indicator v6 VolumeScreeners & dashboards
Updated 9 days ago · GPL-3.0 GitHub repository of Dynamic P0 Architecture Dashboard

DEPV2 D1 Giriş Kalitesi

by YuceSezar89
1 stars

This indicator evaluates trade entry quality across trend, momentum, volatility, and volume dimensions. It calculates momentum ROC z-scores, ATR-based volatility expansion, volume flow thresholds, and multi-timeframe Heikin Ashi alignment across multiple timef

Indicator v6 TrendOscillators & momentum
Updated 2 weeks ago · None stated GitHub repository of DEPV2 D1 Giriş Kalitesi
1 stars

An overlay indicator that detects pivot highs and lows on closing prices and draws a created line that extends to the right, plus a short confirmation line. Labels show the level, price and an Indian-time stamp, and each element has its own toggle. Break alert

Indicator v5 Support & resistanceBreakout
Updated 2 weeks ago · None stated GitHub repository of S (Or) R Breakout

Liquidity Zones

by morindok
1 stars

Builds a liquidity heat map on the price chart over the last 240 candles by default. The price range is split into rows and the history into time columns. Candle wicks, bodies and equal pivot highs and lows add weighted scores, and a candle body passing throug

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Liquidity Zones

Root Mean Deviation Trail

by vedkanani123
1 stars

An overlay indicator that measures how far price sits from a central EMA, smooths the signed deviation with a selectable moving average, and normalizes it with a root mean square deviation to scale a trailing band. The multiplier shrinks when deviation is stro

Indicator v6 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of Root Mean Deviation Trail
1 stars

Marks the bar where a volume order block zone is first confirmed, which is when the moving average crossover completes, so the marker does not move to an earlier bar later. A sensitivity bank input selects the set of six sensitivity lengths, or custom values c

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

Davo Indicator

by GreyssonEnterprises
1 stars

This indicator searches price and selected oscillators for five-point W and M formations, based on Davinci's dav-o meter but without a fixed five-bar window. It can scan close price, OBV, Williams %R, RSI, MFI, and DI plus and minus. Enabled sources, strictnes

Indicator v4 Oscillators & momentumVolume
Updated 3 months ago · MIT GitHub repository of Davo Indicator

V11 Swing Sniper Pro

by kevinesk
1 stars

V11 Swing Sniper Pro is a trend-following and swing timing indicator tailored for equity markets such as the KLSE. It overlays key moving averages directly on the price chart and evaluates setups across three structured tiers: trend quality based on Minervini

Indicator v5 TrendOscillators & momentum
Updated 4 months ago · None stated GitHub repository of V11 Swing Sniper Pro

Scalping BB CCI ROC

by rubbermetal
1 stars

Scalping BB CCI ROC is an indicator that marks Scalp L or Scalp S labels when the close is outside a Bollinger Band while CCI and rate of change are both beyond their thresholds in the same direction. It draws the bands with a fill colored by price position, a

Indicator v6 ScalpingMean reversion
Updated 4 months ago · MPL-2.0 GitHub repository of Scalping BB CCI ROC

Trendline Breakouts With Targets

by shubhamtaywade82
1 stars

Detects pivot highs and lows, draws sloping trendlines from them and marks breakouts on the price chart. After a breakout it shows take profit and stop loss visuals and a status table. Settings choose the pivot period, whether lines use wicks or candle bodies,

Indicator v6 Support & resistanceBreakout Archived
Updated 5 months ago · None stated GitHub repository of Trendline Breakouts With Targets
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. This variant uses looser body thresholds, allowing a base candle body up to the full can

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

Liquidation Heatmap

by ymlee1104
1 stars

This indicator draws a liquidation heatmap on the price chart. It estimates pocket intensity from volume, price range, or their product over a configurable lookback, then filters by minimum intensity and merges nearby labels. An optional ZigZag plots swings, w

Indicator v6 Support & resistanceVolume
Updated 7 months ago · None stated GitHub repository of Liquidation Heatmap

SPY Gamma (30DTE)

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

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

v5 Combination

by webcrack4
1 stars

This indicator calculates several variants of the MACD oscillator, including Traditional, Histogram, Leader, and Source methods, and overlays the oscillator directly on the price chart. It plots shape labels for MACD and signal line crossovers, while rendering

Indicator v5 Oscillators & momentumMoving averages
Updated 9 months ago · None stated GitHub repository of v5 Combination

Simple Market Metrics v5

by turnupdigital
1 stars

An indicator in a separate pane that shows buy and sell signals with optional chop, moving average and time-of-day filters. It adds profit target lines at a tick distance, a profit wave band, background trend colouring and candle colouring. Built-in text descr

Indicator v5 TrendScalping
Updated 1 year ago · None stated GitHub repository of Simple Market Metrics v5

Bollinger Bars

by ivansoft
1 stars

Restyles the chart's candles as an overlay. Bodies are coloured green when the close is above the open and red otherwise, while wicks are drawn in a fixed blue. It performs no calculation beyond the candle comparison and has no inputs or signals. It needs the

Indicator v6 Candlestick patterns
Updated 1 year ago · None stated GitHub repository of Bollinger Bars

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