Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 5)

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

5 stars

The Adaptive Window Size indicator computes a quadratic signal from the chosen source series using absolute differences normalized by total variation. This signal feeds into an exponential formula to produce an adaptive window size value. The script plots both

Indicator v6 Volatility & bandsMoving averages
Updated 8 months ago · None stated GitHub repository of Adaptive Window Size

Chande Momentum Oscillator

by SiegerTerpstra
5 stars

This indicator calculates the Chande Momentum Oscillator by comparing the sum of price gains to the sum of price losses over a defined lookback period. It plots the resulting oscillator line in a separate pane alongside configurable upper, lower, and zero refe

Indicator v6 Oscillators & momentum
Updated 9 months ago · None stated GitHub repository of Chande Momentum Oscillator
5 stars

This indicator implements Tom DeMark's TD Sequential methodology on the price chart to detect trend exhaustion and reversal zones. It counts the Setup phase of nine consecutive bars comparing closes to four bars prior, tracks setup perfection, and advances int

Indicator v6 TrendMean reversion
Updated 1 year ago · None stated GitHub repository of TD Sequential - Official DeMark
5 stars

This overlay indicator marks market structure on the price chart. It detects swing highs and lows with a configurable lookback, then labels Break of Structure only after a two-candle retracement check. It also marks Change of Character and a dual Change of Cha

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of BOS & CHOCH with FVG & Fib Zones
5 stars

This indicator detects classic price structure on the chart by finding swing pivot highs and lows over a user-defined period. It draws connecting lines and labels for lower lows, lower lows with lower highs, higher highs, and higher highs with higher lows, plu

Indicator v6 TrendSupport & resistance
Updated 1 year ago · None stated GitHub repository of Chart Patterns [ActiveQuants]
5 stars

This indicator overlays external Bitcoin signal markers on the price chart. At a user-set minute poll interval it is meant to draw up or down triangles for buy and sell decisions and a label with the decision, strength and confidence. In the published code tho

Indicator v4
Updated 1 year ago · MIT GitHub repository of BTC市场监控系统信号

Trended CVD modified

by rubystar0512
5 stars

This indicator calculates directional cumulative volume delta across price swings identified by an imported ZigZag library. It tracks bar-by-bar volume signs based on price direction and evaluates net volume across individual price legs directly on the price c

Indicator v5 VolumeTrend
Updated 2 years ago · None stated GitHub repository of Trended CVD modified

CTF Raid Indicator

by jerryinyang
5 stars

This indicator detects stop hunts, liquidity raids, and Rob Hoffman Inventory Retracement Bar breakouts directly on the main price chart. It tracks bullish and bearish retracement bars using dynamic arrays, identifying when incoming price action breaks these s

Indicator v5 SMC / ICT / price actionBreakout
Updated 2 years ago · None stated GitHub repository of CTF Raid Indicator

Koncord + MACD

by Following-BTC
5 stars

This indicator combines the Koncorde oscillator with a traditional Moving Average Convergence Divergence (MACD) indicator in a separate pane. It calculates Koncorde using a mixture of the Relative Strength Index (RSI), Money Flow Index (MFI), Bollinger Bands o

Indicator v5 Oscillators & momentumVolume
Updated 2 years ago · None stated GitHub repository of Koncord + MACD

This technical indicator combines multiple popular analysis tools into a single price chart overlay to optimize chart space. It calculates and plots the complete Ichimoku Cloud, 50 and 200 Simple Moving Averages, and standard Bollinger Bands. Furthermore, it t

Indicator v5 TrendMoving averages Repaints
Updated 3 years ago · None stated GitHub repository of Ichimoku + MAs + Bollinger + Liquidity Zone
5 stars

This indicator plots three volume-weighted average price lines on the price chart. Each line is anchored at a swing low, a swing high, or the highest-volume candle found inside a user-set lookback measured in days. It requests daily timestamps and chart-timefr

Indicator v5 VolumeSupport & resistance Repaints
Updated 3 years ago · MPL-2.0 GitHub repository of Armaan-Harpal-Custom-AAVWAP

ADW - Colour Trend

by ADWilkinson
5 stars

ADW - Colour Trend is an overlay indicator that normalizes the bar high and low against the highest high and lowest low over a chosen length, then averages those values. It paints price bars green when the average is above minus forty, red when it is below min

Indicator v5 Trend
Updated 3 years ago · Custom licence GitHub repository of ADW - Colour Trend

2 EMAs + RSI + Stochastic

by krosenfeld7
5 stars

This indicator overlays trend and momentum signals directly on the price chart. It calculates fifty-period and two-hundred-period exponential moving averages, a fourteen-period Stochastic oscillator smoothed with three-period simple moving averages, and a four

Indicator v4 TrendOscillators & momentum
Updated 3 years ago · Apache-2.0 GitHub repository of 2 EMAs + RSI + Stochastic

ZigZag++ Lucem Anb

by Kasra-Saeid
5 stars

ZigZag++ Lucem Anb calculates and plots MetaTrader 4 style ZigZag swing high and swing low points directly on the price chart. It connects major highs and lows with colored trend lines and marks market structure pivots with higher high, lower high, lower low,

Indicator v4 Support & resistanceTrend Repaints
Updated 3 years ago · MIT GitHub repository of ZigZag++ Lucem Anb

Smart Money Concepts

by northvia
5 stars

This indicator plots smart-money market structure on the price chart. It marks internal and swing breaks of structure and changes of character, optional swing points, and strong or weak highs and lows. It draws internal and swing order blocks filtered by volat

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 3 years ago · None stated GitHub repository of Smart Money Concepts
5 stars

This indicator identifies Fair Value Gaps by detecting price imbalances between the current bar and two bars prior on both current and higher timeframes. It draws shaded boxes on the price chart representing bullish and bearish gaps, along with optional midpoi

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 3 years ago · None stated GitHub repository of Fair Value Gap SpaceManBTC

This overlay indicator plots Central Pivot Range levels and bands across yearly, quarterly, monthly, weekly, daily, and six-hour periods. Each timeframe can be shown or hidden, and pivot and band colors are set separately. It also marks MACD momentum and EMA t

Indicator v5 Support & resistanceOscillators & momentum
Updated 3 years ago · None stated GitHub repository of Pivot Boss Multi Timeframe CPR with MACD and EMA
5 stars

Greeffer's Scalping Indicator overlays higher-timeframe exponential moving averages, Bollinger Bands, and Donchian channels on the price chart. It flags a long when price touches the lower Donchian and lower band while the faster averages are not stacked beari

Indicator v5 Moving averagesVolatility & bands
Updated 4 years ago · None stated GitHub repository of Greeffer's Scalping Indicator

This indicator plots a detrended price oscillator and a random walk index in a separate pane. It subtracts a simple moving average of close from price, either with the average lagged or with price shifted back when the centered option is on. The oscillator lin

Indicator v4 Oscillators & momentumVolatility & bands
Updated 5 years ago · MIT GitHub repository of Detrended Price Oscillator with Random Walk Index

SMA/EMA/VWAP

by KenlyBerkowitz
5 stars

This indicator combines multiple moving averages and volume-weighted average price calculations into a single price chart overlay. It calculates up to two adjustable Simple Moving Averages (SMAs), one user-configurable Exponential Moving Average (EMA), fixed 2

Indicator v4 Moving averagesTrend
Updated 6 years ago · None stated GitHub repository of SMA/EMA/VWAP

This indicator identifies trend reversal signals on the price chart by combining exponential moving average crossovers with momentum and volatility filters. It calculates fast, slow, and long-term filter EMAs, along with RSI and ATR. A bullish reversal trigger

Indicator v6 TrendOscillators & momentum
Updated yesterday · None stated GitHub repository of Advanced Trend Reversal Emoji Indicator

[innoobwetrust] Key Gaps

by InNoobWeTrust
4 stars

This indicator detects large price gaps by comparing each candle’s high-to-low range with the previous ATR and requiring a minimum body percentage. Qualifying candles are stored in a rolling buffer and drawn as price zones on the chart, limited to the most rec

Indicator v6 Support & resistanceVolatility & bands
Updated yesterday · None stated GitHub repository of [innoobwetrust] Key Gaps
4 stars

This indicator calculates a short-period Relative Strength Index and monitors crosses around a center threshold. It triggers buy signals when the RSI crosses above the level and sell signals when it crosses below. Signal shapes are plotted directly on the main

Indicator v6 Oscillators & momentum
Updated 2 days ago · MIT GitHub repository of OptionX Noisy Test Alertcondition
4 stars

This indicator overlays an order flow intelligence suite directly on the price chart. It renders a liquidity heatmap across configured price zones, alongside an on-chart information panel displaying volume delta, cumulative volume delta, a momentum compass bas

Indicator v6 VolumeScreeners & dashboards
Updated 2 weeks ago · MIT GitHub repository of GHOST — OrderFlow Intelligence

Webhook Test

by beydah
4 stars

Webhook Test generates standard alert conditions designed to verify webhook integrations between TradingView and external automated trading bots. It evaluates conditions on the latest price bar to trigger simulated open long, close long, open short, and close

Indicator v6
Updated 3 weeks ago · MIT GitHub repository of Webhook Test
4 stars

JoppanFX Candlestick Patterns identifies classic single-candle and multi-candle price patterns directly on the main price chart. It checks for bullish patterns (Hammer, Inverted Hammer, Bullish Engulfing) and bearish patterns (Shooting Star, Hanging Man, Beari

Indicator v6 Candlestick patterns
Updated 3 weeks ago · None stated GitHub repository of JoppanFX | Candlestick Patterns
4 stars

Meridian - Futures Context is an intraday analysis indicator designed for US index futures. It measures volume participation using relative volume, calculates rolling realized volatility, and evaluates trend context through VWAP slope and EMA structures. Displ

Indicator v6 VolumeVolatility & bands
Updated 7 weeks ago · MPL-2.0 GitHub repository of Meridian - Futures Context

42H Map

by aurorascarlet1102
4 stars

42H Map calculates custom time cycle structures and session ranges directly on the price chart. It partitions market action into forty-two-hour cycles, ten-and-a-half-hour micro-sessions, half-week periods, and quarter-month segments to track highs, lows, and

Indicator v5 Sessions & timeSupport & resistance
Updated 3 months ago · None stated GitHub repository of 42H Map

GemHunter v4

by Finland93
4 stars

GemHunter v4 classifies market conditions into bullish, bearish, or neutral regimes using a multi-indicator voting system. It combines exponential moving average alignment, MACD momentum, and RSI strength, optionally gated by ADX trend strength and higher-time

Indicator v6 TrendOscillators & momentum
Updated 4 months ago · MPL-2.0 GitHub repository of GemHunter v4

Air Pocket Profile [FEELS]

by VolodymyrFilias
4 stars

Air Pocket Profile builds a range-distributed volume profile over a user-set lookback and draws it on the price chart, extending it by a projection length. Rows below a fraction of peak volume form air-pocket zones, while the heaviest row is the volume anchor

Indicator v6 VolumeSupport & resistance
Updated 4 months ago · MIT GitHub repository of Air Pocket Profile [FEELS]
4 stars

This overlay indicator draws an on-chart depth-of-market table that splits volume at each price tick into estimated buy volume, sell volume, delta, and session volume. Growing text bars compare buyers and sellers, and recent bars approximate resting bid and as

Indicator v5 VolumeScreeners & dashboards
Updated 6 months ago · None stated GitHub repository of Custom DOM - Bookmap Style
4 stars

This indicator combines five normalized oscillator channels: RSI, stochastic, MACD histogram, money flow index, and the ADX directional difference. It cross-subtracts channel pairs with a fixed or correlation-based weight meant to reduce shared overlap, then s

Indicator v5 Oscillators & momentumVolume
Updated 6 months ago · None stated GitHub repository of MVSU Decontamination
4 stars

This indicator recolors price candles from recent volume and range. It marks climax bars when current volume times range exceeds the prior ten-bar peak or volume is at least twice a ten-bar average, and rising bars at one and a half times that average. Bullish

Indicator v5 VolumeCandlestick patterns
Updated 9 months ago · None stated GitHub repository of Price-Volume Analysis

Bollinger Bands

by YooooungLee
4 stars

This indicator plots Bollinger Bands on the price chart. It uses a lookback length and a multiplier, the usual controls for the middle band and the distance of the upper and lower bands. The length setting changes how many bars enter the calculation, and the m

Indicator v6 Volatility & bands
Updated 10 months ago · Apache-2.0 GitHub repository of Bollinger Bands
4 stars

This indicator computes the Watchtower Axis as a 257-period weighted moving average of closing prices to establish the main trend baseline. It defines volatility gates using the highest high and lowest low over 463 periods, along with a 377-period exponential

Indicator v6 TrendMoving averages
Updated 10 months ago · MIT GitHub repository of Miela Labs | John Dee's Watchtower

Color Preview Test

by weaming
4 stars

Color Preview Test is an overlay indicator that samples Pine Script color expressions and applies them to the price chart. It assigns hexadecimal literals, built-in color constants, color.rgb values, and color.new transparency, then plots the close in blue, ti

Indicator v6
Updated 1 year ago · Custom licence GitHub repository of Color Preview Test

GainzAlgo V2 [Alpha]

by krishnandank
4 stars

This indicator generates buy and sell signals based on engulfing candlestick patterns, a candle stability ratio relative to true range, RSI thresholds, and a multi-bar price momentum condition. It draws visual signal labels on the chart alongside suggested tak

Indicator v5 Candlestick patternsOscillators & momentum
Updated 1 year ago · None stated GitHub repository of GainzAlgo V2 [Alpha]

Multi-Timeframe Moving Averages is an overlay indicator that calculates and plots moving averages across multiple timeframes directly on the main price chart. It supports various moving average types including SMA, EMA, WMA, HMA, RMA, and VWMA, with customizab

Indicator v6 Moving averagesTrend
Updated 1 year ago · None stated GitHub repository of Multi-Timeframe Moving Averages

DAHAB+ SMC + IDMT

by Rjoubodai25
4 stars

This SMC indicator for TradingView calculates and plots Order Blocks, Fair Value Gaps, market structure trend lines, and Enhanced Inducement Detector signals on the price chart. Bullish and bearish boxes highlight Order Blocks and FVG, while trend lines extend

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 1 year ago · None stated GitHub repository of DAHAB+ SMC + IDMT
4 stars

High Volume Points draws circles at confirmed pivot highs and lows when summed volume exceeds a normalized threshold. It sums volume over twice the pivot length, compares that sum with a high percentile of recent volume, and skips quieter pivots. Circle size f

Indicator v6 VolumeSupport & resistance
Updated 1 year ago · Custom licence GitHub repository of High Volume Points [BigBeluga]

UT Bot Alerts

by AntSan813
4 stars

This indicator implements the UT Bot Alerts system by tracking price action against an Average True Range trailing stop line directly on the price chart. It calculates volatility bands using user-defined ATR length and sensitivity multiplier parameters. When t

Indicator v4 TrendVolatility & bands
Updated 2 years ago · None stated GitHub repository of UT Bot Alerts

ARANLAR

by Kalumur
4 stars

ARANLAR is an overlay indicator that combines a Tillson T3 moving average, WMA crossover signals, price channel boundaries, and dynamic Fibonacci retracement levels. It plots a color-coded T3 line to show short-term trend direction and triggers buy (AL) or sel

Indicator v5 Moving averagesTrend
Updated 2 years ago · None stated GitHub repository of ARANLAR

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