Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 102)

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

An indicator that watches for shifts in volatility in a separate pane. Each bar it ranks the last N log returns and computes a rank-based Mood scale statistic over all candidate split points, taking the largest standardized value. When that value passes a thre

Indicator v6 Volatility & bands
Updated 9 days ago · GPL-3.0 GitHub repository of Mood Test Change-Point Detector

DEPV2 DEBUG S16

by YuceSezar89
1 stars

DEPV2 DEBUG S16 is a multi-symbol indicator that plots trading signals for 20 major Binance cryptocurrency pairs including BTCUSDT, ETHUSDT, SOLUSDT and others. It applies four distinct methods: TREND, MOMENTUM, VOLATILITY and VOLUME to generate signals. Three

Indicator v6 TrendOscillators & momentum Repaints
Updated 2 weeks ago · None stated GitHub repository of DEPV2 DEBUG S16
1 stars

This indicator analyzes order flow, dollar volume changes, and price movement across up to five configurable currency symbols in a separate pane. It calculates volume flow scores using normalized metrics such as percent change or Z-scores, integrated with Chai

Indicator v6 VolumeOscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of Volume Multi Currency Analyzer

Volume MAs Supertrend

by vedkanani123
1 stars

An overlay Supertrend that is built on a volume-weighted moving average instead of raw price, with a choice of nine average types and a length. It uses an ATR period with separate long and short multipliers, so the two band sides can sit at different distances

Indicator v6 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of Volume MAs Supertrend

B2B PUP Combined 5.4

by nishpa800
1 stars

Large overlay indicator that merges many detections into numbered signals on the price chart. It includes pocket pivot volume tests, standard deviation displacement, a VWMA with ATR Supertrend and PBJ filter, relative volume, high-volume and opening-drive zone

Indicator v5 VolumeBreakout
Updated 2 months ago · None stated GitHub repository of B2B PUP Combined 5.4

GrimmHAbacktest

by GreyssonEnterprises
1 stars

This indicator plots four smoothed moving averages of lengths 21, 50, 100 and 200 on the price chart. It fills the area between a two-period EMA and the 200-period SMMA to highlight trend direction. It marks bullish and bearish 3-line strike patterns with arro

Indicator v4 Moving averagesCandlestick patterns
Updated 3 months ago · MIT GitHub repository of GrimmHAbacktest

Hurst Peak Marker

by mikeyhu70
1 stars

A Pine Script v5 indicator in a separate pane that runs a bank of Hurst bandpass filters, from 1 day to 18 year cycles, over the hl2 price and marks cycle peaks with labels and lines. Auto or manual modes control cycle selection, peak selection, composite line

Indicator v5 Oscillators & momentumSupport & resistance Repaints
Updated 6 months ago · None stated GitHub repository of Hurst Peak Marker

Trend Lines v2

by webcrack4
1 stars

This indicator automatically draws trend lines on the price chart based on detected pivot points. It identifies pivot highs and lows using a user-specified period and checks combinations of these points to determine valid trend lines that do not get violated b

Indicator v4 TrendSupport & resistance
Updated 9 months ago · None stated GitHub repository of Trend Lines v2

LQDT Monitor

by ivansoft
1 stars

An indicator on the price chart that tracks the day's opening price, high and low and marks bars where the bar range moves away from the previous bar, as pressure. A small down character above the bar marks downward pressure, a small up character below the bar

Indicator v6 Sessions & time
Updated 1 year ago · None stated GitHub repository of LQDT Monitor

Net Position

by zhuzp98
1 stars

This indicator plots aggregated net long and short positions from selected crypto perpetual markets in a separate pane. It can show net longs, shorts, delta, and ratio as candles, a line, or columns, and it can switch to a position RSI view. Users choose Binan

Indicator v5 VolumeOscillators & momentum
Updated 1 year ago · None stated GitHub repository of Net Position

Vertical Horizontal Filter

by JohnsonHsiao
1 stars

The Vertical Horizontal Filter indicator determines whether an asset is trending or consolidating. It calculates the ratio between the highest-lowest price range over a set lookback period and the sum of absolute price changes over the same period. The script

Indicator v5 TrendVolatility & bands
Updated 3 years ago · None stated GitHub repository of Vertical Horizontal Filter

Gaussian Filter

by everget
947 stars

Gaussian Filter is a trend-following indicator that overlays a smoothed moving average line on the main price chart. It uses a multi-pole Gaussian filter equation derived from a specified cycle period to reduce noise with minimal lag. Users can set the filter

Indicator v4 TrendMoving averages
Updated 13 days ago · GPL-3.0 GitHub repository of Gaussian Filter
330 stars

This multi-symbol indicator evaluates a combined trading condition across up to 40 user-defined symbols. It processes MACD bullish crossovers, RSI thresholds, Bollinger Band boundaries, and DMI/ADX trend filters using security calls. When buy or sell criteria

Indicator v5 Oscillators & momentumVolatility & bands
Updated 2 months ago · None stated GitHub repository of Multi MACD + BB + RSI [Alorse]

API Tracker

by Allen1212
303 stars

API Tracker visualizes historical buy and sell activity by ARK Invest funds directly on the main price chart. It plots date-specific chart labels indicating transaction dates, trade direction, and the count of participating funds for a specific equity. Users c

Indicator v4
Updated 2 years ago · None stated GitHub repository of API Tracker
228 stars

Multi-Timeframe Analysis Suite calculates trend direction and momentum conditions across five user-selected timeframes using moving averages, RSI, and Stochastic oscillators. It evaluates moving average slope and oscillator levels to compute trend alignment, m

Indicator v6 Screeners & dashboardsTrend
Updated 3 months ago · None stated GitHub repository of Multi-Timeframe Analysis Suite
114 stars

This indicator identifies standard deviation breakout signals by comparing standard deviation against its simple moving average. A long signal triggers when standard deviation crosses above its moving average during a bullish candle, while a short signal occur

Indicator v4 Volatility & bandsBreakout Repaints
Updated 1 year ago · None stated GitHub repository of Stdev Breakout Strategy
99 stars

The Bulls Bears Index (BBI) calculates a composite moving average by taking the arithmetic mean of four separate Simple Moving Averages (SMAs) with distinct lookback periods: ultra-short, short, medium, and long. Optimized for streaming efficiency using circul

Indicator v6 TrendMoving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of Bulls Bears Index (BBI)

V5 Concepts Colors 11

by be-thomas
65 stars

This demonstration script plots the high, median (hl2), and low price values using multiple overlapping line plots with distinct transparency levels and line widths. Designed to showcase color styling in Pine Script v5, it illustrates how using color.new with

Indicator v5
Updated 7 days ago · GPL-3.0 GitHub repository of V5 Concepts Colors 11

Major Buy Setup

by dcaoyuan
55 stars

Major Buy Setup plots a 20-period and a 50-period simple moving average on the price chart. It marks a buy when the current bar is both a bullish engulfing candle and a bald bull candle, defined as a green candle whose upper shadow is no more than five percent

Indicator v5 Moving averagesCandlestick patterns Repaints
Updated 6 months ago · Apache-2.0 GitHub repository of Major Buy Setup

Hour Stats with Levels

by TamaraKGreen
47 stars

This indicator draws hourly statistics and reference levels on the price chart. It plots optional target lines for the previous hour open, high, low, and midpoint, plus the current hour open. Dashed reversal lines mark the 25th, median, and 75th percentile swe

Indicator v5 Support & resistanceScreeners & dashboards
Updated 8 weeks ago · None stated GitHub repository of Hour Stats with Levels

Fisher04 is an oscillator that implements John Ehlers' 2004 Fisher transform from Cybernetic Analysis. It normalizes the midpoint of high and low against the highest and lowest values over the length input, then applies a recursive smoothing step and clamps th

Indicator v6 Oscillators & momentum
Updated 8 months ago · MIT GitHub repository of Fisher04 - Ehlers 2004 Cybernetic Analysis

Cumulative Volume Index

by TWODS-CAPITAL
37 stars

This indicator calculates the Cumulative Volume Index (CVI) by measuring market breadth across major US exchanges. It requests advancing volume and declining volume data for a chosen exchange, computes their net difference, and tracks the cumulative sum over t

Indicator v5 Volume
Updated 3 years ago · MIT GitHub repository of Cumulative Volume Index

Calculates and plots a three-tiered moving average framework consisting of Fast, Base, and Anchor curves directly on the price chart. It evaluates moving average slopes, curvature, separation, and price extension to categorize market conditions into states suc

Indicator v6 Moving averagesTrend
Updated 4 days ago · MIT GitHub repository of MA Cascade Engine [WavesUnchained]

Assistant

by eddiebelaval
7 stars

Assistant is an overlay indicator that marks candles with small or missing upper and lower wicks, using a threshold relative to body size. It plots three-candle and five-candle swing fractals as triangles two bars back, and fires alerts when a bullish or beari

Indicator v6 Candlestick patternsSupport & resistance
Updated 3 months ago · None stated GitHub repository of Assistant

Volume Details

by suyons
7 stars

Volume Details calculates estimated buy and sell volume based on intraday price location relative to the high-low bar range. It fetches daily volume history to derive a 30-day daily average volume and compares current volume against this metric. An on-screen t

Indicator v5 VolumeScreeners & dashboards
Updated 4 months ago · None stated GitHub repository of Volume Details

714AutoM8trDST

by alboogycOdR
6 stars

Calculates Smart Money Concepts market structure elements including internal and swing breaks of structure, change of character, and order blocks directly on the price chart. It highlights bullish and bearish structures, customizable internal and swing order b

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 7 months ago · None stated GitHub repository of 714AutoM8trDST

VuManChu B Divergences

by jerryinyang
5 stars

VuManChu B Divergences is a momentum indicator that plots WaveTrend oscillator values and an MFI area in a separate pane. It calculates signals for long entries on bullish crosses below zero levels and short entries on bearish crosses above zero levels. The sc

Indicator v4 Oscillators & momentumSupport & resistance
Updated 2 years ago · None stated GitHub repository of VuManChu B Divergences
3 stars

This indicator overlays smart-money structure on the price chart. It draws supply and demand zones from swing highs and lows, labels those swings as higher or lower highs and lows, and marks zones broken by a close as break-of-structure lines. Fair-value gaps

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

Price Action Concepts [StratifyTrade] identifies smart money concepts directly on the price chart. It plots swing and internal market structure breaks, changes of character, order blocks with volume activity metrics, and equal highs or lows. In addition, it di

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints

Market Cipher SR

by TamTH-Dev
2 stars

This indicator plots daily support and resistance levels, volume-filtered fractal levels, and an optional VWAP overlay on the price chart. It calculates daily pivot highs, lows, and their midpoint, alongside fractal support and resistance based on candle swing

Indicator v5 Support & resistanceVolume Repaints
Updated 6 weeks ago · None stated GitHub repository of Market Cipher SR

cd_sweep&cisd_Cx

by alvinng214
2 stars

This indicator overlays higher-timeframe structure on the price chart. It draws HTF range boxes, an HTF candle, remaining time, and optional bias from a chosen higher timeframe. Sweep boxes mark swept ranges, CISD lines mark delivery shifts, and an SMT view ca

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 2 months ago · None stated GitHub repository of cd_sweep&cisd_Cx

RSI Divergence

by avatar-lavventura
2 stars

The RSI Divergence indicator calculates the difference between a fast and a slow Relative Strength Index. It plots this divergence value as a colored line in a separate pane, shifting to lime green above zero and red below zero. The primary settings control th

Indicator v4 DivergenceOscillators & momentum
Updated 8 months ago · None stated GitHub repository of RSI Divergence

Rolling VWAP

by regalouisei
2 stars

The Rolling VWAP indicator calculates and overlays a rolling volume-weighted average price directly on the price chart. Unlike anchored or daily reset VWAPs, it calculates volume-weighted price over a continuous rolling time window defined by days, hours, and

Indicator v6 Moving averagesVolume
Updated 8 months ago · None stated GitHub repository of Rolling VWAP

HMA sweete

by mushroom-men-Trading
2 stars

The HMA sweete indicator computes multiple variants of the Hull Moving Average including standard HMA THMA EHMA and custom z- versions with added momentum. Users can select the source series MA type length multiplier and history bars for up to three MAs. It pl

Indicator v6 Moving averages
Updated 9 months ago · None stated GitHub repository of HMA sweete
2 stars

This educational indicator calculates and visualizes market gap sizes in a separate pane. It computes two distinct metrics: the absolute percentage gap between the current bar open and the previous close, and the percentage gap distance between the current bar

Indicator v5 Candlestick patternsVolatility & bands
Updated 2 years ago · None stated GitHub repository of Candlesticks - Calculating Gaps

My Script

by majixai
1 stars

This indicator draws price data on the chart. It uses a plot budget function to limit the number of plots and displays close, high, and low prices. The script also provides functions to draw dynamic boxes and lines on the price chart. Arrays manage these objec

Indicator v5 Support & resistanceScreeners & dashboards
Updated 3 days ago · None stated GitHub repository of My Script

P_err_unclosed_paren

by GammaExpansion
1 stars

This script is an indicator written in Pine Script version 6. It declares an indicator named P_err_unclosed_paren and plots the close price using the plot function. The plot draws in a separate pane. There are no input settings. The script is incomplete with a

Indicator v6
Updated 8 days ago · MIT GitHub repository of P_err_unclosed_paren
1 stars

An overlay indicator for the New York morning window that looks for qualified structure breaks on a 5-minute chart. Direction is filtered by a one-hour bias built from swing structure and EMAs. A break must clear swing, channel or session-extreme levels and pa

Indicator v6 BreakoutSessions & time Repaints
Updated 9 days ago · GPL-3.0 GitHub repository of Morning Structure + Flow Research

DEPV2 DEBUG S17

by YuceSezar89
1 stars

DEPV2 DEBUG S17 is a debug indicator for a multi-method crypto trading signal tool. It supports 20 major cryptocurrency symbols from Binance such as BTCUSDT, ETHUSDT, SOLUSDT, and others. Four signal classes are available: TREND based on price levels, MOMENTUM

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

6/20 Cloud Flip

by vedkanani123
1 stars

A small price-chart indicator that plots a fast and a slow exponential moving average, defaulting to 6 and 20 periods, and fills the space between them with a cloud. The cloud is green while the fast average is above the slow one and red otherwise, so a colour

Indicator v6 Moving averagesTrend
Updated 2 months ago · None stated GitHub repository of 6/20 Cloud Flip
1 stars

A large detection indicator that merges many volume and price-pattern engines into numbered signals drawn as shapes on the price chart. Components include pocket pivot detection, displacement measured in standard deviations, a VWMA with ATR Supertrend, relativ

Indicator v5 VolumeSMC / ICT / price action
Updated 2 months ago · None stated GitHub repository of B2B PUP Combined 5.4 Tick-Friendly

GrimmTurtle

by GreyssonEnterprises
1 stars

A short Pine v4 indicator that plots a Donchian-style channel using the highest and lowest values over a set length, with a midpoint line. It labels a bullish or bearish Turtle when the previous bar's upper band rose or fell compared with the bar before, colou

Indicator v4 BreakoutTrend
Updated 3 months ago · MIT GitHub repository of GrimmTurtle

Hurst Peak Marker V2

by mikeyhu70
1 stars

A Pine Script v5 indicator in a separate pane, the second revision of a Hurst cycle peak marker. It passes the hl2 price through bandpass filters for cycles from 1 day to 18 years and draws labels and lines at cycle peaks. Each cycle has its own bandwidth and

Indicator v5 Oscillators & momentumSupport & resistance
Updated 6 months ago · None stated GitHub repository of Hurst Peak Marker V2

Method Example

by ivansoft
1 stars

Teaching script showing user-defined methods in Pine. A method keeps an array of the latest 50 closes by adding a new value and removing the oldest, and the script plots the array's average in a separate pane, which acts as a 50-bar simple average. It also not

Indicator v6
Updated 1 year ago · None stated GitHub repository of Method Example

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