Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 136)

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

FTCH-tracker

by Allen1212
303 stars

Visualizes historical buy and sell transactions made by ARK Invest ETFs for FTCH (Farfetch) directly on the price chart. The script plots green labels below price bars for buy trades and red labels above price bars for sell trades based on historical timestamp

Indicator v4
Updated 2 years ago · None stated GitHub repository of FTCH-tracker

Test 007 Mode

by ricardosantos79
261 stars

This indicator calculates and plots the rolling median and mode values of close prices over a user-defined length using Pine Script array functions. It maintains a custom floating-point array of recent price data, sorting it to calculate the median, and counti

Indicator v4
Updated 4 years ago · None stated GitHub repository of Test 007 Mode
99 stars

This indicator calculates John Ehlers' Voss predictive filter. It first applies a two-pole bandpass to the selected source, then builds a weighted feedback predictor that offsets filter delay by a chosen number of bars. Period sets the primary cycle length, Pr

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Ehlers Voss Predictive Filter (VOSS)

Linear Regression

by be-thomas
65 stars

This indicator calculates a linear regression trend channel and Pearson's R correlation coefficient directly on the price chart. Using Pine Script line drawings, it plots a central regression baseline along with configurable upper and lower deviation bands bas

Indicator v4 TrendSupport & resistance Repaints
Updated 6 days ago · GPL-3.0 GitHub repository of Linear Regression
9 stars

Volume Strata [WavesUnchained] is a fixed-range volume profile indicator that anchors to the right side of the price chart. It calculates volume or money flow distribution over a configurable lookback period to highlight the Point of Control (POC), Value Area

Indicator v6 VolumeSupport & resistance
Updated 3 days ago · MIT GitHub repository of Volume Strata [WavesUnchained]

This overlay indicator draws rounded psychological price levels and optional PVSRA vector candle colors on the price chart. It plots quarter, half, and whole levels from a user-set rounding value, with separate color, line style, and width for each. Vector col

Indicator v5 Support & resistanceVolume
Updated 5 months ago · None stated GitHub repository of Level Theory + Vector Candles
2 stars

Everything Bitcoin [Kioseff Trading] is an overlay indicator that gathers on-chain Bitcoin network metrics and lower timeframe market data. It requests BCHAIN datasets via Quandl—including hash rate, mining difficulty, transaction volume, miner revenue, and wa

Indicator v5 Screeners & dashboardsSupport & resistance
Updated 8 months ago · None stated GitHub repository of Everything Bitcoin [Kioseff Trading]

Pulse Trend Radar

by vedkanani123
1 stars

A trend indicator on the price chart using an efficiency-ratio adaptive moving average with ATR-based bands. A trend flip produces a Long or Short signal, and the script can draw a stop at a multiple of ATR with three targets set as multiples of the risk dista

Indicator v6 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of Pulse Trend Radar

KC Combo Bull v4.4

by nishpa800
1 stars

Overlays a Keltner Channel and an ATR supertrend on the price chart and marks candles where several built-in detectors agree on the same bar. The detectors cover pullback patterns, displacement, relative volume and high-volume bars, shown as lettered markers.

Indicator v5 Volatility & bandsTrend
Updated 2 months ago · None stated GitHub repository of KC Combo Bull v4.4
1 stars

A Pine v4 pane indicator that shows moving average based momentum as a heat map of up to 28 rows, with a second moving average setting and a second slower smoothing for short-term readings. Colors run from green for positive to red for negative momentum, with

Indicator v4 Oscillators & momentumTrend
Updated 6 months ago · None stated GitHub repository of Angular Momentum Heat Map Plot

VolumeSpike

by ivansoft
1 stars

An indicator on the price chart that requests pivot lows and pivot highs from the one-hour timeframe and plots them as circles on the chart. For each new pivot it draws a dashed horizontal line back to the bar where the pivot formed. Despite the name it does n

Indicator v5 Support & resistance
Updated 1 year ago · None stated GitHub repository of VolumeSpike

FVRR-tracker

by Allen1212
303 stars

FVRR-tracker is an overlay indicator that marks recorded ARK Invest activity on the Fiverr price chart. It places a label under the bar for a historical buy, showing a short count such as X1 at a fixed date. An ETF setting is present but only offers ALL in thi

Indicator v4
Updated 2 years ago · None stated GitHub repository of FVRR-tracker

Test 009 Stat Mining

by ricardosantos79
261 stars

This statistical analysis tool mines historical relationships between RSI values and candle volatility. It calculates a 14-period RSI from the previous bar and normalizes absolute price change using a 14-period Average True Range (ATR). Based on the normalized

Indicator v4 Oscillators & momentumVolatility & bands
Updated 4 years ago · None stated GitHub repository of Test 009 Stat Mining

Elder Ray Index (ERI)

by mihakralj
99 stars

The Elder Ray Index plots Bull Power and Bear Power values in a separate pane to measure buying and selling pressure. Bull Power is calculated as high minus EMA and Bear Power as low minus EMA, where the EMA uses a period-based smoothing formula with alpha and

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Elder Ray Index (ERI)

Lows from New Highs

by be-thomas
65 stars

This indicator tracks bar lows during consecutive rising highs using Pine Script arrays. When at least four lows accumulate or the price breaches the minimum low in the stack, the script sorts the recorded lows in ascending order and flushes them. It plots up

Indicator v4 Support & resistanceBreakout
Updated 6 days ago · GPL-3.0 GitHub repository of Lows from New Highs

Price Oscillator

by TWODS-CAPITAL
37 stars

This indicator plots the percentage price oscillator in a separate pane. It divides the difference between a short moving average and a longer moving average by the longer average, then multiplies by 100. Users choose the source, both lengths, and whether the

Indicator v5 Oscillators & momentumMoving averages
Updated 3 years ago · MIT GitHub repository of Price Oscillator

This overlay indicator plots a session VWAP that resets daily plus pivot-anchored VWAP highs and lows. It marks price crosses of those VWAPs, crosses between session and anchored VWAPs, and clusters where several VWAP lines sit close together. Display mode, cl

Indicator v6 VolumeSessions & time
Updated 3 days ago · MIT GitHub repository of VWAP Cross Visuals [WavesUnchained]
6 stars

This indicator identifies and plots custom time-based ranges on the price chart using GMT hours, monitoring for price breakouts within a configurable time window. When price breaks beyond the high or low of the range before expiration, it displays directional

Indicator v5 BreakoutSessions & time
Updated 7 months ago · None stated GitHub repository of MSG Enhanced Range Breakout System

Exploring Unicode

by regalouisei
2 stars

Exploring Unicode is a Pine Script v5 indicator that demonstrates Unicode character support on the price chart. It labels high and low pivots with blocks of special symbols and emojis using the label.new function. The script also applies plotchar to mark bars

Indicator v5 VolumeSupport & resistance
Updated 8 months ago · None stated GitHub repository of Exploring Unicode

Quantum Trend Fusion Pro

by vedkanani123
1 stars

A separate-pane indicator that fuses a selectable moving average type (EMA, SMA, HMA, KAMA and others) into a multi-state trend cloud and a smoothed oscillator with signal line. Buy and sell labels depend on a probability score against two thresholds and an op

Indicator v6 TrendMoving averages
Updated 2 months ago · None stated GitHub repository of Quantum Trend Fusion Pro

KC Combo Bull v4.5

by nishpa800
1 stars

Overlays a Keltner Channel and an ATR supertrend on the price chart and marks candles where several built-in detectors agree on the same bar. The detectors cover pullback patterns, displacement, relative volume and high-volume bars, shown as lettered markers.

Indicator v5 Volatility & bandsTrend
Updated 2 months ago · None stated GitHub repository of KC Combo Bull v4.5
1 stars

This indicator calculates a smoothed momentum oscillator from price and plots many offset momentum lines in a separate pane as a colour-graded heat map. Moving average type, smoothing periods, the number of plotted lines and the colour theme are adjustable. It

Indicator v4 Oscillators & momentumDivergence
Updated 6 months ago · None stated GitHub repository of Angular Momentum Heat Map Plot

VolumeSpikeTest

by ivansoft
1 stars

This indicator calculates and visualizes statistical volume thresholds across dynamic, time-based lookback windows. It converts multi-hour and multi-day periods into bar counts based on the active timeframe to compute rolling volume medians, simple moving aver

Indicator v5 Volume
Updated 1 year ago · None stated GitHub repository of VolumeSpikeTest

GBTC Tracker

by Allen1212
303 stars

GBTC Tracker visualizes historical buy and sell transactions executed by ARK Invest funds for the GBTC asset directly on the main price chart. It plots green upward labels for buy orders and red downward labels for sell orders at specific historical date times

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

Test 010 Linearity

by ricardosantos79
261 stars

This experimental script calculates a custom linearity metric using rolling historical close price data stored in a fixed-size array. It computes a weighted sum of price differences relative to the oldest price held in the array buffer. The script plots the re

Indicator v4 TrendOscillators & momentum
Updated 4 years ago · None stated GitHub repository of Test 010 Linearity
99 stars

This indicator calculates a second-order Elliptic lowpass filter (IIR) with defined passband ripple and stopband attenuation. It applies digital signal processing techniques to smooth price data while attempting to maintain a sharp frequency cutoff. The result

Indicator v6 TrendMoving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of Elliptic 2nd Order Filter

Rate Of Change

by TWODS-CAPITAL
37 stars

This indicator plots the rate of change of a chosen price source in a separate pane. It calculates the percentage difference between the current source value and the value a set number of bars earlier, then draws that series as a line together with a horizonta

Indicator v5 Oscillators & momentum
Updated 3 years ago · MIT GitHub repository of Rate Of Change

Wave Navigator is a price-chart indicator that builds zigzag swings from ATR or percentage thresholds and scans stored pivots for Elliott-style impulse, diagonal, flat and triangle patterns. It scores candidates with optional Fibonacci, time-ratio, RSI or MACD

Indicator v6 Support & resistanceOscillators & momentum
Updated 3 days ago · MIT GitHub repository of Wave Navigator [WavesUnchained]

BTC bar volume color

by eddiebelaval
7 stars

This overlay indicator collects Bitcoin spot volume from many named exchanges on the chart timeframe and adds those series after treating missing values as zero. It also begins gathering perpetual futures volume from several venues and sets a fixed length of 1

Indicator v5 Volume
Updated 3 months ago · None stated GitHub repository of BTC bar volume color

MSNR

by alboogycOdR
6 stars

This indicator identifies and plots key support and resistance structures directly on the price chart. It calculates A/V swing levels, price gaps, and Quasimodo levels using configurable pivot lengths and touch tolerances. Users can customize maximum level cou

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of MSNR
3 stars

The Limitless Trading Indicator is an overlay tool that combines multi-timeframe Exponential Moving Averages (13 and 62 EMAs) with Relative Strength Index (RSI) crossovers. It evaluates trend direction on a user-selected higher timeframe and filters entry sign

Indicator v5 TrendOscillators & momentum Repaints
Updated 5 months ago · None stated GitHub repository of Limitless Trading Indicator

Extreme Trend Reversal Points identifies potential trend reversal zones directly on the price chart using moving averages and historical range percentiles. The indicator calculates price extremes relative to historical percentile history to detect overextended

Indicator v5 TrendMoving averages
Updated 8 months ago · None stated GitHub repository of Extreme Trend Reversal Points [HeWhoMustNotBeNamed]

Quantum Trend Matrix Pro AI

by vedkanani123
1 stars

A price-chart indicator built on a triple EMA ribbon, defaulting to 8, 21 and 55 periods, with gradient fill and a trend background. It combines EMA alignment, slope, persistence, momentum, spread and squeeze detection into a weighted 0 to 100 trend score with

Indicator v6 TrendMoving averages
Updated 2 months ago · None stated GitHub repository of Quantum Trend Matrix Pro AI

KC Combo Bull v4.6

by nishpa800
1 stars

Overlays a Keltner Channel and an ATR supertrend on the price chart and marks candles where several built-in detectors agree on the same bar. The detectors cover pullback patterns, displacement, relative volume and high-volume bars, shown as lettered markers.

Indicator v5 Volatility & bandsTrend
Updated 2 months ago · None stated GitHub repository of KC Combo Bull v4.6
1 stars

A Pine v4 pane indicator that draws moving average based momentum as a heat map of up to 28 rows and adds pivot-based swing detection on the oscillator. Separate pivot lookbacks and range limits are provided for short, medium and long term swings, and colored

Indicator v4 Oscillators & momentumDivergence
Updated 6 months ago · None stated GitHub repository of Angular Momentum Swing Heat Map
1 stars

A test indicator in a separate pane that sums the previous bar's volume over several rolling windows, from ten minutes up to one day, converted into bar counts from the chart timeframe. For some windows it also plots a percentile of the sum over a longer histo

Indicator v5 Volume
Updated 1 year ago · None stated GitHub repository of VolumeSpikeTestCumulative

GENI-tracker

by Allen1212
303 stars

This indicator overlays historical ARK Invest buy and sell labels on the GENI price chart. It does not calculate an oscillator or generate trading signals. When the ETF input is ALL, it places green labels below bars for buys and red labels above bars for sell

Indicator v4
Updated 2 years ago · None stated GitHub repository of GENI-tracker

Test 012 ZZ

by ricardosantos79
261 stars

This experimental script detects high and low pivot points to establish a basic ZigZag structure. It plots red and lime circles on the chart to highlight detected high and low pivots, along with a gray line tracking the ZigZag trajectory based on bar index off

Indicator v4 Support & resistance Repaints
Updated 4 years ago · None stated GitHub repository of Test 012 ZZ

Entropy

by mihakralj
99 stars

This indicator calculates normalized Shannon entropy of a chosen source over a lookback window and plots the result in a separate pane. It ignores missing values, places valid samples into histogram bins, and divides entropy by the logarithm of the bin count s

Indicator v6
Updated 4 weeks ago · Apache-2.0 GitHub repository of Entropy

My Script

by be-thomas
65 stars

This indicator calculates and plots the number of bars elapsed since the start of the current trading day. It defines a custom function to identify a new day by monitoring changes in the day of the week attribute across bars. Using the barssince function, it t

Indicator v4 Sessions & time
Updated 6 days ago · GPL-3.0 GitHub repository of My Script

Relative Strength Index

by TWODS-CAPITAL
37 stars

This indicator calculates the Relative Strength Index from a chosen price source using a smoothed average of gains and losses, then plots it in a separate pane. It overlays a moving average of the RSI that can be SMA, EMA, SMMA, WMA, VWMA, or a Bollinger Band

Indicator v5 Oscillators & momentum
Updated 3 years ago · MIT GitHub repository of Relative Strength Index

WaveTrend Advanced Smoothing is a separate-pane momentum oscillator built on the classic WaveTrend algorithm with eight selectable smoothing techniques, including SuperSmoother, T3, KAMA, and JMA. It provides three normalization scale modes: Classic, Clamp, an

Indicator v6 Oscillators & momentumMoving averages
Updated 3 days ago · MIT GitHub repository of WaveTrend Advanced Smoothing [WavesUnchained]

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