Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 30)

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

Sentinel TA Score & Confluence

by FolahanWilliams
1 stars

An oscillator in a separate pane that combines RSI, MACD histogram, 50 and 200 SMA trend, Bollinger position, volume ratio and gap behaviour into a composite score from minus 100 to plus 100. It also plots long and short confluence readings from 0 to 100, an o

Indicator v6 Oscillators & momentumMean reversion
Updated 4 months ago · None stated GitHub repository of Sentinel TA Score & Confluence

LTF FractalsSweep + IFVG

by riegodavid-git
1 stars

An overlay indicator for lower timeframes that tracks the latest fractal highs and lows and draws a dotted line when price sweeps one, with an alert on bar close. It also detects fair value gaps, with optional filters for volume, ATR gap size and short-term tr

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 4 months ago · None stated GitHub repository of LTF FractalsSweep + IFVG

Candle Counter

by unemployedrabi
1 stars

Counts consecutive candles of the same colour and shows the running count as labels on the price chart. It also builds a table that records how often each streak length occurred and what followed. The price basis can be regular candles or Heikin Ashi. An alert

Indicator v5 Candlestick patterns
Updated 4 months ago · MIT GitHub repository of Candle Counter

Marketman Intraday Profile Indicator

by brandonking078-boop
1 stars

An indicator for the price chart aimed at index futures such as ES and NQ. It tracks the New York session, building a session volume profile from price and volume to derive the point of control and value area, and shows session VWAP with bands, previous day hi

Indicator v5 VolumeSessions & time
Updated 4 months ago · MIT GitHub repository of Marketman Intraday Profile Indicator

Unified Trade Signal

by ashishgkwd
1 stars

Unified Trade Signal is an overlay indicator that prints a buy or sell label only when several conditions agree on the same bar. For a buy, price must break above a Nadaraya-Watson envelope upper band, the fast EMA must be above the slow EMA, an adaptive trend

Indicator v6 TrendOscillators & momentum Repaints
Updated 4 months ago · None stated GitHub repository of Unified Trade Signal
1 stars

An indicator for the price chart that looks for pullbacks inside a trend. It uses ADX and directional indicators with a rising-ADX check to confirm trend and direction, then measures the distance from the recent swing high or low in ATR units. Optional filters

Indicator v5 TrendVolatility & bands
Updated 4 months ago · None stated GitHub repository of Trend Scanner (ATR Pullback)
1 stars

An oscillator in a separate pane that applies fractional differencing to price and converts it to a rolling Z-score for one-minute Nasdaq futures. It looks for snapback entries after a deep extreme beyond the band, with the price turning back, and can add pric

Indicator v6 Mean reversionOscillators & momentum
Updated 4 months ago · None stated GitHub repository of FracDiff Z NQ 1m Quality Setups

RTE Overlay GBPUSD 5M

by Jagadeesh963
1 stars

This overlay indicator draws a fixed visual snapshot on the GBPUSD price chart only when the last bar is forming. It places a translucent box labeled FVG, a horizontal line and label marked MSS, and a text label reading GBPUSD bullish, all using hardcoded pric

Indicator v5 SMC / ICT / price action
Updated 4 months ago · None stated GitHub repository of RTE Overlay GBPUSD 5M

Bears and Bulls

by rubbermetal
1 stars

An overlay candlestick pattern detector that marks bullish and bearish patterns on the price chart. Patterns are grouped into single, double, triple and multi-candle categories that can each be switched on or off, and each is coloured by reliability level. An

Indicator v6 Candlestick patterns
Updated 4 months ago · MPL-2.0 GitHub repository of Bears and Bulls
1 stars

This overlay indicator fits a quadratic regression parabola to recent source prices to show a curved trend, its slope, and its curvature. Hyperbola bands use ATR and a curve-sensitivity multiplier so they widen when the trend bends and tighten when it is strai

Indicator v6 TrendVolatility & bands
Updated 5 months ago · None stated GitHub repository of Parabola & Hyperbola Structure

DST HMM v9 XAUUSD

by Javas128282
1 stars

DST HMM v9 XAUUSD classifies the market into hidden regimes such as Sideways, Bull and Bear using a hidden Markov model retrained on a rolling window with Baum-Welch iterations. It adds a Kalman filter line with confidence bands and an optional multi-bar Kalma

Indicator v6 AI / machine learningTrend
Updated 5 months ago · None stated GitHub repository of DST HMM v9 XAUUSD
1 stars

The script is an indicator that plots multiple moving averages on the price chart. It displays HMA 9, EMA 16, HMA 21, EMA 34 and EMA 50 lines with separate bullish and bearish colors plus optional band fills for each. Users toggle visibility of lines and fills

Indicator v6 Moving averages
Updated 5 months ago · None stated GitHub repository of EMA High/Low/Median Ribbon

Trend + Scalp + Stop Signals

by Ershubhambhagat
1 stars

A price-chart indicator that shows VWAP, a central pivot range, three EMAs, Supertrend and previous-day levels, then scores conditions to print trend signals, scalp signals and stop or exit signals. Minimum score thresholds for trend and scalp signals are adju

Indicator v5 TrendScalping
Updated 5 months ago · None stated GitHub repository of Trend + Scalp + Stop Signals

Fresh Supply & Demand Zones

by kvmafthab-pixel
1 stars

Fresh Supply & Demand Zones is a Pine Script v6 indicator that detects and plots fresh supply and demand zones on the price chart. It identifies momentum candles based on ATR period and body size threshold, then scans back for base candles to form zones. Zones

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 5 months ago · Custom licence GitHub repository of Fresh Supply & Demand Zones
1 stars

An overlay indicator that tracks the Asia, London and New York sessions in a chosen timezone and draws each session's high, low and opening range. It marks sweeps of the previous session's high or low and reclaims back inside, derives a bullish or bearish sess

Indicator v6 Sessions & timeSupport & resistance
Updated 5 months ago · MIT GitHub repository of Crypto AMT Session Bias v1
1 stars

This indicator plots the Parabolic Stop and Reverse (SAR) on the price chart with customizable acceleration start, increment, and maximum values. It highlights trend reversals where the price crosses the SAR line, marking flip points with directional triangula

Indicator v6 TrendScreeners & dashboards
Updated 5 months ago · None stated GitHub repository of SAR with tweakable aparameter

MC-Predict HullMA v2

by ebarkinkaras-lang
1 stars

A price-chart overlay that plots a Hull moving average with a set of EMAs, SuperTrend and Bollinger Bands, and scores the market by weighting trend, momentum, volatility, volume, support and resistance, and a k-nearest-neighbours estimate. The nearest-neighbou

Indicator v5 AI / machine learningTrend
Updated 5 months ago · None stated GitHub repository of MC-Predict HullMA v2

SahanS Full Indicator

by sahansbandara
1 stars

An all-in-one overlay indicator that merges a divergence detector, smart money concepts, order blocks, liquidity swings and moving averages. The divergence part checks regular and hidden divergences between price and up to ten oscillators including RSI, MACD,

Indicator v5 DivergenceSMC / ICT / price action
Updated 5 months ago · None stated GitHub repository of SahanS Full Indicator
1 stars

An indicator that combines several normalised oscillators, namely RSI, CCI, Fisher, DMI, Z-Score and a moving-average ratio, into one composite, then groups values into clusters over a rolling lookback. Lower and upper percentile settings mark extreme zones, a

Indicator v6 AI / machine learningOscillators & momentum
Updated 6 months ago · MIT GitHub repository of Simplified Percentile Clustering

FPL Cheatcode

by onlyspx
1 stars

This indicator draws up to six configurable moving averages on the price chart. Each has its own type (SMA, EMA, SMMA, WMA or VWMA), length, source, offset and optional higher timeframe. Defaults are 50 and 200 averages on the chart timeframe plus hourly 21 EM

Indicator v6 Moving averagesTrend
Updated 6 months ago · None stated GitHub repository of FPL Cheatcode

Kill Zone Liquidity Sweeps tracks the Asian trading session high and low prices and monitors for liquidity sweeps during the London session. When price temporarily breaches the prior Asian high or low during the London kill zone but closes back within the rang

Indicator v5 SMC / ICT / price actionSessions & time
Updated 6 months ago · MIT GitHub repository of Kill Zone Liquidity Sweeps - Castle Trade

BOS Indicator

by cavaldos
1 stars

Marks break of structure events on the price chart, based on swing pivots found with a leg-detection routine. It tracks two structure levels: a swing level with a default length of 50 and an internal level with a default length of 5. Each can be shown or hidde

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · None stated GitHub repository of BOS Indicator

Algo2.0

by dtheran1
1 stars

A combined overlay for the price chart that joins an ATR Trend module with a smart money concepts module. The trend line is built from an ATR band with ten smoothing types, a fast trend, an optional smoothed range channel and buy and sell markers on trend flip

Indicator v6 TrendSMC / ICT / price action Repaints
Updated 6 months ago · None stated GitHub repository of Algo2.0
1 stars

An overlay indicator that shades four trading sessions, New York, London, Tokyo and Sydney, with editable hours, colours, labels, range boxes and dividers. It also detects pivot-based order blocks and draws them on the chart, with a mitigation setting that dec

Indicator v6 Sessions & timeSMC / ICT / price action
Updated 6 months ago · None stated GitHub repository of Sessions + Order Blocks
1 stars

Detects bullish and bearish order block zones from swing structure and draws them as boxes on the price chart. Each zone can carry volume information and an optional mirrored volume bar. Settings control swing length, how many zones are shown, whether a Wick o

Indicator v6 SMC / ICT / price actionVolume
Updated 6 months ago · None stated GitHub repository of Volumized Order Blocks MTF 2026-2

CVD Profiles

by Focal-QuantAI
1 stars

An indicator in a separate pane that builds volume profiles from cumulative volume delta using lower-timeframe volume. A model setting switches between CVD, imbalance ratio, activity and USD volume. Profiles reset daily or from a fixed start time, with an adju

Indicator v6 Volume Repaints
Updated 6 months ago · None stated GitHub repository of CVD Profiles
1 stars

Estimates the mean-reversion half-life of price in bars by fitting an Ornstein-Uhlenbeck model with a rolling regression on log prices. A lookback input sets how many bars feed the regression, and the half-life is capped for display. Optional bands show the me

Indicator v5 Mean reversionVolatility & bands
Updated 6 months ago · None stated GitHub repository of Half-Life Estimator (O-U)

my TPO

by Devtest-Dan
1 stars

My TPO is an overlay market profile indicator that builds time price opportunity profiles for each four-hour, daily or weekly period and draws them on the price chart. It plots the point of control, value area high and low with a configurable percentage, an in

Indicator v6 Support & resistanceVolume
Updated 6 months ago · None stated GitHub repository of my TPO

Risk & Lot Calculator

by Jony2176
1 stars

Risk & Lot Calculator is an overlay position-sizing tool for forex. The user sets an entry time, entry price and stop loss on the chart, plus account balance and risk percentage. The script draws the stop and two take-profit levels, from reward-to-risk ratios

Indicator v5
Updated 7 months ago · None stated GitHub repository of Risk & Lot Calculator

Precious Metals Dashboard

by TehbynDFRNT
1 stars

Overlays fast, slow and trend EMAs with an optional cloud, cross triangles and volume spike markers on the price chart, and pulls spot gold, silver and a list of ASX gold and silver miners through security requests. A table summarises daily change, RSI, volume

Indicator v6 Screeners & dashboardsMoving averages
Updated 7 months ago · None stated GitHub repository of Precious Metals Dashboard

Smart Volume Profile

by billy1030
1 stars

An overlay indicator that builds a volume profile on the price chart over the visible range, a fixed number of bars or a custom time span. Rows split volume into buy and sell parts, and the script marks the point of control, value area high and low, buy and se

Indicator v6 VolumeSupport & resistance
Updated 7 months ago · None stated GitHub repository of Smart Volume Profile
1 stars

An indicator for one-hour charts that plots a Donchian channel from the highest high and lowest low over a set number of bars. A close beyond the prior channel edge marks a long or short breakout, and an ATR-multiple trailing stop line tracks the exit. An opti

Indicator v6 BreakoutTrend
Updated 7 months ago · None stated GitHub repository of V18 Donchian Channel Breakout
1 stars

A Pine v6 indicator that combines two smart money tools on the price chart. It finds supply and demand zones from an impulse, base candles, impulse pattern measured against ATR, and it marks breaker blocks, which are order blocks that price later closes throug

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 7 months ago · None stated GitHub repository of Supply & Demand + Breaker Blocks v6
1 stars

A price-chart overlay for DAX, based on the Advanced School Run Strategy. Inside a configurable session window in Berlin time, it numbers the opening five candles, takes the fourth candle's high and low and draws buy and sell breakout lines offset by a buffer

Indicator v6 Sessions & timeBreakout
Updated 7 months ago · None stated GitHub repository of TraderTom's ASRS Indicator
1 stars

This indicator serves as a validation test suite for the McClellan Oscillator. It fetches NYSE advancing and declining issues data and computes the oscillator using ratio-adjusted net advances. The script cross-checks manual EMA calculations against ta.ema for

Indicator v6 Screeners & dashboardsOscillators & momentum
Updated 7 months ago · None stated GitHub repository of McClellan Oscillator Tests

MACD Trend Filter

by itstherax
1 stars

Draws a standard 12, 26, 9 MACD with signal line and histogram in a separate pane, together with a 200-period EMA used as a trend filter. A buy label appears when MACD crosses above its signal while price is above the EMA, and a sell label when it crosses belo

Indicator v5 Oscillators & momentumTrend
Updated 8 months ago · None stated GitHub repository of MACD Trend Filter

15m Reversal Detector

by caizongxun
1 stars

A separate-pane tool that looks for potential reversals by combining momentum, volume and candle shape. It uses RSI, MACD and a stochastic reading for momentum, volume spikes and dry-ups against a volume average, Bollinger Band extremes, wick rejection and eng

Indicator v5 Oscillators & momentumDivergence
Updated 8 months ago · MIT GitHub repository of 15m Reversal Detector
1 stars

Buy/Sell Signals - Multi-Condition combines the Relative Strength Index (RSI) with fast and slow Exponential Moving Averages (EMA) to identify trend pullback opportunities. It displays buy signals when the RSI drops below an oversold threshold during an establ

Indicator v5 TrendOscillators & momentum
Updated 8 months ago · None stated GitHub repository of Buy/Sell Signals - Multi-Condition

Simple RSI

by ferranfont
1 stars

Plots the Relative Strength Index in a separate pane with adjustable period, optional EMA smoothing and an optional higher timeframe calculation. Overbought and oversold lines are drawn at configurable levels, defaulting to 70 and 30. It has no entry or exit r

Indicator v5 Oscillators & momentum
Updated 8 months ago · None stated GitHub repository of Simple RSI

MES Gamma (1DTE)

by Juice-zhi
1 stars

A price-chart overlay that draws a static set of options gamma levels for MES (Micro E-mini S&P 500 futures, scaled from SPY options) expiring in one day. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot dated

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

Turtle Soup

by Ahmed1926
1 stars

An overlay indicator that detects turtle soup setups, where price takes out a higher-timeframe pivot high or low and then reverses. It uses an imported price action library for market structure, with separate pivot lengths for the trend structure and for the l

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 9 months ago · None stated GitHub repository of Turtle Soup

Reports how volatile each part of the trading day has been, shown as columns in a separate pane. It groups intraday bars by time slot and compares their ranges using a daily ATR period, defaulting to 20. The output can be set to median, with high and low volat

Indicator v6 Volatility & bandsSessions & time
Updated 9 months ago · MPL-2.0 GitHub repository of Volatility - Time of Day Report

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