Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 112)

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

An overlay indicator that studies how price approaches, tests and resolves confirmed swing zones, role-reversal levels and CUSUM change-point levels that fade with age. A state machine follows a level, impulse, pullback and higher-low or lower-high sequence an

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 8 days ago · GPL-3.0 GitHub repository of Structure Physics v4 Rotation Confirmation

DEPV2 DEBUG S30

by YuceSezar89
1 stars

This indicator monitors and analyzes up to twenty cryptocurrency perpetual futures pairs from a separate pane. It evaluates market conditions across four distinct analytical dimensions: trend, momentum, volatility, and volume. The script tests signal confirmat

Indicator v6 Screeners & dashboardsTrend Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 DEBUG S30

This indicator detects higher-timeframe order blocks and fractals to generate scored reversal signals directly on the price chart. It evaluates candidate setups using a multi-factor scoring system incorporating RSI momentum, trend EMAs, midpoint distance, and

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints

Breakout Pattern Setup

by vedkanani123
1 stars

A pattern indicator on the price chart that looks for converging channels, such as triangles and wedges, from swing pivots. A channel needs a minimum number of touches per boundary, a maximum width, a minimum convergence rate and ATR-based tolerances. Breakout

Indicator v6 BreakoutSupport & resistance
Updated 2 months ago · None stated GitHub repository of Breakout Pattern Setup

Fable Bear HTF v1.4

by nishpa800
1 stars

A bearish-side detection indicator for higher timeframe charts that places numbered signals on the price chart. Its engines cover relative volume tiers, displacement by a standard deviation multiplier, a VWMA with ATR Supertrend latch, pocket pivots, fair valu

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

A Pine Script v5 indicator in a separate pane, the fifth revision of a Hurst spectral oscillator. The hl2 price passes through bandpass filters for cycles from 1 day to 18 years, and the resulting waves are drawn with an optional composite line. Bandwidth and

Indicator v5 Oscillators & momentum Repaints
Updated 6 months ago · None stated GitHub repository of Hurst Spectral Analysis Oscillator V5

TMA Overlay

by webcrack4
1 stars

TMA Overlay plots four smoothed moving averages of close, with lengths 21, 50, 100 and 200, on the price chart. The 100-period line can be hidden. It fills the area between a two-period EMA and the 200-period smoothed average green or red according to which is

Indicator v4 Moving averagesCandlestick patterns
Updated 9 months ago · None stated GitHub repository of TMA Overlay
1 stars

Plots the Rank Correlation Index of a chosen source over a set length, 10 by default, in a separate pane with bands at plus and minus 80 and a middle line. An optional smoothing line can be added using SMA, EMA, SMMA, WMA or VWMA, or SMA with Bollinger Bands w

Indicator v6 Oscillators & momentum
Updated 1 year ago · None stated GitHub repository of Rank Correlation Index

Range Candles

by everget
947 stars

Plots custom-colored candlesticks directly over the price chart. It determines the direction of each bar by comparing the close price to the open price and colors the candle bodies, borders, and wicks accordingly. The user inputs allow customization of the bul

Indicator v4 Candlestick patterns
Updated 12 days ago · GPL-3.0 GitHub repository of Range Candles

BEKE Tracker

by Allen1212
303 stars

Visualizes historical buy and sell transactions by ARK Invest ETFs for KE Holdings Inc. (BEKE) directly on the price chart. The indicator plots colored labels at specific historical timestamps indicating when ARK funds purchased or sold shares, along with a mu

Indicator v4
Updated 2 years ago · None stated GitHub repository of BEKE Tracker
257 stars

An overlay indicator that combines an ATR-based SuperTrend trailing stop with an integrated RSI-derived midline calculation on the price chart. The SuperTrend uses an ATR period and factor multiplier to plot dynamic green or red trend lines based on price dire

Indicator v5 TrendVolatility & bands
Updated 7 weeks ago · None stated GitHub repository of SuperTrend ATR + RSI
228 stars

Calculates and plots Smart Money Concepts (SMC) elements directly on the price chart, including swing and internal market structure (Break of Structure and Change of Character), order blocks, fair value gaps, and liquidity pools. Features multi-timeframe analy

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 months ago · None stated GitHub repository of Smart Money Concepts - Suite

Aggregate Signal (v.2)

by capissimo
114 stars

Aggregate Signal (v.2) is an oscillator indicator that combines multiple technical factors into a single composite score. It scales OHLCV data using minimax normalization and evaluates indicators such as MACD, RSI, Stochastic, CCI, Momentum, On-Balance Volume,

Indicator v4 Oscillators & momentumMoving averages Repaints
Updated 1 year ago · None stated GitHub repository of Aggregate Signal (v.2)
99 stars

Calculates the statistical covariance between the current chart instrument and an external symbol over a specified rolling window. The calculation uses an optimized circular buffer to maintain running sums and computes joint variability in a single pass. Users

Indicator v6
Updated 4 weeks ago · Apache-2.0 GitHub repository of Covariance (COVARIANCE)

Bar Count

by be-thomas
65 stars

This indicator plots the number of bars that have elapsed since the start of the loaded chart. It adds one to the built-in bar index and draws that value as a histogram on the price chart. The study uses overlay mode with a none scale, so the histogram does no

Indicator v4
Updated 6 days ago · GPL-3.0 GitHub repository of Bar Count
47 stars

This overlay indicator maps Asia, London, and New York session ranges on the price chart and compares later price action with the Asia range. It draws optional session boxes, a grid of Asia-range multiples from the New York open, and statistical extension and

Indicator v5 Sessions & timeSupport & resistance
Updated 8 weeks ago · None stated GitHub repository of NY vs Asia Statistical Levels

This indicator calculates the Integral of Linear Regression Slope (ILRS), an overlay trend filter originally described by John Ehlers. It computes the rolling least-squares linear regression slope over a user-defined window using a circular buffer and integrat

Indicator v6 TrendMoving averages
Updated 8 months ago · MIT GitHub repository of Integral of Linear Regression Slope (ILRS)

Engulfing - Bullish

by TWODS-CAPITAL
37 stars

This indicator marks a bullish engulfing candlestick on the price chart. It requires a white long-body candle whose body covers the previous black small-body candle, and it can require a downtrend defined by price below a 50-period SMA or by the 50-period SMA

Indicator v5 Candlestick patternsTrend
Updated 3 years ago · MIT GitHub repository of Engulfing - Bullish

Modern Trend Regime classifies price action into trend, range, and transition modes using a score rather than a strict conjunction of conditions. It builds fast, base, and slow structure from a price-range, EMA, WMA, or SMA calculation, then compares ATR-norma

Indicator v6 TrendVolatility & bands
Updated 3 days ago · MIT GitHub repository of Modern Trend Regime [WavesUnchained]

EMA System

by eddiebelaval
7 stars

EMA System plots four exponential moving averages on the price chart and marks a long-only pullback setup. It treats price above the 200 EMA and the 21 EMA above the 50 EMA as a valid trend, then flags a buy when price is near the 21 EMA, volume is below its s

Indicator v6 TrendMoving averages
Updated 3 months ago · None stated GitHub repository of EMA System

This indicator plots custom dual moving average crossovers directly on the price chart to signal potential Call (long) and Put (short) entries. Users can choose from SMA, EMA, WMA, VWMA, or HMA types for both moving averages. Upon a confirmed crossover, the sc

Indicator v5 Moving averagesTrend
Updated 5 months ago · None stated GitHub repository of Dual MA Crossover Call Put Targets
3 stars

This indicator plots trading signals and overlays directly on the price chart. It generates directional buy and sell signals filtered by configurable sensitivity, signal tuning, volume, and trend clouds. The script visualizes reversal dots, market structure sw

Indicator v5 TrendSupport & resistance
Updated 12 months ago · None stated GitHub repository of ZZ Algo | Signals & Overlays

Wick Hunter VWAP

by avatar-lavventura
2 stars

Calculates a custom Volume Weighted Average Price (VWAP) over a user-defined rolling period using standard HLC3 price data. It plots the central VWAP value alongside upper and lower percentage bands positioned 0.7 percent above and below the main average line.

Indicator v4 Moving averagesVolume
Updated 7 months ago · None stated GitHub repository of Wick Hunter VWAP
2 stars

The Dynamic Equity Allocation Model is an indicator that calculates and plots dynamic allocation percentages between equity and cash in a separate pane. It weighs five factors including market regime detection, risk metrics, valuation, sentiment, and macro con

Indicator v6 Screeners & dashboardsVolatility & bands
Updated 8 months ago · None stated GitHub repository of Dynamic Equity Allocation Model

Money Flow Index (MFI)

by mushroom-men-Trading
2 stars

This indicator calculates and plots the Money Flow Index (MFI) in a separate pane. It measures buying and selling pressure by weighting typical price movements with trading volume over a user-defined lookback window. The implementation uses circular buffers to

Indicator v6 Oscillators & momentumVolume
Updated 9 months ago · None stated GitHub repository of Money Flow Index (MFI)

HMD Bollinger Band Volatility

by Web3Degenerate
2 stars

This indicator measures volatility changes by tracking the expansion and contraction of Bollinger Bands over time. It calculates standard Bollinger Bands, measures the percentage difference in band width relative to a user-defined lookback period, and identifi

Indicator v5 Volatility & bands
Updated 2 years ago · None stated GitHub repository of HMD Bollinger Band Volatility

SMC Hold Manager

by skipp-dev
1 stars

SMC Hold Manager is a visual decision-support overlay for managing Smart Money Concept trade positions. It connects to the SMC Engine BUS v2 system or accepts manual trade inputs to display trade lifecycle levels on the price chart. The indicator tracks entry

Indicator v6 SMC / ICT / price actionVolatility & bands
Updated 4 days ago · None stated GitHub repository of SMC Hold Manager

P_fmt_tabs_mixed

by GammaExpansion
1 stars

P_fmt_tabs_mixed is an indicator that tracks net candle direction by maintaining a running cumulative counter. It increments the counter by one on bullish bars where the closing price exceeds the opening price, and decrements it by one on bearish bars where th

Indicator v6 Candlestick patternsOscillators & momentum
Updated 7 days ago · MIT GitHub repository of P_fmt_tabs_mixed

DEPV2 DEBUG S32

by YuceSezar89
1 stars

DEPV2 is a multi-symbol cryptocurrency indicator that processes 20 major crypto pairs including BTC, ETH, SOL, BNB and others. It evaluates four signal classes consisting of trend, momentum, volatility and volume. Signals are generated according to user-select

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

Plots a dynamic level at the midpoint of the 50-bar high-low range and prints BUY or SELL markers on the price chart. It compares the recent summed distance between price and that level with earlier windows stepped back through history, and counts how often pr

Indicator v5 Mean reversionOscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of Auto Symmetric Reversal and Area

Bull Bear Market Ribbon

by vedkanani123
1 stars

A simple price-chart indicator that plots a fast and a slow moving average, defaulting to 21 and 55 periods, and fills the space between them as a ribbon. Both lines and the fill are blue when the fast average is above the slow one and red when below. The aver

Indicator v6 Moving averagesTrend
Updated 2 months ago · None stated GitHub repository of Bull Bear Market Ribbon

Fable Bear LTF v1

by nishpa800
1 stars

The first release of a bearish-side detection indicator for lower timeframe charts. It draws 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 Bear LTF v1

A Pine Script v5 indicator in a separate pane, the sixth revision of a Hurst spectral oscillator. It filters the hl2 price with bandpass filters for cycles from 1 day to 18 years and plots the waves along with an optional composite line. Every cycle has its ow

Indicator v5 Oscillators & momentum Repaints
Updated 6 months ago · None stated GitHub repository of Hurst Spectral Analysis Oscillator V6
1 stars

This indicator calculates and plots a volume profile histogram directly on the price chart using data from a specified lookback period. It divides the price range into horizontal rows to visualize volume distribution across price levels over recent price actio

Indicator v4 VolumeSupport & resistance
Updated 9 months ago · None stated GitHub repository of Volume Profile [LuxAlgo]

RCI Ribbon

by ivansoft
1 stars

Plots three Rank Correlation Index lines of different lengths, 10, 30 and 50 bars by default, in one separate pane, coloured blue, red and green. Horizontal levels at zero and plus and minus 80 frame the range with a shaded area between the outer levels. Sourc

Indicator v6 Oscillators & momentum
Updated 1 year ago · None stated GitHub repository of RCI Ribbon
1 stars

An indicator component that computes a volume weighted average price with a standard deviation band, restarting at the start of each session by default, and plots the line and the band edges with a fill. The code can also anchor on week, month, quarter, year,

Indicator v5 VolumeSupport & resistance
Updated 1 year ago · None stated GitHub repository of Neural Network Sub 43 VWAP
947 stars

The Recursive Median Filter combines a median percentile calculation with a lowpass exponential filter to smooth price action directly on the main price chart. It calculates the median source value across a specified median length and recursively blends it usi

Indicator v4 TrendMoving averages
Updated 12 days ago · GPL-3.0 GitHub repository of Recursive Median Filter

BEZQ Tracker

by Allen1212
303 stars

BEZQ Tracker visualizes historical buy and sell transactions made by ARK Invest for the BEZQ ticker directly on the price chart. It plots labels at specific historical dates to mark purchase and sale events recorded from ARK Invest data. Users can filter the d

Indicator v4
Updated 2 years ago · None stated GitHub repository of BEZQ Tracker

Bubbles Indicator

by capissimo
114 stars

The Bubbles Indicator measures volatility squeezes and expansion bursts using Bollinger Bands combined with a sinusoid oscillator and RSI divergence. It processes price data through scaled Bollinger Bands to highlight volatility changes while confirming trend

Indicator v4 Volatility & bandsOscillators & momentum Repaints
Updated 1 year ago · None stated GitHub repository of Bubbles Indicator
99 stars

This indicator plots a cumulative moving average, also called a running mean, of a chosen price series on the price chart. It updates one bar at a time with Welford's method, weighting each new value by one over the bar count so the line is the mean of all his

Indicator v6 Moving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of Cumulative Moving Average

Bar date/time

by be-thomas
65 stars

This indicator plots each bar's opening time as a numeric series in a separate pane. It uses Pine Script's built-in time value and draws one plot, not an overlay on price. There are no inputs, so the line follows the chart's bar timestamps without filters or o

Indicator v4 Sessions & time
Updated 6 days ago · GPL-3.0 GitHub repository of Bar date/time

Oscillator Suite

by TamaraKGreen
47 stars

Oscillator Suite plots a normalised price oscillator in a separate pane and overlays a signal line that can use SMA, EMA, WMA, HMA, RMA, VWMA, T3, ZEMA, KAMA, or GKEMA. It marks bullish and bearish divergences, a smoothed money-flow series, confluence areas an

Indicator v5 Oscillators & momentumDivergence
Updated 8 weeks ago · None stated GitHub repository of Oscillator Suite
47 stars

The Interquartile Range (IQR) indicator measures the statistical dispersion of price data over a user-defined lookback window. It computes the 25th percentile (Q1) and 75th percentile (Q3) using array sorting and linear interpolation, plotting the difference b

Indicator v6 Volatility & bands
Updated 8 months ago · MIT GitHub repository of Interquartile Range (IQR)

Envelope

by TWODS-CAPITAL
37 stars

This indicator plots a percentage envelope around a moving average of the selected source on the price chart. It computes a simple or exponential moving average as the basis, then places upper and lower bands a fixed percentage above and below that line. The l

Indicator v5 Moving averagesVolatility & bands
Updated 3 years ago · MIT GitHub repository of Envelope

This indicator implements a Wyckoff method state machine that tracks accumulation, distribution, markup, and markdown regimes across phases A through E. It identifies structural events including springs, UTADs, SOS, SOW, LPS, LPSY, and climactic bars using ATR

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 3 days ago · MIT GitHub repository of Modern Wyckoff State Machine Lite [WavesUnchained]

Triple EMA + Stochastic

by krosenfeld7
5 stars

This overlay indicator combines three Exponential Moving Averages (EMAs) with a Stochastic RSI to plot trend-following trade setup labels on the price chart. It checks for sequential EMA alignment alongside Stochastic RSI crossovers and specific candle price p

Indicator v4 Moving averagesOscillators & momentum
Updated 3 years ago · Apache-2.0 GitHub repository of Triple EMA + Stochastic

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