Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 18)

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

1 stars

Adaptive Regime Decoder estimates price velocity with a seven-point Savitzky-Golay style filter and plots it as a histogram and line in a separate pane. It also computes Shannon entropy of recent velocity values and compares it with a rolling percentile thresh

Indicator v6 Oscillators & momentumVolatility & bands
Updated 8 months ago · None stated GitHub repository of Adaptive Regime Decoder

ATR Range Break

by itstherax
1 stars

Plots the 20-bar highest high and lowest low on the price chart, plus buy and sell levels set one ATR beyond them. A buy triangle appears when the close first moves above the upper level and a sell triangle when it first drops below the lower level. The ATR va

Indicator v5 BreakoutVolatility & bands
Updated 8 months ago · None stated GitHub repository of ATR Range Break

HalfTrend

by 0xRadicalEd
1 stars

The indicator overlays HalfTrend trend-following lines and ATR channel bands on the main price chart. It calculates trend reversals using high and low price channels over a user-defined amplitude, combined with Average True Range deviation channels. Directiona

Indicator v5 TrendMoving averages
Updated 8 months ago · None stated GitHub repository of HalfTrend
1 stars

An oscillator pane that plots a Bollinger Band z-score as coloured columns with reference lines at plus and minus two and three. Colour depends on a volatility regime taken from the percentile rank of band width, separating squeeze, normal and expansion. It al

Indicator v5 SMC / ICT / price actionVolatility & bands
Updated 8 months ago · MIT GitHub repository of 15m BB-SMC Confluence Oscillator

Session Highlighter

by Timonkru
1 stars

The Session Highlighter indicator draws colored boxes over Asia, London, and New York trading sessions directly on the price chart. It calculates the session high and low price bounds based on custom session hours and timezone configurations. Upon session comp

Indicator v6 Sessions & timeSupport & resistance
Updated 8 months ago · MIT GitHub repository of Session Highlighter

This indicator plots a classic MACD line, signal line, and histogram in a separate pane. It subtracts a slow moving average from a fast moving average, then smooths that difference into a signal and shows the gap as columns. Alerts fire on histogram slope flip

Indicator v6 Oscillators & momentum
Updated 8 months ago · MIT GitHub repository of Moving Average Convergence Divergence
1 stars

This indicator measures trend strength with Bollinger Bands. It computes a simple moving average as basis and plots upper and lower bands using standard deviation. The region between bands fills with color. Bar color changes based on price position relative to

Indicator v5 TrendMoving averages
Updated 8 months ago · None stated GitHub repository of Trend Strength Signals Enhanced
1 stars

Detects pivot highs and lows using a fractal length and draws Fibonacci retracement lines between the latest swing points on the price chart. Settings set the fractal length in bars and toggle the lines and their price labels. Pivots need the same number of ba

Indicator v5 Support & resistance
Updated 8 months ago · None stated GitHub repository of Simple Fibonacci Analyzer

Agentic AI Trading Indicator

by Algorithmic-Token
1 stars

A price-chart indicator that draws two simple moving averages, Bollinger Bands and an RSI-based condition set, then prints buy and sell labels when a trend condition and a pullback condition agree. A signal strength value from zero to one counts confirmed cond

Indicator v5 TrendMean reversion
Updated 8 months ago · Custom licence GitHub repository of Agentic AI Trading Indicator

MTV MTF

by coding-kian
1 stars

MTV MTF is a Pine v4 indicator that combines a fast EMA-based MACD with volume trend and candle shape across several timeframes. Each bar receives bull-type flags that are counted over the last few candles with weights that fade with age, and these feed sugges

Indicator v4 Oscillators & momentumVolume Repaints
Updated 8 months ago · None stated GitHub repository of MTV MTF

A price-chart indicator that combines an opening-range style bias with a candle range trigger. It compares a lower-timeframe pulse against the previous closed candle's high and low across several higher timeframes, counts how many disagree, and only accepts a

Indicator v6 Sessions & timeSMC / ICT / price action
Updated 8 months ago · None stated GitHub repository of HORC x CRT Hybrid Stealth Dome v8.7

MES Gamma (0DTE)

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 the same day. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot d

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

An indicator in a separate pane that combines RSI, a normalized WaveTrend oscillator and relative volume into a weighted conviction score, with user-set weights for each part. A trend filter reads the slope of a higher-timeframe EMA, five minutes by default, t

Indicator v6 Oscillators & momentumVolume
Updated 8 months ago · None stated GitHub repository of Sniper Alert Wrapper
1 stars

0-DTE Momentum Continuation Pro is a Pine Script indicator that overlays labels on the price chart to mark A+ BUY, A+ SELL, B BUY and B SELL setups. It calculates EMA trend structure using fast and slow EMAs, checks momentum with close price position relative

Indicator v6 TrendOscillators & momentum
Updated 8 months ago · MIT GitHub repository of 0-DTE Momentum Continuation Pro
1 stars

AGS Smart Signals 5M is an overlay indicator tuned for five-minute crypto charts. It draws an ATR-based cloud of bands around an EMA, filters direction with a trend EMA and RSI oversold and overbought levels, and marks buy and sell signals whose frequency is s

Indicator v5 ScalpingVolatility & bands
Updated 8 months ago · None stated GitHub repository of AGS Smart Signals 5M
1 stars

An overlay indicator that marks market structure from swing points. It draws continuation lines for breaks of structure in the trend direction and breaker lines for market structure shifts. A swing is a candle with a set number of lower or higher bars on each

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 9 months ago · None stated GitHub repository of ICT Breakers (BOS / MSS)

Draws horizontal lines at the open of selected higher periods on the price chart, with up to five configurable slots that default to daily, weekly, monthly and yearly. Each slot has its own timeframe, colour and lookback count of past opens. Options extend the

Indicator v6 Support & resistanceSessions & time Repaints
Updated 9 months ago · MPL-2.0 GitHub repository of Daily Weekly Monthly Yearly Opens
1 stars

This indicator plots an anchored VWAP and a moving average on the price chart. The VWAP anchor can be chosen automatically or set to session, week, month, quarter, year, highest high, lowest low or highest volume bar within a lookback. Up to three standard dev

Indicator v6 Moving averagesVolume
Updated 9 months ago · MPL-2.0 GitHub repository of Anchored VWAP + Moving Average

XT Market Sessions Private

by Voldemortexe
1 stars

This indicator plots session boundaries and opens on the price chart. It visualizes daily weekly and monthly opens, New York Midnight as the institutional day start, previous daily high and low, plus colored session boxes for Asia Frankfurt and London. Users t

Indicator v5 Sessions & time Repaints
Updated 9 months ago · None stated GitHub repository of XT Market Sessions Private

Crypto Entry Signal

by caizongxun
1 stars

A Pine v5 indicator that draws Bollinger Bands on the price chart and marks buy and sell triangles. A buy appears when volume is above its 20-bar average by a set multiplier, the band basis is rising, and price touches the lower band or breaks below it and clo

Indicator v5 Volatility & bandsMean reversion
Updated 9 months ago · None stated GitHub repository of Crypto Entry Signal

Dual Momentum

by nxtaiapp
1 stars

An overlay indicator based on the global equity momentum approach of comparing assets over a monthly lookback. It requests monthly closes for a US equity ETF, an international equity ETF and a bond ETF, and compares their returns over a set number of months, 1

Indicator v5 Oscillators & momentumScreeners & dashboards
Updated 9 months ago · None stated GitHub repository of Dual Momentum

NXOG + FVG

by TavaresBugs
1 stars

The indicator detects and plots Fair Value Gaps across multiple timeframes on the price chart, including 15 minutes, 1 hour, 4 hours, daily, weekly, and monthly. It identifies institutional opening gaps such as NDOG, NWOG, and NMOG with colored boxes and label

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 9 months ago · MIT GitHub repository of NXOG + FVG
1 stars

The Advanced Trading System - Premium is an all-in-one chart overlay that combines market structure, smart money concepts, and momentum analysis. It identifies institutional order blocks, fair value gaps, break of structure, and change of character levels alon

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 9 months ago · MIT GitHub repository of Advanced Trading System - Premium

Dynamic DCA Equities/Gold

by LucasRibeiroCaetano
1 stars

A Pine v5 indicator that works on any chart by reading the S&P 500 to gold ratio on the weekly timeframe. It compares the ratio to its 200-week simple moving average and sets a regime only after 30 consecutive weekly closes on one side. Above the average it ti

Indicator v5 Screeners & dashboardsMean reversion
Updated 9 months ago · None stated GitHub repository of Dynamic DCA Equities/Gold

A Pine v6 overlay that implements smart money concepts: internal and swing market structure with break of structure and change of character labels, strong and weak highs and lows, equal highs and lows, premium and discount zones, and fair value gaps. Settings

Indicator v6 SMC / ICT / price actionSupport & resistance Repaints
Updated 9 months ago · None stated GitHub repository of SMC + Sessions & Liquidity Ultimate
1 stars

An indicator in a separate pane that plots the Money Flow Index from the typical price and a signal line made by smoothing it with a simple or exponential average. Green dots mark where the MFI crosses above the signal and red dots mark where it crosses below,

Indicator v6 Oscillators & momentumVolume
Updated 9 months ago · None stated GitHub repository of Money Flow Index + Signal + Dots
1 stars

Auto Chart Patterns Trendoscope automatically identifies and plots technical chart patterns on the main price chart using multi-depth ZigZag pivot calculations. It detects various geometric formations including channels, wedges, and triangles across rising, fa

Indicator v6 Support & resistanceTrend
Updated 9 months ago · None stated GitHub repository of Auto Chart Patterns Trendoscope

Momentum FX Order Block Zones

by mikedconcepcion
1 stars

An indicator that finds supply and demand zones after a short consolidation followed by a fast ATR-scaled breakout, and draws them as boxes on the price chart. Zones can be limited to windows around the hour and half hour in UTC, and to the direction of a high

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 9 months ago · MIT GitHub repository of Momentum FX Order Block Zones

Live Market Scanner - V7

by IamTamheedNazir
1 stars

The Live Market Scanner V7 is a real-time market analysis indicator that fuses MACD, RSI, EMAs, volume, and price momentum to calculate LONG and SHORT scores. It determines market status (LONG, SHORT, WAIT) using a sensitivity-based threshold and plots signals

Indicator v5 TrendOscillators & momentum
Updated 9 months ago · Custom licence GitHub repository of Live Market Scanner - V7
1 stars

A chart-overlay trailing stop that adapts to market conditions. It uses Kaufman's adaptive moving average to measure how efficiently price is moving, scales an ATR-based stop distance accordingly, and optionally adds a k-nearest-neighbours pattern layer that n

Indicator v6 TrendVolatility & bands
Updated 9 months ago · None stated GitHub repository of Adaptive ML Trailing Stop

Apex Trend & Liquidity Master (SMC)

by app-builder-sketch
1 stars

Apex Trend & Liquidity Master (SMC) is an overlay indicator that combines trend-following filters with Smart Money Concepts market structure and liquidity tools. It calculates baseline trend clouds using moving averages such as HMA, EMA, SMA, or RMA alongside

Indicator v6 SMC / ICT / price actionTrend
Updated 10 months ago · GPL-3.0 GitHub repository of Apex Trend & Liquidity Master (SMC)
1 stars

This indicator combines liquidity sweep detection, Fibonacci retracement levels (0.382, 0.5, 0.618, 0.786) and two user-set ratio levels called CC levels on the price chart. A sweep is a wick beyond a recent swing by a buffer, optionally followed by reclaim ca

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 10 months ago · None stated GitHub repository of Quantitative Pivot Strategy [QPS]
1 stars

RI LONG Levels is an overlay indicator for ES and NQ futures that sets out a manual long reversal plan. It anchors on the previous session close, then draws an entry level at a chosen multiple of a risk interval below the anchor, with a target and a stop level

Indicator v6 Support & resistanceMean reversion
Updated 10 months ago · None stated GitHub repository of RI LONG Levels REVERSAL_TOUCH

TXF Choppy Detector

by amytsengtw
1 stars

The TXF Choppy Detector is an indicator that identifies choppy or sideways markets in Taiwan index futures using the Choppiness Index (CHOP). It plots Bollinger Bands on the price chart with customizable length and multiplier. The script detects washout signal

Indicator v5 Mean reversionVolatility & bands
Updated 10 months ago · None stated GitHub repository of TXF Choppy Detector
1 stars

A chart-overlay indicator, a corrected variant of a crypto alert script, that combines RSI threshold crosses, a fast and slow EMA cross, Bollinger Band breaks, volume spikes, MACD and stochastic readings. Each alert group can be enabled separately, and a weigh

Indicator v6 Oscillators & momentumVolatility & bands
Updated 10 months ago · None stated GitHub repository of Crypto Trading Bot Pro Fixed

HTS NemoN Simple

by nemon82-web
1 stars

Draws two bands on the price chart, one from smoothed highs and lows over a fast length and one over a slow length, using Wilder-style moving averages. The fast length must be smaller than the slow one or the script stops with an error. Settings change the two

Indicator v6 Moving averagesTrend
Updated 10 months ago · None stated GitHub repository of HTS NemoN Simple

Orderflow Break Tape

by Blendoxius
1 stars

An overlay that tracks swing highs and lows and marks change of character, break of structure and liquidity events with lines and labels. Breaks can be filtered by a volume strength check that compares the breaking bar with the last few bars or with a tape ave

Indicator v6 SMC / ICT / price actionVolume
Updated 10 months ago · None stated GitHub repository of Orderflow Break Tape

Candlestick Patterns

by ognenmitev
1 stars

Detects a set of classic candlestick patterns and labels them on the price chart. Bullish patterns include hammer, inverted hammer, bullish engulfing, morning star, piercing, three white soldiers, bullish harami and dragonfly doji, with a matching bearish grou

Indicator v6 Candlestick patterns
Updated 11 months ago · Custom licence GitHub repository of Candlestick Patterns
1 stars

An order-flow proxy indicator that estimates delta from volume and the close position within each bar, then builds a cumulative delta line, relative volume and a delta z-score. Bull and bear signals need relative volume, delta and close-in-range thresholds, an

Indicator v6 VolumeDivergence Repaints
Updated 11 months ago · None stated GitHub repository of Institutional Orderflow Pro

This indicator maps estimated dynamic liquidity levels across the chart by combining normalized volume and an ATR multiplier. It tracks highs and lows within a designated lookback window, projecting buy and sell liquidity bins and highlighting maximum liquidit

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 11 months ago · None stated GitHub repository of Dynamic Liquidity HeatMap Profile [BigBeluga]

Spread Analysis

by Blendoxius
1 stars

An indicator that measures the candle spread, optionally as a percentage, and compares it with its own moving average to classify volatility as compression, normal, moderate, high or extreme using adjustable multipliers. Output can be shown as columns, histogr

Indicator v6 Volatility & bands
Updated 11 months ago · None stated GitHub repository of Spread Analysis

Combines three moving averages, MACD, RSI, a volatility length and Bollinger Bands on the price chart. Bollinger signals mark a buy when price crosses back above the lower band. Settings set the three average lengths, MACD fast, slow and signal values, RSI len

Indicator v5 Oscillators & momentumVolatility & bands
Updated 11 months ago · MIT GitHub repository of Adaptive Wave Interference Indicator with Bollinger Band Strategy
1 stars

This indicator finds pivot highs and lows with adjustable left and right bars and draws support and resistance zones as boxes on the price chart. Repeated touches of a level raise a strength rating shown as dots. High-volume bars, measured against a 20-bar ave

Indicator v6 Support & resistanceVolume
Updated 11 months ago · None stated GitHub repository of Support/Resistance & Liquidity Zones

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