Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 88)

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

P Ver Plot Offset Series

by GammaExpansion
1 stars

This indicator plots the close price series with an offset determined by bar index modulo 5. The offset creates a shifted visual series for plotting purposes on the chart. It draws the plot directly on the main price chart pane. No trading signals or exits exi

Indicator v6 Support & resistance
Updated 8 days ago · MIT GitHub repository of P Ver Plot Offset Series

DEPV2 C5 - Mod Secici

by YuceSezar89
1 stars

DEPV2 C5 Mod Secici is a signal mode selection indicator designed primarily for 15-minute timeframes. It evaluates market conditions across four primary dimensions: HLC3 moving average trend scores, momentum rate-of-change z-scores, volatility expansions via f

Indicator v6 TrendOscillators & momentum
Updated 2 weeks ago · None stated GitHub repository of DEPV2 C5 - Mod Secici
1 stars

A price-chart indicator by AlgoAlpha that builds reversal bands around a moving basis, with band width set from a percentile of recent price moves. When price reaches a band it marks a bullish or bearish reversal signal and starts an ATR-based trailing stop li

Indicator v6 Mean reversionVolatility & bands
Updated 2 months ago · None stated GitHub repository of Reversal Signals & Trailing Stop
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

Turtle Trading System

by GreyssonEnterprises
1 stars

An indicator that plots a Donchian channel from the highest high and lowest low over a chosen length, with an optional midpoint line and shaded fill. It marks a bullish signal when the upper band rises and a bearish signal when the lower band falls, colours th

Indicator v5 BreakoutTrend
Updated 3 months ago · MIT GitHub repository of Turtle Trading System
1 stars

US Swing Entry Planner plans swing trading entries on daily price charts using dual entry models: pullback limit buys near the fast EMA and breakout buy-stop orders above pivot highs. It calculates ATR-based stop loss and profit targets along with position siz

Indicator v5 TrendMoving averages
Updated 4 months ago · None stated GitHub repository of US Swing Entry Planner

RSI Divergence

by rubbermetal
1 stars

RSI Divergence subtracts a slow RSI from a fast RSI and plots the difference as a four-color histogram in a separate pane. Color shows whether the gap is positive or negative and whether it is growing or shrinking. Markers appear on the bar where the gap cross

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

Support & Resistance Basic

by shubhamtaywade82
1 stars

Draws horizontal support and resistance lines on the price chart from confirmed pivot lows and pivot highs. Each level is added only after the pivot length has passed, so it appears with a delay of that many bars. Lines can extend left or right, carry price la

Indicator v6 Support & resistance Archived
Updated 5 months ago · None stated GitHub repository of Support & Resistance Basic
1 stars

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

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

BTC Delta MTF v3 Enhanced

by Focal-QuantAI
1 stars

An indicator on the price chart that estimates order flow from lower-timeframe sub-candles. It combines delta from a main 5 minute and a secondary 1 minute timeframe with weights, and can scale by a 60 minute trend filter. Added modules score delta exhaustion,

Indicator v5 VolumeOscillators & momentum Repaints
Updated 6 months ago · None stated GitHub repository of BTC Delta MTF v3 Enhanced

Liquidation Heatmap

by ymlee1104
1 stars

The Liquidation Heatmap indicator identifies potential liquidation zones on the price chart by detecting swing highs and lows, then calculates long and short liquidation volumes using selected sources such as volume, range, or their product. It extends bars to

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of Liquidation Heatmap

SPY Gamma (0DTE)

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 the same 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

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

Turtle Trading Rules

by webcrack4
1 stars

Turtle Trading Rules is an indicator based on the classic Turtle Trading Channels system, customized to generate JSON payloads for the OKX Signal Bot. It calculates price breakout channels using configurable entry and exit lengths (defaulting to 20 and 10 peri

Indicator v5 TrendBreakout
Updated 9 months ago · None stated GitHub repository of Turtle Trading Rules
1 stars

This indicator simulates and compares standard daily dollar-cost averaging against HMA-filtered long and short DCA execution models. It tracks accumulated position sizes, average cost prices, and accumulated or unrealized profit within a user-specified date wi

Indicator v5 TrendMoving averages
Updated 1 year ago · None stated GitHub repository of TeeLek Lab 03 DCA and Pause X

Bollinger Bands %b

by ivansoft
1 stars

Plots Bollinger Bands %b, which shows where price sits relative to the bands, in a separate pane. Values near one mean price is at the upper band, near zero at the lower band and 0.5 at the middle. Length, source and standard deviation multiplier are adjustabl

Indicator v6 Volatility & bandsMean reversion
Updated 1 year ago · None stated GitHub repository of Bollinger Bands %b

Bollinger Bands

by zhuzp98
1 stars

A variation on Bollinger Bands drawn on the price chart. It uses a 21-period EMA of the HLC3 price as the basis, with upper and lower bands set by a standard deviation multiplier. It also calculates a band position value and an EMA of band width, shown in the

Indicator v5 Volatility & bandsMean reversion
Updated 1 year ago · None stated GitHub repository of Bollinger Bands

Piercing Line & Dark Cloud

by fiji-solutions
1 stars

This Pine Script indicator plots the 50 percent mark of the previous bar's range and detects Piercing Line bullish reversal and Dark Cloud bearish reversal candlestick patterns. It uses a 7-period RSI filter where signals require RSI below 30 for bullish and a

Indicator v5 Candlestick patterns
Updated 2 years ago · None stated GitHub repository of Piercing Line & Dark Cloud

Bjorgum Reversal

by amico1234
1 stars

Bjorgum Reversal is an overlay indicator that combines Tillson T3 moving averages, Parabolic SAR, and the True Strength Index to identify trend direction and potential reversal points. It recolors candles to signal trends and potential crossovers, while plotti

Indicator v4 TrendOscillators & momentum
Updated 2 years ago · None stated GitHub repository of Bjorgum Reversal

MA Angles

by nvFede
1 stars

A Pine v4 indicator in a separate pane that measures the angle, in degrees, of several moving averages including a Jurik moving average. The comments say the angles indicate whether momentum is rising or falling. A threshold in degrees defines low-slope zones,

Indicator v4 Oscillators & momentumMoving averages
Updated 3 years ago · None stated GitHub repository of MA Angles

Linear Slope & Delta2

by JohnsonHsiao
1 stars

This indicator measures how a linear regression of the close changes over a chosen shift, then measures how that slope itself changes. It plots the slope and a second difference in a separate pane with a zero baseline. The regression length sets how many bars

Indicator v5 TrendOscillators & momentum
Updated 3 years ago · None stated GitHub repository of Linear Slope & Delta2

Hotch v1.02

by rajatjpatel
1 stars

A Pine v4 overlay that finds Williams-style fractals over an adjustable period and combines them with a recent RSI low or high. When a down fractal forms after RSI dipped into one of three bands, up triangles of different shades appear under the bar, offset ba

Indicator v4 Oscillators & momentumSupport & resistance
Updated 4 years ago · None stated GitHub repository of Hotch v1.02
947 stars

The Apirine Adaptive Moving Average calculates a dynamic moving average that adjusts its sensitivity according to price volatility and position within a recent range. It uses highest high and lowest low values over a selected lookback period to scale a smoothi

Indicator v4 TrendMoving averages
Updated 13 days ago · GPL-3.0 GitHub repository of Apirine Adaptive Moving Average

This overlay indicator screens a pasted list of up to forty symbols and draws a table on the price chart. It classifies bullish or bearish setups from the percent change between the current candle and the candle 250 bars back, then shows RSI with a simple movi

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

ADYEY-tracker

by Allen1212
303 stars

Plots historical buy and sell transactions made by ARK Invest for Adyen (ticker: ADYEY) directly onto the price chart. The indicator visualizes institutional trade activity by generating green labels below bars for purchases and red labels above bars for sales

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

This indicator estimates a probability density from a stored set of observations using kernel density estimation. It offers several kernels, including Gaussian as the default, and plots the resulting density in a separate pane. Bandwidth controls smoothness an

Indicator v5
Updated 4 years ago · None stated GitHub repository of Function - Kernel Density Estimation (KDE)
114 stars

This indicator calculates a quadratic regression polynomial curve on price data to identify trend direction and potential dynamic support or resistance. It applies selected forecasting methods, such as seasonal naive or simple mean, to project future values. B

Indicator v4 TrendVolatility & bands
Updated 1 year ago · None stated GitHub repository of Forecasting: Quadratic Regression

Balance of Power (BOP)

by mihakralj
99 stars

This indicator calculates the Balance of Power oscillator to gauge underlying buying and selling pressure by evaluating the position of the close relative to the open against the bar high-low range. It provides an option to smooth raw values using an exponenti

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Balance of Power (BOP)

Holiday candles

by be-thomas
65 stars

Holiday candles is a Pine Script v5 overlay indicator that recolors price candles. It builds a color from random red, green, and blue values and a random transparency level using color.rgb, then draws each bar with plotcandle from the open, high, low, and clos

Indicator v5 Candlestick patterns
Updated 7 days ago · GPL-3.0 GitHub repository of Holiday candles

DeMarker

by iamc1oud
56 stars

This indicator plots a DeMarker oscillator in a separate pane. It compares positive changes in highs with negative changes in lows, smooths both series with a selectable moving average, and scales the result from 0 to 100. The line is colored when it is above

Indicator v4 Oscillators & momentum
Updated 2 months ago · None stated GitHub repository of DeMarker
55 stars

The script identifies market structure key levels by calculating pivot highs and pivot lows across a fixed fifteen-bar lookback and lookahead window. It plots confirmed resistance pivots as red circles and support pivots as green crosses directly on the price

Indicator v6 Support & resistance Repaints
Updated 6 months ago · Apache-2.0 GitHub repository of Support & Resistance Levels

6-9 session & levels

by TamaraKGreen
47 stars

This indicator marks a user-defined session, defaulting to 06:00-09:00 in the America/New_York time zone, and draws that session's high-low range on the price chart. It can show a session anchor, a session open line, a shaded range box, and horizontal levels a

Indicator v6 Sessions & timeSupport & resistance
Updated 8 weeks ago · None stated GitHub repository of 6-9 session & levels
47 stars

This diagnostic utility injects missing (na) values into an input data series at regular cyclic intervals to test how indicators handle corrupted or interrupted data feeds. The user can configure the input source, the repetition interval, and the length of eac

Indicator v6
Updated 8 months ago · MIT GitHub repository of Dirty Data Injection (DIRTY)
29 stars

This indicator marks bars whose range exceeds a multiple of the average bar range, calculated as a simple average of prior ranges. On those bull or bear bars it draws the high-low midpoint and the midpoint between the close and the opposite extreme, as dotted

Indicator v5 Support & resistance
Updated 2 weeks ago · MIT GitHub repository of Zen Big Bar Midpoints
9 stars

This indicator plots a heuristic volume-balance oscillator in a separate pane. It estimates signed volume from the close location inside each bar, multiplies that by volume, and sums the proxy over a rolling window. The sum is scaled between minus one and plus

Indicator v6 VolumeOscillators & momentum
Updated 4 days ago · MIT GitHub repository of CVD Bias [WavesUnchained]

Volume Surprise [LuxAlgo]

by MeridianAlgo
9 stars

Volume Surprise plots volume against a historical summary for matching time periods in a separate pane. It groups past volume by minutes, hours, days, months, or quarters, then summarizes each group with a mean or a percentile. Length sets the sample window an

Indicator v6 Volume
Updated 4 months ago · MIT GitHub repository of Volume Surprise [LuxAlgo]
8 stars

This indicator plots a smoothed stochastic, a Schaff Trend Cycle, and a WaveTrend oscillator in a separate pane. It draws percent K and percent D between fixed upper and lower bands and marks their crosses when percent D is under 30 or over 70. The STC is a do

Indicator v4 Oscillators & momentum
Updated 4 years ago · None stated GitHub repository of Stochastic with STC X

LunarTick VWAP

by lunarticktrading
7 stars

This overlay indicator plots a volume-weighted average price on the price chart, anchored to a chosen period such as the session, week, month, or longer calendar and corporate events. It draws up to three standard-deviation bands around the VWAP, with multipli

Indicator v6 VolumeVolatility & bands Repaints
Updated 3 weeks ago · None stated GitHub repository of LunarTick VWAP

stelaraX - Momentum

by eddiebelaval
7 stars

This indicator plots momentum of a chosen price source over a user-set period in a separate pane. It calculates the difference between the current source value and the value that many bars earlier, then draws the result as a histogram. Positive values appear g

Indicator v6 Oscillators & momentum
Updated 3 months ago · None stated GitHub repository of stelaraX - Momentum

MA Rate of Change

by suyons
7 stars

This indicator calculates a user-selected moving average of the source and plots that average's rate of change in a separate pane. Users choose among SMA, EMA, WMA, HMA, RMA, VWMA, and ALMA, plus length and source. ROC length and a multiplier scale the plotted

Indicator v5 Moving averagesOscillators & momentum
Updated 4 months ago · None stated GitHub repository of MA Rate of Change
6 stars

The Capital41 Structure Swings v3 indicator tracks market structure on the main price chart using pivot detection. It identifies swing highs and swing lows based on a user-defined pivot length, plotting labels and horizontal dotted level lines at active swing

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 2 months ago · MIT GitHub repository of Capital41 Structure Swings v3

This indicator is a research diagnostic that builds a volume profile over a user-defined swing range and draws it on the price chart. It allocates each bar's volume by exact high and low tick overlap across fine, base, and coarse row sizes. It marks a volume n

Indicator v6 Volume
Updated 5 days ago · MPL-2.0 GitHub repository of VP RSD Local Node Edge Consensus Diagnostic
5 stars

This indicator measures the drift or directional slope of a series relative to its deviation or range over a chosen lookback period. It can transform the input series by differencing, integrating, or keeping the original prices. The metric evaluates the slope

Indicator v5 Oscillators & momentumTrend
Updated 8 months ago · None stated GitHub repository of Quick scan for drift
4 stars

This indicator is a live strategy scanner for cryptocurrency pairs. It runs six strategies on the current chart, tracks their wins and losses, and rates them to show the best one for this pair and timeframe. It uses ATR for adaptive TP/SL, auto-scales based on

Indicator v5 Oscillators & momentumVolatility & bands
Updated 3 days ago · None stated GitHub repository of Crypto Pair Selector v2 STEPFUN

Noob's Indicators

by InNoobWeTrust
4 stars

This Pine Script indicator plots multiple exponential moving averages in a separate pane for technical analysis. It calculates Elliott wave EMAs using Fibonacci wave counts of 34 and 89, plus 200-session and golden ratio lines. Additional Pythagorean cloud lev

Indicator v5 Moving averagesSupport & resistance
Updated 3 days ago · None stated GitHub repository of Noob's Indicators
4 stars

This indicator tracks the high and low of a user-defined intraday session and plots them as broken horizontal lines on the price chart. It can also show the previous session extremes and places a label at each session start. The session window, previous-level

Indicator v5 Sessions & timeSupport & resistance
Updated 11 months ago · Custom licence GitHub repository of Session High/Low Indicator [Lab]

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