Pine Library · 7,612 open-source scripts

Free TradingView Indicators (page 118)

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 S46

by YuceSezar89
1 stars

DEPV2 DEBUG S46 is a Pine Script v6 indicator that draws in a separate pane. It tracks up to twenty user-selected crypto perpetual symbols and combines four signal classes: trend, momentum, volatility, and volume. The signal mode can use one class, require sev

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

Cube

by morindok
1 stars

The Cube indicator draws a 3D cube projection on the price chart using two user-specified points defined by time and price inputs. It connects multiple polylines at calculated ratios of time and price deltas to form the cube's edges and faces. The main setting

Indicator v5 Support & resistance
Updated 7 weeks ago · None stated GitHub repository of Cube

Demand & Supply Zones Pro

by vedkanani123
1 stars

A price-chart indicator that finds supply and demand zones from leg-in, base and leg-out candle structures. Demand comes from rally-base-rally and drop-base-rally patterns, and supply from rally-base-drop and drop-base-drop, each switchable. Leg and base candl

Indicator v6 Support & resistanceVolume
Updated 2 months ago · None stated GitHub repository of Demand & Supply Zones Pro
1 stars

Tick-chart-safe overlay indicator that classifies candles into seven families: momentum blast, range expansion, gap and go, trend accelerant, trapdoor reversal, exhaustion spike and gap and recover. Each family uses ATR multiples, body-to-range ratios and volu

Indicator v5 Candlestick patternsOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Fauna Dual Mode 2.0 Tick-Friendly
1 stars

A Pine Script v5 indicator on the price chart for market structure, filed by its author as a broken copy that may not run correctly. It aims to detect internal and external swings with adjustable sensitivity, label breaks of structure and changes of character,

Indicator v5 SMC / ICT / price action
Updated 6 months ago · None stated GitHub repository of Price Action Toolkit (Broken)

True Strength Index

by ivansoft
1 stars

Plots the True Strength Index in a separate pane. Price change is smoothed twice with exponential averages, using long and short lengths of 25 and 13 by default, and divided by the same smoothing of absolute change. A signal line is an EMA of the result with a

Indicator v6 Oscillators & momentum
Updated 1 year ago · None stated GitHub repository of True Strength Index

Symbol Info Helper

by everget
947 stars

Symbol Info Helper is an informational utility script that displays metadata about the currently selected instrument directly on the main price chart. It gathers built-in symbol properties including ticker identifier, description, instrument type, point value,

Indicator v4 Screeners & dashboards
Updated 12 days ago · GPL-3.0 GitHub repository of Symbol Info Helper
330 stars

This indicator plots a KDJ oscillator and a MACD in a separate pane. It calculates RSV from the highest high and lowest low over a set period, then smooths it into K, D, and J lines and colors the background by whether J is above D. It also builds MACD from fa

Indicator v4 Oscillators & momentum
Updated 2 months ago · None stated GitHub repository of KDJ + MACD Cross [Alorse]

BZ-tracker

by Allen1212
303 stars

The BZ-tracker indicator marks ARK Invest buy and sell transactions on stock charts with labels. It plots green labels for purchases and red labels for sales, each annotated with a multiplier such as X1 or X2 to show the number of ARK ETFs trading the stock on

Indicator v4 Support & resistanceScreeners & dashboards
Updated 2 years ago · None stated GitHub repository of BZ-tracker

VWAP Bands Template

by TradersPost
228 stars

This indicator plots a volume-weighted average price and three standard-deviation bands on the price chart. It resets the running volume-weighted totals at the selected anchor, which can be the session, week, month, quarter, or year. The source price, band mul

Indicator v6 VolumeVolatility & bands
Updated 3 months ago · None stated GitHub repository of VWAP Bands Template
114 stars

This indicator combines a scaled Forecast Oscillator with a Point of Force state detector. The Forecast Oscillator calculates the percentage deviation of price from its linear regression curve and normalizes the output between 0 and 1, plotting a line in a sep

Indicator v4 Oscillators & momentumSupport & resistance Repaints

Calculates John F. Ehlers' Distance Coefficient Filter as a distance-weighted finite impulse response filter overlaid directly on the price chart. It weights historical price samples based on the sum of squared price differences across the lookback window, red

Indicator v6 TrendMoving averages
Updated 4 weeks ago · Apache-2.0 GitHub repository of EDCF: Ehlers Distance Coefficient Filter

Chaikin Oscillator

by be-thomas
65 stars

Calculates the Chaikin Oscillator by taking the difference between a fast exponential moving average and a slow exponential moving average of the Accumulation/Distribution line. It plots the resulting line in a separate pane alongside a dashed zero reference l

Indicator v4 Oscillators & momentumVolume
Updated 6 days ago · GPL-3.0 GitHub repository of Chaikin Oscillator

Time Based Ranges

by TamaraKGreen
47 stars

Time Based Ranges is an overlay indicator that marks session windows and price levels on the chart. It draws boxes for named time zones and optional inner intervals, plus open-price and midnight price lines. Users choose a timezone, toggle zone and interval di

Indicator v5 Sessions & timeSupport & resistance Repaints
Updated 8 weeks ago · None stated GitHub repository of Time Based Ranges
47 stars

This indicator computes and plots the natural logarithm of a selected price series in a separate pane. It evaluates the input series, returning the natural log for positive values and na for values less than or equal to zero. The user can adjust the input sour

Indicator v6
Updated 8 months ago · MIT GitHub repository of Logarithmic Transformation (LOG)

Harami - Bearish

by TWODS-CAPITAL
37 stars

This indicator detects a bearish Harami candlestick pattern on the price chart. It requires a long bullish candle in an uptrend followed by a smaller bearish candle whose range sits inside the previous body. Trend context is optional and uses a 50-period SMA,

Indicator v5 Candlestick patternsTrend
Updated 3 years ago · MIT GitHub repository of Harami - Bearish

Oscillator Divergence Zones calculates nine selectable momentum oscillators, including RSI, CCI, MFI, TSI, STC, and Ehlers filters, to detect regular and hidden divergences. It evaluates price and momentum pivots to spot structural divergence, applying optiona

Indicator v6 Oscillators & momentumSupport & resistance
Updated 3 days ago · MIT GitHub repository of Oscillator Divergence Zones [WavesUnchained]

IFA-VP Context

by eddiebelaval
7 stars

This indicator plots a fixed lookback Volume Profile alongside 20, 50, and 200 Simple Moving Averages directly on the price chart. It highlights trend changes via moving average crosses and marks Point of Control reactions, High Volume Nodes, and Value Area bo

Indicator v6 VolumeSupport & resistance
Updated 3 months ago · None stated GitHub repository of IFA-VP Context
6 stars

This overlay indicator maps a timed session range in SAST, then marks supply and demand zones, a midpoint target, and a four-hour manipulation trendline. It tracks range, manipulation, and distribution states and can plot long or short entry signals when marke

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of CRT Mapper Complete with TURTLES

Fractals

by g-moe
3 stars

The Fractals indicator identifies potential reversal points on the price chart by detecting local swing highs and lows. It plots down fractal markers above the bar for swing highs and up fractal markers below the bar for swing lows. The Periods setting control

Indicator v5 TrendSupport & resistance
Updated 5 months ago · None stated GitHub repository of Fractals
2 stars

The ICT Silver Bullet with Signals indicator identifies and highlights key Inner Circle Trader concepts directly on the main price chart. It marks designated Silver Bullet session time windows, detects higher-timeframe Fair Value Gaps (FVGs), and plots support

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 months ago · None stated GitHub repository of ICT Silver Bullet with Signals
2 stars

The Liquidity Void Detector calculates a custom oscillator to identify low-participation price moves in a separate pane. It computes a log volume shock z-score against a moving average baseline and a 1-bar log return z-score. When volume drops below the low-vo

Indicator v6 SMC / ICT / price actionVolume
Updated 8 months ago · None stated GitHub repository of Liquidity Void Detector (Zeiierman)

Price Volume Rank (PVR)

by mushroom-men-Trading
2 stars

This indicator categorizes price and volume dynamics on each bar by assigning a numeric rank from 0 to 4. It compares the current price and volume to their previous bar values, distinguishing whether price and volume are rising or falling together or diverging

Indicator v6 Volume
Updated 9 months ago · None stated GitHub repository of Price Volume Rank (PVR)

Time Session

by Web3Degenerate
2 stars

This indicator marks a user-chosen clock session on the price chart. It tests whether the current bar falls inside the selected session string and paints a translucent red background while that condition is true, leaving other bars uncolored. The only setting

Indicator v5 Sessions & time
Updated 2 years ago · None stated GitHub repository of Time Session
1 stars

This indicator plots a volume-weighted moving average as the central trend baseline on the price chart and surrounds it with ATR volatility bands. Trend conditions change when price breaks beyond those bands. Presets change the VWMA length and ATR multiplier f

Indicator v6 TrendMoving averages
Updated 4 days ago · None stated GitHub repository of Volume Weighted Trend [SkippAlgo]

P_syn_math_color

by GammaExpansion
1 stars

The P_syn_math_color indicator computes a variable v by applying a series of mathematical functions to given values, including absolute value, trigonometric functions, averages, powers, and random number generation. It also performs color calculations using co

Indicator v6
Updated 7 days ago · MIT GitHub repository of P_syn_math_color

Trend Pivot Retracements

by rosijay17-cmd
1 stars

An overlay indicator that sets a trend direction from 50-bar highs and lows, flagging an uptrend on a new high and a downtrend on a new low. Within the trend it detects pivot lows or highs and measures the retracement from the recent extreme, drawing a dashed

Indicator v6 TrendSupport & resistance
Updated 8 days ago · GPL-3.0 GitHub repository of Trend Pivot Retracements

DEPV2 DEBUG S47

by YuceSezar89
1 stars

This indicator is a multi-symbol debug panel that plots signal state in a separate pane. It watches up to twenty configurable symbols, defaulting to Binance USDT perpetual contracts, and classifies direction with trend, momentum, volatility, and volume methods

Indicator v6 Screeners & dashboardsTrend Repaints
Updated 13 days ago · None stated GitHub repository of DEPV2 DEBUG S47
1 stars

A simple price-chart indicator that plots a fast and a slow exponential moving average, defaulting to 20 and 50 periods, with a fill between them. It prints a buy label when the fast average crosses above the slow one and a sell label when it crosses below, an

Indicator v6 Moving averagesTrend
Updated 2 months ago · None stated GitHub repository of EMA Crossover Buy/Sell Signals

FBF KC Companion v1

by nishpa800
1 stars

A companion indicator that draws about fifteen signal types on the price chart. It layers Keltner channel re-entry signals, triggered by a basis cross or a slope turn, over a pullback base, pocket pivot and pocket pivot down markers, displacement and a consoli

Indicator v5 Volatility & bandsVolume
Updated 2 months ago · None stated GitHub repository of FBF KC Companion v1
1 stars

A Pine Script v5 indicator on the price chart for market structure. It finds internal and external swings with adjustable sensitivity, labels breaks of structure and changes of character with selectable line style and width, and draws order blocks from the swi

Indicator v5 SMC / ICT / price action
Updated 6 months ago · None stated GitHub repository of Price Action Toolkit (Variant 1)

Up/Down Volume

by ivansoft
1 stars

Plots up volume and down volume as green and red columns in a separate pane, with a small marker colouring the net delta. Values are approximated from lower-timeframe data, chosen automatically or set by the user; a coarser setting gives more history but less

Indicator v6 Volume
Updated 1 year ago · None stated GitHub repository of Up/Down Volume

T3 Moving Average

by everget
947 stars

The T3 Moving Average indicator calculates Tim Tillson's smoothed moving average overlay. It applies a generalized DEMA calculation iteratively across three passes to reduce lag while minimizing overshoot relative to price action. Users can adjust the period l

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

CAMT-tracker

by Allen1212
303 stars

This indicator overlays dated ARK Invest trade markers on the CAMT price chart. It places a green buy label below the bar on 16 January 2020 and a red sell label above the bar on 17 January 2020, each marked X1. An ETF input exists but only offers ALL, so it d

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

Efficiency Ratio (ER)

by mihakralj
99 stars

This indicator calculates Kaufman's Efficiency Ratio as a signal-to-noise measure of price movement. It compares the absolute net change over a lookback period with the sum of absolute bar-to-bar changes, then clamps the result between 0 and 1. Values near 1 m

Indicator v6 TrendOscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Efficiency Ratio (ER)

Chart Background

by be-thomas
65 stars

This indicator colors the chart background using a full-screen single-cell table based on the 20-period Relative Strength Index (RSI). When the RSI is above 50, the table applies a bullish background color, and when below 50, a bearish color. The background up

Indicator v4 Oscillators & momentumScreeners & dashboards
Updated 6 days ago · GPL-3.0 GitHub repository of Chart Background
47 stars

This indicator draws configurable time-based sessions on the price chart. It plots session open lines, average high and low lines, and an expected range line. Optional high-low boxes and likely range boxes mark session ranges, with labels comparing average and

Indicator v5 Sessions & timeSupport & resistance
Updated 8 weeks ago · None stated GitHub repository of Time based ranges with stats
47 stars

This indicator applies a natural logarithm to a selected price series and plots the transformed values in a separate pane. The single input selects the source, which defaults to the close. Non-positive source values return na instead of a logarithm, and an na

Indicator v6
Updated 8 months ago · MIT GitHub repository of Logarithmic Transformation (LOG)

Harami - Bullish

by TWODS-CAPITAL
37 stars

This indicator identifies and highlights Bullish Harami candlestick patterns on the price chart. A Bullish Harami occurs when a small-bodied green candle is completely encompassed within the body of the preceding long red candle during a downtrend. The underly

Indicator v5 Candlestick patterns
Updated 3 years ago · MIT GitHub repository of Harami - Bullish

Impulse Candles

by eddiebelaval
7 stars

Impulse Candles identifies unusually large price bars relative to an Average True Range baseline. It measures candle body size against a user-defined ATR ratio and optionally filters for reversal setups following two consecutive candles of the opposite directi

Indicator v6 Volatility & bandsCandlestick patterns
Updated 3 months ago · None stated GitHub repository of Impulse Candles
6 stars

This overlay indicator maps a timed session range from a chosen SAST start hour and session length, then draws the range box, midpoint, supply and demand zones, and an optional four-hour manipulation trendline. It tracks range, manipulation, and distribution s

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 7 months ago · None stated GitHub repository of CRT Mapper Complete with TURTLES

Fractals with Divergence Scanner is an overlay indicator that combines Exponential Moving Averages, an eight-line EMA ribbon cloud, and WaveTrend divergence analysis. It calculates baseline EMA trends alongside WaveTrend oscillators to detect regular and hidde

Indicator v5 TrendMoving averages
Updated 5 months ago · None stated GitHub repository of Fractals with Divergence Scanner

Price Volume Trend (PVT)

by mushroom-men-Trading
2 stars

This indicator calculates Price Volume Trend as a running sum of volume scaled by the bar's relative price change. It plots the cumulative PVT line and a simple moving average signal in a separate pane, plus a dashed zero line. The signal period sets the lengt

Indicator v6 VolumeTrend
Updated 9 months ago · None stated GitHub repository of Price Volume Trend (PVT)

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