Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 93)

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

Indicators: All

RSI Superstack

by Web3Degenerate
2 stars

RSI Superstack plots the relative strength index from three user-selected timeframes in a separate pane. Each series uses the same RSI length and turns purple when it reaches the overbought or oversold threshold. A red background marks when all three readings

Indicator v5 Oscillators & momentum
Updated 2 years ago · None stated GitHub repository of RSI Superstack

ZigZag reSampled

by WISEPLAT
2 stars

ZigZag reSampled draws one purple swing line on the price chart. It tracks the highest high and lowest low over a depth window, then flips between an upward and a downward leg when a bar a set number of backsteps ago makes a new extreme. Depth controls that lo

Indicator v4 Support & resistanceTrend Repaints
Updated 3 years ago · None stated GitHub repository of ZigZag reSampled

P_err_indent_2spaces

by GammaExpansion
1 stars

A minimal Pine Script v6 test fixture script used for validating parser error handling and indentation rules. It evaluates if the current bar close is higher than the open using a two-space indented code block, then plots the closing price in a separate pane.

Indicator v6
Updated 8 days ago · MIT GitHub repository of P_err_indent_2spaces

DEPV2 Debug All

by YuceSezar89
1 stars

DEPV2 Debug All is a multi-asset quantitative analysis indicator designed for separate pane execution. It evaluates signal conditions across up to twenty cryptocurrency pairs simultaneously using four analytical dimensions: Trend, Momentum, Volatility, and Vol

Indicator v6 TrendOscillators & momentum Repaints
Updated 2 weeks ago · None stated GitHub repository of DEPV2 Debug All

SR Batch

by 7b809
1 stars

An overlay indicator that draws support and resistance boxes from pivot lows and highs, accepted only when a simple up and down volume delta passes a filter. Box height uses ATR scaled by a width input. It marks when a level holds or breaks, and builds strike

Indicator v5 Support & resistanceVolume
Updated 2 weeks ago · None stated GitHub repository of SR Batch

Mirror Oscillator

by morindok
1 stars

This indicator calculates the average percentage distance between the closing price and three benchmark mirror levels: a central midpoint derived from 500-period highs and lows, and dynamic upper and lower period bounds. The averaged distance is smoothed with

Indicator v6 Oscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of Mirror Oscillator

Smart Trend Dashboard Pro

by vedkanani123
1 stars

A price-chart indicator that plots a 9 and a 21 period EMA and prints a buy label on a bullish crossover when RSI is below the overbought level, and a sell label on a bearish crossover when RSI is above the oversold level. It tints the background and candles b

Indicator v6 Moving averagesTrend
Updated 2 months ago · None stated GitHub repository of Smart Trend Dashboard Pro
1 stars

Marks the bar where a volume order block zone is first confirmed, at the completion of the moving average crossover, so the marker does not shift to an earlier bar afterwards. A sensitivity bank input selects the six sensitivity lengths, or custom values can b

Indicator v6 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB Birth Bar Study v1.3

Davo Strategy Indicator

by GreyssonEnterprises
1 stars

An indicator that searches for W and M shapes, meaning five-point double-bottom and double-top patterns, in price, on-balance volume and optionally Williams %R, MFI, RSI and directional movement. Unlike the original it allows patterns to form over more than fi

Indicator v4 Oscillators & momentumDivergence
Updated 3 months ago · MIT GitHub repository of Davo Strategy Indicator

SMA Spread OSC

by rubbermetal
1 stars

SMA Spread OSC plots the percentage distance between a fast SMA (20) and a slow SMA (200) as an oscillator in a separate pane, with optional smoothing. It adds average-distance bands from the spread's own history, an optional histogram and fills, acceleration

Indicator v6 Oscillators & momentumMoving averages
Updated 4 months ago · MPL-2.0 GitHub repository of SMA Spread OSC

VWAP Basic

by shubhamtaywade82
1 stars

Calculates a volume-weighted average price that resets each day, week or month and plots it on the price chart. Two optional standard deviation bands use adjustable multipliers, with a shaded channel between the inner pair. A small table shows the current VWAP

Indicator v6 VolumeSupport & resistance Archived
Updated 5 months ago · None stated GitHub repository of VWAP Basic
1 stars

This indicator finds past stretches of price history that resemble the most recent bars and uses what followed them to sketch a forecast. It compares a pattern of up and down candles of set length against up to 5000 bars of history, with optional trend matchin

Indicator v5 Candlestick patterns Repaints
Updated 6 months ago · None stated GitHub repository of Candlestick Matching Forecast

SMI Auto MTF

by Focal-QuantAI
1 stars

An indicator in a separate pane that plots the Stochastic Momentum Index with a signal line and a histogram. Its lookback, smoothing and signal periods are chosen automatically from the chart timeframe, for example shorter values on 15 minutes and longer on we

Indicator v5 Oscillators & momentum
Updated 6 months ago · None stated GitHub repository of SMI Auto MTF
1 stars

This overlay indicator draws liquidation heatmap pockets on the price chart. It estimates pocket intensity from volume, price range, or their product over a configurable lookback, then filters by a minimum intensity and merges nearby labels. Two swing widths m

Indicator v6 VolumeSupport & resistance
Updated 7 months ago · None stated GitHub repository of Liquidation Heatmap[Modual]

V5 Combination by YZZ

by webcrack4
1 stars

This indicator script combines Volume Profile or Market Profile (Time Price Opportunity) calculations with a MACD oscillator overlay directly on the price chart. It measures volume or time distribution across configurable ranges such as visible range, anchored

Indicator v5 VolumeSupport & resistance
Updated 9 months ago · None stated GitHub repository of V5 Combination by YZZ
1 stars

An experimental pane indicator that simulates a DCA account and a long account inside a date window, using a five-period Hull moving average to decide entries and exits. The long account buys when the average turns up or price is above the DCA cost, adds when

Indicator v5 Moving averages
Updated 1 year ago · None stated GitHub repository of TeeLek Lab 05 Assemble X

Custom Hours Bars

by ivansoft
1 stars

An indicator in a separate pane that splits the trading day into fixed custom windows, such as 07:00 to 09:50 and 09:50 to 12:00, and measures the wicks of each window as if it were one bar. For every window it records the open, highest high and lowest low, th

Indicator v6 Sessions & time
Updated 1 year ago · None stated GitHub repository of Custom Hours Bars
1 stars

Expected Price with BTC Pair calculates a theoretical price by multiplying the selected price source of the current chart symbol by the price source of a specified benchmark symbol, defaulting to Bitcoin (BTCUSD). It requests security data for the reference sy

Indicator v5
Updated 1 year ago · None stated GitHub repository of Expected Price with BTC Pair

Documentation Indicator

by fiji-solutions
1 stars

Documentation Indicator is a chart overlay that stores three user-selected time and price points in a custom Triangle type and draws a purple triangle between them. The user confirms each point on the chart through paired time and price inputs. A function crea

Indicator v5
Updated 2 years ago · None stated GitHub repository of Documentation Indicator
1 stars

Technical Ratings Pro - Pump Wave calculates an aggregated technical rating derived from a suite of moving averages and oscillators. It evaluates indicators including multiple SMAs, EMAs, Hull MA, VWMA, Ichimoku Cloud, RSI, Stochastic, MACD, CCI, and the Ultim

Indicator v4 TrendOscillators & momentum
Updated 2 years ago · None stated GitHub repository of Technical Ratings Pro - Pump Wave

QS Fast Coppock

by nvFede
1 stars

A Pine v4 oscillator in a separate pane based on the Coppock curve. It sums 14-bar and 11-bar rates of change, smooths them with a Hull moving average, and averages the result again with a smoothness setting. The line and area are green or red depending on the

Indicator v4 Oscillators & momentum
Updated 3 years ago · None stated GitHub repository of QS Fast Coppock

MTM Metric [SMA]

by JohnsonHsiao
1 stars

This indicator calculates momentum metrics by measuring the differences between three simple moving averages of closing prices. It computes a short-term bias by subtracting a medium-period SMA from a fast-period SMA, and a long-term bias by subtracting a long-

Indicator v5 Oscillators & momentumMoving averages
Updated 3 years ago · None stated GitHub repository of MTM Metric [SMA]

TMA Overlay

by rajatjpatel
1 stars

A Pine v4 overlay combining several chart aids. It draws smoothed moving averages at 21, 50, 100 and 200 bars, fills between a 2-period EMA and the 200 line in green or red to show trend, and marks bullish and bearish three line strike patterns and large engul

Indicator v4 Moving averagesCandlestick patterns
Updated 4 years ago · None stated GitHub repository of TMA Overlay
947 stars

Chart Type Identifier is an overlay indicator that classifies the current TradingView chart from bar structure. It counts gaps, horizontal open-close links, and wickless bars, then tests Heikin-Ashi open formulas, equal Renko bodies, Kagi and line-break patter

Indicator v4 Repaints
Updated 13 days ago · GPL-3.0 GitHub repository of Chart Type Identifier

This indicator plots a Supertrend-based trend-following setup in a separate pane and skips conditions it treats as a sideways market. A volatility range is built from an ATR value, with RMA, SMA, EMA, or WMA smoothing, or from a fixed point distance. Optional

Indicator v5 TrendVolatility & bands
Updated 1 year ago · MPL-2.0 GitHub repository of Trend Following Setup - Sideways Market Skipper

ALLO Tracker

by Allen1212
303 stars

ALLO Tracker visualizes historical buy and sell transactions made by ARK Invest funds directly on the main price chart. The indicator uses hardcoded historical trade data and timestamps to plot green buy labels below bars and red sell labels above bars. Users

Indicator v4 Screeners & dashboards
Updated 2 years ago · None stated GitHub repository of ALLO Tracker

Function - Maximum Profit

by ricardosantos79
261 stars

This indicator calculates a maximum-profit value over a chosen lookback by summing positive bar-to-bar changes in a source. It plots the result for close and for inverted close in a separate pane, then overlays a fast cumulative version and an alternate summed

Indicator v5
Updated 4 years ago · None stated GitHub repository of Function - Maximum Profit
228 stars

Linear Regression Reversal Strategy is a Pine Script chart overlay indicator that plots a linear regression trendline with upper and lower standard deviation channel bounds for a specified date range. Users can select exact start and end timestamps directly on

Indicator v6 TrendSupport & resistance
Updated 3 months ago · None stated GitHub repository of Linear Regression Reversal Strategy

This indicator uses a k-Nearest Neighbors (kNN) machine learning algorithm to classify current market conditions based on historical indicator pairs. It evaluates combinations of fast and slow periods of RSI, Rate of Change (ROC), and Commodity Channel Index (

Indicator v4 AI / machine learningTrend Repaints
Updated 1 year ago · None stated GitHub repository of Machine Learning: kNN-Based Strategy (MTF)
99 stars

This indicator plots the cumulative distribution function of a beta distribution applied to a min-max normalized source series. Over a lookback window it scales the chosen source into the unit interval, then evaluates the regularized incomplete beta using a La

Indicator v6
Updated 4 weeks ago · Apache-2.0 GitHub repository of Beta Distribution CDF (BETADIST)

Single-color candles

by be-thomas
65 stars

This indicator plots candlestick bars in a separate pane based on the current chart's open, high, low, and close values. Derived from the TradingView Pine Script v5 documentation, it demonstrates the usage of the plotcandle function to render price candles usi

Indicator v5 Candlestick patterns
Updated 7 days ago · GPL-3.0 GitHub repository of Single-color candles
55 stars

This indicator builds a simulated volume profile on the price chart. On the last bar it finds the highest high and lowest low across the previous 200 bars, splits that range into 50 price bins, and adds each bar's volume to the bin of its close. It draws a hor

Indicator v6 VolumeSupport & resistance
Updated 6 months ago · Apache-2.0 GitHub repository of Volume Profile (Simulated)

Range Probability - NQ

by TamaraKGreen
47 stars

This overlay indicator measures fixed-length ranges from a New York session anchor and draws them on the price chart. Boxes mark a range as forming, closed above the previous high, closed below the previous low, or closed inside. It plots the prior range high,

Indicator v6 Support & resistanceSessions & time
Updated 8 weeks ago · None stated GitHub repository of Range Probability - NQ

This indicator calculates John Ehlers' two-pole Super Smoother Filter, an infinite impulse response lowpass filter designed to eliminate high-frequency market noise while reducing lag compared to standard moving averages. It plots a smoothed line directly on t

Indicator v6 Moving averagesTrend
Updated 8 months ago · MIT GitHub repository of Ehlers 2-Pole Super Smoother Filter (SSF2)

Chaikin Money Flow

by TWODS-CAPITAL
37 stars

The Chaikin Money Flow indicator measures the volume of money flow over a specified lookback period. It calculates the Accumulation Distribution value for each bar based on the relationship between closing, high, and low prices, then divides cumulative money f

Indicator v5 VolumeOscillators & momentum
Updated 3 years ago · MIT GitHub repository of Chaikin Money Flow

Zen Open CSC Bars

by Zen-Tim
29 stars

This indicator marks consecutive same-direction candles at the start of each daily session. It counts the first user-set bars after a new day and labels a bullish or bearish CSC when every bar closes in that direction. Settings toggle bar colours, bull and bea

Indicator v5 Candlestick patternsSessions & time Repaints
Updated 2 weeks ago · MIT GitHub repository of Zen Open CSC Bars

This indicator expands Alexander Elder's Bull Power and Bear Power concept into a multi-model pressure analysis system displayed in a separate pane. It calculates bull, bear, and net pressure alongside dominance, impulse, and acceleration using selectable movi

Indicator v6 Oscillators & momentumDivergence
Updated 4 days ago · MIT GitHub repository of Elder Ray Pressure Engine [WavesUnchained]

SMC Trade with Dhruv

by MeridianAlgo
9 stars

This indicator maps Smart Money Concepts directly onto the price chart. It identifies internal and swing market structure, highlighting break of structure and change of character events alongside strong and weak swing highs and lows. It also plots internal and

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 4 months ago · MIT GitHub repository of SMC Trade with Dhruv

Volume Delta Dots

by lunarticktrading
7 stars

This indicator calculates lower-timeframe volume delta and displays the directional result as colored dots in a separate pane. It fetches intrabar up and down volume using dynamic lower timeframes based on the current chart resolution. A positive delta colors

Indicator v6 Volume
Updated 3 weeks ago · None stated GitHub repository of Volume Delta Dots
7 stars

Volumetric Supply and Demand identifies and renders supply and demand zones directly on the price chart using pivot swings and ATR-based impulse triggers. Within active zones, it constructs localized volume profiles, highlights Point of Control levels, and dis

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 3 months ago · None stated GitHub repository of Volumetric Supply and Demand [BOSWaves]

This indicator overlays four customizable moving averages alongside a Keltner Channel directly on the price chart. Users can individually configure the type (SMA, EMA, or WMA) and period length for each moving average, as well as the basis MA type for the Kelt

Indicator v5 Moving averagesVolatility & bands
Updated 4 months ago · None stated GitHub repository of Moving Average & Keltner Channel
5 stars

This overlay indicator is a research diagnostic that builds a volume profile between two user-set 15-minute swing times. It bins each bar's volume by high-low tick overlap on fine, base, and coarse row sizes, then applies local density gates and a paired-node

Indicator v6 VolumeSupport & resistance
Updated 5 days ago · MPL-2.0 GitHub repository of VP RSD Paired Node Consensus Diagnostic
5 stars

This indicator calculates central tendencies and intermediate channel bounds over a configurable lookback period and plots them directly on the price chart. Users can select the central basis measure from mid-range, simple moving average mean, or 50th percenti

Indicator v4 TrendSupport & resistance
Updated 8 months ago · None stated GitHub repository of Rolling Midpoints

EMA Breakout

by jerryinyang
5 stars

EMA Breakout is an indicator combining Exponential Moving Averages with higher-timeframe Keltner Channels to identify breakout market conditions. It calculates multi-timeframe EMAs and dynamic Keltner Channel boundaries using ATR, True Range, or bar width. The

Indicator v4 TrendMoving averages Repaints
Updated 2 years ago · None stated GitHub repository of EMA Breakout

Volatility Band Indicator

by mitchell-917
4 stars

The Volatility Band Indicator calculates volatility bands around a customizable moving average basis line directly on the price chart. Users can select between SMA, EMA, RMA, or WMA basis types, alongside adjustable length and standard deviation multiplier set

Indicator v5 Volatility & bandsMoving averages
Updated 11 months ago · Custom licence GitHub repository of Volatility Band Indicator

TrendStop+boll

by gocaman
3 stars

The TrendStop+boll indicator combines a trend trailing level system with configurable Bollinger Bands directly on the price chart. It evaluates Directional Movement (+DI/-DI) and MACD, locking in an EMA or VWAP benchmark level whenever momentum and directional

Indicator v5 TrendVolatility & bands
Updated 3 days ago · None stated GitHub repository of TrendStop+boll

Jash_test

by jash-git
3 stars

This indicator plots five exponential moving averages with Fibonacci lengths on the price chart. Lengths 3 and 13 form a fast group, 34 and 55 a slow group, and 144 a trend filter. It counts how many of those averages the current and previous candle bodies cro

Indicator v5 TrendMoving averages
Updated 5 weeks ago · None stated GitHub repository of Jash_test

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