Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 110)

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

DEPV2 DEBUG S27

by YuceSezar89
1 stars

DEPV2 DEBUG S27 is a multi-asset signal evaluation indicator designed to monitor up to twenty cryptocurrency pairs simultaneously. It classifies market behavior into four analytical dimensions: trend, momentum, volatility, and volume. The script supports multi

Indicator v6 TrendOscillators & momentum Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 DEBUG S27

Atomic Tick Predictor — Statistical Next-Candle Engine estimates the likelihood of the next candle direction by combining a K-Nearest Neighbors algorithm with live tick updates. It tracks up and down ticks, tick volume, and price pressure within the active bar

Indicator v5 AI / machine learningVolume Repaints

ATSYS Keep It Simple

by vedkanani123
1 stars

A price-chart indicator with Portuguese labels that combines Bollinger Bands, a fast 13 and slow 34 exponential average, and coloured clouds. Bands default to an exponential basis and can use simple, smoothed or weighted types. The average cloud changes colour

Indicator v6 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of ATSYS Keep It Simple

Fable Bear HTF v1

by nishpa800
1 stars

The first release of a bearish-side detection indicator for higher timeframe charts. It draws numbered signals on the price chart from relative volume tiers, displacement using a nine standard deviation default multiplier, a VWMA with ATR Supertrend latch, poc

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Fable Bear HTF v1

Squeeze2backtester

by GreyssonEnterprises
1 stars

Squeeze2backtester is an indicator-based backtester that identifies volatility squeezes by comparing Bollinger Bands with Keltner Channels. It simulates trade executions directly on the price chart, tracking entry prices, stop-loss thresholds, breakeven levels

Indicator v4 Volatility & bandsBreakout Repaints
Updated 3 months ago · MIT GitHub repository of Squeeze2backtester

A Pine Script v5 indicator in a separate pane, the second revision of a Hurst spectral oscillator. It passes the hl2 price through bandpass filters for cycles from 1 day upward and draws the cycle waves with a composite line. A single bandwidth value applies t

Indicator v5 Oscillators & momentum Repaints
Updated 6 months ago · None stated GitHub repository of Hurst Spectral Analysis Oscillator V2
1 stars

This indicator identifies regular and hidden divergences across up to ten technical oscillators simultaneously, including RSI, MACD, Stochastic, CCI, Momentum, OBV, VW-MACD, CMF, MFI, and an external source. It plots divergence lines and text labels directly o

Indicator v4 DivergenceOscillators & momentum
Updated 9 months ago · None stated GitHub repository of Divergence for Many Indicators yzz
1 stars

An indicator in a separate pane that shows how far each bar's high, low, close and optionally open, size or high-low combinations moved from the previous bar, as columns. Percentile levels over a chosen number of bars mark unusually large moves, and a cumulati

Indicator v6 Volatility & bands
Updated 1 year ago · None stated GitHub repository of Price Impulse Detector

Moving Median

by everget
947 stars

Moving Median calculates the 50th percentile value of a specified price source over a user-defined lookback period using the nearest rank method. It plots directly on the main price chart as a single line. When trend highlighting is enabled, the plot changes c

Indicator v4 Moving averagesTrend
Updated 12 days ago · GPL-3.0 GitHub repository of Moving Median

BABA-tracker

by Allen1212
303 stars

This indicator plots historical buy and sell transactions executed by ARK Invest funds for Alibaba stock directly on the price chart. It renders green upward labels below price bars for purchases and red downward labels above price bars for sales, displaying t

Indicator v4
Updated 2 years ago · None stated GitHub repository of BABA-tracker
257 stars

This indicator builds a footprint of estimated buy and sell volume across price rows and plots it in a separate pane. It fills rows from bar low to high, stores volume per row, and draws buy and sell volume boxes, volume-profile boxes, row labels, and cumulati

Indicator v5 Volume Repaints
Updated 7 weeks ago · None stated GitHub repository of Footprint Delta Lite

RSI Divergence Scanner

by TradersPost
228 stars

The RSI Divergence Scanner calculates the Relative Strength Index and identifies regular and hidden bullish or bearish divergences against price using pivot high and low points. It plots divergence lines and customizable labels directly on the price chart. Inp

Indicator v6 Oscillators & momentumDivergence
Updated 3 months ago · None stated GitHub repository of RSI Divergence Scanner

Aggregate Signal

by capissimo
114 stars

This indicator builds an aggregate oscillator in a separate pane. It scales open, high, low, close, and volume into a 0 to 1 range, then averages scaled readings from MACD, a MACD histogram, RSI, stochastic, CCI, momentum, OBV, a directional index, volume-weig

Indicator v4 Oscillators & momentumVolume Repaints
Updated 1 year ago · None stated GitHub repository of Aggregate Signal
99 stars

This indicator computes the Continuous Wavelet Transform magnitude of a chosen source series using a Morlet wavelet at one scale. It applies a Gaussian-windowed sine and cosine kernel over a window of about three scales, then plots the resulting power in a sep

Indicator v6
Updated 4 weeks ago · Apache-2.0 GitHub repository of Continuous Wavelet Transform (CWT)

ATR

by be-thomas
65 stars

This script calculates a 14-period Average True Range (ATR) indicator and displays its current value inside a single-cell table positioned at the top right of the price chart. To ensure accurate historical calculation while optimizing table performance, the AT

Indicator v4 Volatility & bandsScreeners & dashboards
Updated 6 days ago · GPL-3.0 GitHub repository of ATR
47 stars

This indicator tracks regular trading hours for Nasdaq futures on the price chart. It stores the current session open, high, and low and keeps yesterday's RTH high and low. It can draw those levels as lines with labels shifted a chosen number of bars to the ri

Indicator v5 Sessions & timeSupport & resistance
Updated 8 weeks ago · None stated GitHub repository of NQ Stats - RTH Breaks w/stats
47 stars

This indicator plots a Hull Moving Average on the price chart. It computes weighted moving averages of the selected source over half the period and the full period, subtracts the full average from twice the half average, then smooths that difference with a wei

Indicator v6 TrendMoving averages
Updated 8 months ago · MIT GitHub repository of Hull Moving Average (HMA)

Ease of Movement

by TWODS-CAPITAL
37 stars

Ease of Movement is a technical oscillator that measures the relationship between price changes and volume. It calculates the distance moved by the price range midpoint relative to volume, smoothed by a Simple Moving Average. The indicator plots in a separate

Indicator v5 VolumeOscillators & momentum
Updated 3 years ago · MIT GitHub repository of Ease of Movement

Markov State Engine classifies market conditions into six distinct regimes, including strong trends, weak trends, compression, and expansion. It evaluates historical state transitions using an exit-conditional Markov model with Laplace smoothing to estimate re

Indicator v6 AI / machine learningTrend
Updated 3 days ago · MIT GitHub repository of Markov State Engine [WavesUnchained]

Dual Super Trend Indicator

by eddiebelaval
7 stars

The Dual Super Trend Indicator calculates and evaluates Supertrend values across two customizable timeframes to determine combined trend direction. A bullish signal triggers when both timeframes register a bullish Supertrend direction, while a bearish signal t

Indicator v6 TrendVolatility & bands Repaints
Updated 3 months ago · None stated GitHub repository of Dual Super Trend Indicator
6 stars

Apex Protocol v3.0 plots smart-money structure on the price chart. It marks break of structure and market structure shifts, order blocks, fair value gaps with optional midlines, automatic Fibonacci levels, and higher-high, lower-high, higher-low, and lower-low

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of Apex Protocol v3.0 - The SMC Engine

Supertrend [trugurpala]

by trugurpala
4 stars

This indicator calculates the ATR-based Supertrend line overlaid directly on the price chart to identify market trend direction. It computes upper and lower bands around the median price using Average True Range (ATR) scaled by a configurable multiplier. The s

Indicator v6 TrendVolatility & bands
Updated 2 months ago · MIT GitHub repository of Supertrend [trugurpala]

DMI ADX Signals

by g-moe
3 stars

This indicator combines the Directional Movement Index (DMI) and the Stochastic oscillator to plot directional trade signals directly on the price chart. It offers two distinct signal logic modes: one based on DI line crossovers confirmed by Stochastic levels,

Indicator v5 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of DMI ADX Signals

This indicator projects dynamic price target levels directly on the chart based on configurable signal conditions such as crossovers and crossunders between two sources. Users can select from a wide range of built-in technical indicators, including Supertrend,

Indicator v5 SMC / ICT / price actionSupport & resistance

MTF FVG x2 [MK]

by alvinng214
2 stars

This indicator identifies and visualizes multi-timeframe Fair Value Gaps (FVGs) directly on the price chart. It projects imbalances across multiple configurable timeframes, ranging from intraday intervals to monthly periods, with options to overlay zones or pr

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of MTF FVG x2 [MK]

WaveTrend [LazyBear]

by avatar-lavventura
2 stars

The WaveTrend indicator calculates two oscillator lines, wt1 and wt2, using a channel length on hlc3 price and an average length. It plots wt1 in green and wt2 in red in a separate pane together with overbought and oversold horizontal levels and the histogram

Indicator v4 Oscillators & momentumMoving averages
Updated 7 months ago · None stated GitHub repository of WaveTrend [LazyBear]

Cycles Analysis

by regalouisei
2 stars

This indicator segments market history into bull and bear cycle periods based on user-defined percentage movements or elapsed time duration. It overlays cycle stages directly on the price chart using colored background highlights, peak and trough labels, and d

Indicator v6 TrendScreeners & dashboards
Updated 8 months ago · None stated GitHub repository of Cycles Analysis

McGinley Dynamic Indicator (MGDI)

by mushroom-men-Trading
2 stars

The McGinley Dynamic Indicator calculates an adaptive smoothed value that responds dynamically to recent price changes. It plots one line on the price chart to show trend direction and strength. Users set the lookback period for the initial average and the fac

Indicator v6 TrendMoving averages
Updated 9 months ago · None stated GitHub repository of McGinley Dynamic Indicator (MGDI)

Getting User Input

by Web3Degenerate
2 stars

The script Getting User Input is a Pine Script v5 indicator that demonstrates various user input settings. It provides boolean toggles for on/off states, color pickers, integer and float numeric controls, symbol choices, price levels, price sources, timestamp

Indicator v5 Sessions & time
Updated 2 years ago · None stated GitHub repository of Getting User Input

P_fmt_long_line

by GammaExpansion
1 stars

The P_fmt_long_line indicator calculates a complex expression on a separate pane. It sums open, high, low, close values and derived ranges like hl2, hlc3 and ohlc4 across the current bar and the prior nine bars, plus their maximum and minimum. The result is as

Indicator v6
Updated 7 days ago · MIT GitHub repository of P_fmt_long_line
1 stars

An indicator in a separate pane that splits each bar's volume into a buy part and a sell part, drawn as stacked columns. The split is estimated from lower-timeframe sub-bars, each classed as up or down by its own close versus open, so it approximates order flo

Indicator v6 Volume
Updated 8 days ago · GPL-3.0 GitHub repository of Stacked Buy/Sell Volume Columns

DEPV2 DEBUG S28

by YuceSezar89
1 stars

DEPV2 DEBUG S28 is a Pine Script v6 indicator that draws in a separate pane. It watches up to twenty user-chosen symbols, defaulting to Binance perpetual crypto pairs, and combines four method classes: trend, momentum, volatility, and volume. Signal mode can u

Indicator v6 TrendOscillators & momentum Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 DEBUG S28

Fable Bear HTF v1.2

by nishpa800
1 stars

A bearish-side detection indicator for higher timeframe charts that marks numbered signals on the price chart. It combines relative volume tiers, displacement based on a standard deviation multiplier, a VWMA with ATR Supertrend latch, pocket pivots and fair va

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of Fable Bear HTF v1.2

VuManChu B Divergences

by GreyssonEnterprises
1 stars

This indicator plots a WaveTrend oscillator in a separate pane, modeled after Market Cipher B. It marks wave crossings with small circles, green buy dots when waves cross up at oversold levels, and red sell dots when they cross down at overbought levels. Gold

Indicator v4 Oscillators & momentumDivergence
Updated 3 months ago · MIT GitHub repository of VuManChu B Divergences

A Pine Script v5 indicator in a separate pane, the third revision of a Hurst spectral oscillator. The hl2 price is run through bandpass filters for cycles from 1 day to 18 years and the waves are plotted with an optional composite. Bandwidth and period are set

Indicator v5 Oscillators & momentum Repaints
Updated 6 months ago · None stated GitHub repository of Hurst Spectral Analysis Oscillator V3

Supertrend

by webcrack4
1 stars

This indicator calculates a classic Supertrend line on the price chart using Average True Range (ATR) and a user-defined multiplier. It identifies prevailing market trends by dynamically trailing support and resistance levels. When price closes across the band

Indicator v4 TrendVolatility & bands
Updated 9 months ago · None stated GitHub repository of Supertrend

Price Spike Detector

by ivansoft
1 stars

An indicator in a separate pane that measures candle wick sizes, the distance from the body to the high and to the low, and shows them as columns for the chart timeframe along with 15-minute and 60-minute versions requested with lookahead. Percentile levels ov

Indicator v6 Volatility & bandsCandlestick patterns Repaints
Updated 1 year ago · None stated GitHub repository of Price Spike Detector

BATM-tracker

by Allen1212
303 stars

This indicator tracks historical ARK Invest transactions for BATM on the main price chart. It visualizes past buy and sell activity by plotting color-coded labels directly above or below corresponding price bars using specific calendar timestamps. The primary

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

Sideway Zones Live

by dearvn
257 stars

Sideway Zones Live is an overlay indicator that estimates inner and outer sideways bands from recent highs and lows with a rational quadratic kernel. It tracks swing pivots over a loopback period and counts bars that remain between the outer high and low. Afte

Indicator v5 TrendSupport & resistance
Updated 7 weeks ago · None stated GitHub repository of Sideway Zones Live

RSI Divergence Template

by TradersPost
228 stars

This indicator plots the Relative Strength Index in a separate pane and marks regular and hidden bullish and bearish divergences. It compares confirmed price pivots with RSI pivots within a lookback window: regular divergence contrasts a price extreme with the

Indicator v6 Oscillators & momentumDivergence
Updated 3 months ago · None stated GitHub repository of RSI Divergence Template
114 stars

Aggregate Signal (Improved) calculates a composite indicator by normalizing and averaging multiple technical metrics, including the Relative Strength Index, Commodity Channel Index, Center of Gravity, and a slope-based sigmoid transform. Each factor is normali

Indicator v4 Oscillators & momentum
Updated 1 year ago · None stated GitHub repository of Aggregate Signal (Improved)

Coppock Curve

by mihakralj
99 stars

This indicator calculates the Coppock Curve as a weighted moving average of the sum of a long and a short rate of change of a chosen source. It plots that oscillator in a separate pane and draws a dotted zero line. Inputs set the source, the long ROC lookback,

Indicator v6 Oscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Coppock Curve

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