Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 114)

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

Indicators: All

This indicator calculates the velocity and acceleration for WaveTrend, StochRSI, and Money Flow Index (MFI) oscillators. By treating indicators as vector trajectories, it detects momentum exhaustion before traditional oscillator turns occur. It classifies mark

Indicator v6 Oscillators & momentumVolume
Updated 3 days ago · MIT GitHub repository of Momentum Trajectory [WavesUnchained]
7 stars

Calculates a proxy for options gamma hedging pressure by combining ATR-normalized candle range, price acceleration, and volume participation normalized by a volume moving average. The smoothed pressure metric is plotted as a color-coded histogram in a separate

Indicator v6 Volatility & bandsVolume
Updated 3 months ago · None stated GitHub repository of Gamma Hedging Pressure (Proxy)

Complete CRT System

by alboogycOdR
6 stars

This indicator identifies time-based candle range theory patterns on a higher timeframe, defaulting to four hours, and projects the matching high and low lines onto the price chart. The user chooses a 1AM, 5AM, or 9AM CRT model and can toggle fair value gap bo

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of Complete CRT System

This overlay indicator maps ICT Silver Bullet structure on the price chart for the 10-11 AM New York window. It draws demand and supply order blocks and fair value gaps, and marks high and low CISD levels. Users can refine order blocks as defensive or aggressi

Indicator v5 SMC / ICT / price actionSessions & time
Updated 2 months ago · None stated GitHub repository of Silver Bullet ICT Strategy [TradingFinder] 10-11 AM +FVG

Normalized Average True Range

by mushroom-men-Trading
2 stars

The Normalized Average True Range indicator calculates NATR as a percentage of the current close price using a true range based on the specified length. It plots the resulting value on a separate pane for easy viewing. The main input setting is the length para

Indicator v6 Volatility & bands
Updated 9 months ago · None stated GitHub repository of Normalized Average True Range

G Trend

by wynnforthework
2 stars

G Trend is an overlay indicator that builds ATR trailing stops around the midpoint of each bar and flips between a long and a short state when price crosses the opposite stop. A buy label appears when the state turns long and a sell label when it turns short.

Indicator v4 TrendVolatility & bands
Updated 1 year ago · None stated GitHub repository of G Trend

HMD Session Candles

by Web3Degenerate
2 stars

This Pine Script indicator plots session summary bars on the price chart for Tokyo, London, and New York sessions. It tracks open, high, low, and close values for each session period defined by user inputs. At session start and end, it draws purple bars showin

Indicator v5 Sessions & timeCandlestick patterns
Updated 2 years ago · None stated GitHub repository of HMD Session Candles

SMC Regime & News

by skipp-dev
1 stars

This indicator displays a notice table on the chart informing the user that the SMC Regime and News script is retired and has no supported Pine data connection. It was originally intended as a bridge for external data feeds, but as Pine Script cannot directly

Indicator v6 Screeners & dashboards
Updated 4 days ago · None stated GitHub repository of SMC Regime & News

P_syn_builtin_vars

by GammaExpansion
1 stars

P_syn_builtin_vars is a synthetic test indicator designed to verify engine execution of Pine Script built-in variables. It calculates cumulative sums across various built-in namespace properties, including price data, time indices, bar states, symbol informati

Indicator v6
Updated 7 days ago · MIT GitHub repository of P_syn_builtin_vars

DEPV2 DEBUG S35

by YuceSezar89
1 stars

DEPV2 DEBUG S35 is a debugging indicator that calculates multi-symbol trading signals using four methods: trend, momentum, volatility, and volume. It monitors 20 different crypto pairs including BTCUSDT, ETHUSDT, and others. The script allows users to select s

Indicator v6 TrendOscillators & momentum Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 DEBUG S35

BoS Boxes

by morindok
1 stars

Marks break-of-structure phases on the price chart. It finds confirmed pivot highs and lows using a configurable number of bars on each side, five by default. A close above the last pivot high sets a bullish state and a close below the last pivot low sets a be

Indicator v5 SMC / ICT / price actionTrend
Updated 7 weeks ago · None stated GitHub repository of BoS Boxes
1 stars

A trend flip indicator on the price chart, where BUY exits a short and enters long and SELL does the reverse. Version 2 makes a reversal a two-stage event: the opposite side must break the active ATR trail for consecutive closes, then show persistence, trade m

Indicator v6 TrendVolatility & bands Repaints
Updated 2 months ago · None stated GitHub repository of CODEX NEXUS v2 - Anti-Whipsaw MTF

Fable Bear LTF v1.4

by nishpa800
1 stars

A bearish-side detection indicator for lower timeframe charts that marks numbered signals on the price chart. Its engines include relative volume tiers, displacement with a default multiplier of five standard deviations, a VWMA with ATR Supertrend latch, pocke

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Fable Bear LTF v1.4
1 stars

A Pine Script v5 indicator in a separate pane, the third revision of a Hurst cycle trough marker, whose title spells trough as through. It filters the hl2 price with bandpass filters for cycles from 1 day to 18 years and marks cycle lows with labels and lines.

Indicator v5 Oscillators & momentumSupport & resistance
Updated 6 months ago · None stated GitHub repository of Hurst Through Marker V3
1 stars

This educational script demonstrates how to use the switch control statement in Pine Script to select between different moving average calculation types. It calculates a 10-period moving average based on user configuration, allowing selection between Exponenti

Indicator v6 Moving averages
Updated 1 year ago · None stated GitHub repository of Switch using an expression
1 stars

This indicator calculates the Relative Strength Index and identifies regular and hidden divergences between oscillator pivots and price pivots. It plots the RSI oscillator with overbought and oversold reference levels in a separate pane. When divergences occur

Indicator v5 Oscillators & momentumDivergence
Updated 1 year ago · None stated GitHub repository of RSI Divergence Indicator
947 stars

Renko Chart Identifier evaluates whether the current chart uses Renko brick formatting. It checks for price gaps between consecutive bars and verifies whether the bar body size remains constant relative to cumulative average bar size across historical bars. Th

Indicator v4
Updated 12 days ago · GPL-3.0 GitHub repository of Renko Chart Identifier

BILL-tracker

by Allen1212
303 stars

This overlay indicator marks historical ARK Invest purchases and sales of BILL on the price chart. It places green buy labels below bars and red sell labels above bars at hardcoded dates, with each label showing a buy or sell and an X count of ARK ETFs trading

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

VP

by dearvn
257 stars

This overlay indicator builds a session volume profile on the price chart. It bins volume into price rows for a chosen session, by default Daily, and draws the profile as up and down volume, total volume, or delta. It marks the point of control and the value-a

Indicator v5 VolumeSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of VP
228 stars

TradersPost Trading Checklist is an overlay indicator that evaluates a suite of popular technical conditions for long and short trade setups. It checks session-anchored VWAP, fast and slow EMA alignments and crosses, 200 SMA, RSI overbought or oversold conditi

Indicator v6 Screeners & dashboardsTrend
Updated 3 months ago · None stated GitHub repository of TradersPost Trading Checklist

Chop and Explode

by capissimo
114 stars

Chop and Explode is a momentum indicator designed to identify consolidation zones and potential breakout moves. It applies minimax scaling to price data over a set lookback window before calculating a Relative Strength Index (RSI). The indicator plots the modi

Indicator v4 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of Chop and Explode
99 stars

Calculates the Derivative Oscillator by applying double exponential moving average (EMA) smoothing to a Relative Strength Index (RSI) baseline and subtracting a simple moving average (SMA) signal line. Plotted in a separate pane alongside a zero reference line

Indicator v6 Oscillators & momentumMoving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of Derivative Oscillator (DOSC)

Barssince

by be-thomas
65 stars

This indicator demonstrates the usage of the barssince function in Pine Script v4. It calculates the number of bars elapsed since the last price drop where the close was less than the prior close, provided the current bar closed higher than the previous bar. I

Indicator v4
Updated 6 days ago · GPL-3.0 GitHub repository of Barssince

Session Based Statistical Levels w/Closes Table calculates and plots key statistical levels across distinct trading session windows on the main price chart. Traders can select standard global trading sessions such as London, Asia, or New York, set custom sessi

Indicator v5 Support & resistanceSessions & time
Updated 8 weeks ago · None stated GitHub repository of Session Based Statistical Levels w/Closes Table
47 stars

This indicator calculates and plots a Kaiser Window Moving Average directly on the price chart. It applies a symmetric finite impulse response filter using the Kaiser-Bessel window function, powered by a 25-term power series approximation of the modified Besse

Indicator v6 Moving averagesTrend
Updated 8 months ago · MIT GitHub repository of Kaiser Window Moving Average
37 stars

This indicator identifies the five-candle bearish continuation pattern known as the Falling Three Methods on the main price chart. It checks for an initial long bearish candle within a downtrend, three consecutive small bullish candles contained within the fir

Indicator v5 Candlestick patternsTrend
Updated 3 years ago · MIT GitHub repository of Falling Three Methods - Bearish

This indicator plots a directional volume and money flow profile directly on the price chart over a configurable lookback period. It displays total flow reference bars alongside directional delta bars to highlight buyer versus seller dominance at each price ti

Indicator v6 VolumeSupport & resistance
Updated 3 days ago · MIT GitHub repository of Money Flow Delta Profile [WavesUnchained]

GCM Volume-Price Essence

by eddiebelaval
7 stars

GCM Volume-Price Essence is a separate-pane oscillator that weights recent price change by a short-to-longer volume ratio and a volume impact factor. It plots the smoothed difference of fast and slow exponential flows, plus optional quantum base line, dynamic

Indicator v6 Oscillators & momentumVolume
Updated 3 months ago · None stated GitHub repository of GCM Volume-Price Essence

Complete CRT System

by alboogycOdR
6 stars

This overlay indicator projects higher-timeframe Candle Range Theory levels onto the current chart, with the analysis timeframe defaulting to H4. It draws CRT high and low lines for a selected time-based model, and can show fair value gap boxes and the most re

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of Complete CRT System

This SMC indicator plots major and minor order blocks along with fair value gaps on the price chart. It identifies demand and supply zones originating from ChoCh and BoS patterns, with separate main, sub, and all-zone categories. Users can toggle visibility an

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of Smart Money Concept [TradingFinder] Major Minor OB + FVG (SMC)

HMD Stochastic

by Web3Degenerate
2 stars

This indicator plots the Stochastic oscillator with %K in blue and %D in orange lines. It calculates the values using SMA on the Stoch function based on user inputs for %K length, %K smoothing, and %D smoothing. Long signals trigger on bullish engulfing candle

Indicator v5 Oscillators & momentumCandlestick patterns
Updated 2 years ago · None stated GitHub repository of HMD Stochastic

Test Div

by skipp-dev
1 stars

This test indicator evaluates basic arithmetic division in Pine Script v6. It declares two persistent integer variables, computes their quotient as a floating-point number, and plots the resulting constant value in a separate indicator pane. The script has no

Indicator v6
Updated 4 days ago · None stated GitHub repository of Test Div

P_syn_drawings

by GammaExpansion
1 stars

This Pine Script v6 indicator draws multiple objects on the price chart for testing. It creates a red dashed line from the previous low to the current low, a blue line from the previous high to the current high, and connects their endpoints. A green label show

Indicator v6 Support & resistanceCandlestick patterns
Updated 7 days ago · MIT GitHub repository of P_syn_drawings

DEPV2 DEBUG S36

by YuceSezar89
1 stars

DEPV2 DEBUG S36 is a multi-symbol quantitative research indicator rendered in a separate pane. It evaluates market conditions across up to twenty cryptocurrency pairs by combining four distinct analytical dimensions: trend, momentum, volatility, and volume. Us

Indicator v6 TrendOscillators & momentum Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 DEBUG S36

Capital Flow & USDT

by morindok
1 stars

This indicator overlays a capital-flow table on the price chart. It watches up to twenty user-chosen symbols, defaulting to major Binance USDT pairs, and relates them to the current chart symbol. A volume-average length and a flow-sensitivity threshold control

Indicator v5 VolumeScreeners & dashboards
Updated 7 weeks ago · None stated GitHub repository of Capital Flow & USDT

Fable Bull HTF v1

by nishpa800
1 stars

The first release of a bullish-side detection indicator for higher timeframe charts. It marks numbered signals on the price chart from relative volume tiers, a standard deviation displacement test, a VWMA with ATR Supertrend latch, pocket pivots and fair value

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Fable Bull HTF v1
1 stars

A Pine Script v5 indicator in a separate pane, the fourth revision of a Hurst cycle trough marker, whose title spells trough as through. The hl2 price goes through bandpass filters for cycles from 1 day to 18 years, and labels and lines are drawn where cycle l

Indicator v5 Oscillators & momentumSupport & resistance
Updated 6 months ago · None stated GitHub repository of Hurst Through Marker V4

Technical Ratings

by ivansoft
1 stars

Displays a table of technical ratings for the chart symbol, using an imported rating library that combines moving averages and oscillators. Each row can show the rating from all indicators, oscillators only or moving averages only, as Strong Sell, Sell, Neutra

Indicator v6 Screeners & dashboardsOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Technical Ratings

RSI with Boll %B

by zhuzp98
1 stars

An oscillator shown in a separate pane. It builds an RSI centred on zero with a short default length, smooths it with an EMA, and measures how far the RSI sits from that average in standard-deviation units, similar to Bollinger %B. Dashed lines mark plus and m

Indicator v5 Oscillators & momentumMean reversion
Updated 1 year ago · None stated GitHub repository of RSI with Boll %B
947 stars

Calculates the percentage return on investment measured from a user-defined start date or the chart's historical beginning. The script measures price performance relative to the initial bar's open price and plots the resulting percentage curve in a separate pa

Indicator v4
Updated 12 days ago · GPL-3.0 GitHub repository of Return on Investment (ROI)

BLCM-tracker

by Allen1212
303 stars

This indicator visualizes historical ARK Invest transactions for Bellicum Pharmaceuticals (BLCM) directly on the price chart. It plots labeled markers above or below price bars based on fixed historical trade timestamps, displaying whether ARK bought or sold s

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

This indicator detects a large set of classic candlestick patterns and plots colored labels on the price chart. Trend context uses a 50-period simple moving average, or the 50 and 200 averages stacked together, and can be switched off. Users filter bullish, be

Indicator v4 Candlestick patternsTrend
Updated 7 weeks ago · None stated GitHub repository of Snag - All Candlestick Patterns
114 stars

Chop and Explode for XBTUSD, etc calculates a relative strength index (RSI) applied to price data scaled via a minimax normalization function over a specified lookback period. It plots the custom RSI line in a separate pane with horizontal reference bands and

Indicator v4 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of Chop and Explode for XBTUSD, etc

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