Pine Library · 1,447 open-source scripts

Free Volume Pine Scripts (page 12)

Open-source Pine scripts built on volume: VWAP, volume profiles, delta and money-flow tools, and volume-confirmed signals.

Pine scripts1,447
Code shown here618open licence
Updated in a year1,114
No repaint flag1,226

Volume: Indicators, Strategies and Libraries

SMC+OB+FVG_PH

by mydcc
1 stars

This indicator plots smart money concept structures directly on the price chart. It detects and visualizes market structure elements including change of character, break of structure, swing points, inducements, and liquidity sweeps. Additionally, it identifies

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 2 days ago · Custom licence GitHub repository of SMC+OB+FVG_PH

XAU Scalp v2

by mrme000m
1 stars

XAU Scalp v2 is an indicator that calculates a composite trading score using multiple components for XAUUSD gold. It stacks four EMAs to determine trend direction and strength, overlays SuperTrend signals derived from ATR(10), adds RSI(14) momentum, detects Bo

Indicator v5 ScalpingMoving averages
Updated 7 weeks ago · None stated GitHub repository of XAU Scalp v2
1 stars

Detects volume order blocks, zones formed when a fast and slow exponential average cross and volume builds around the extreme price, and draws them on the price chart as support or resistance lines. Six sensitivity tiers each give Tier 3 buy and sell markers w

Indicator v6 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB Asym T3 x6 MutEx Lines v9.1

A/D Context v20.9

by VVASILEVSS
1 stars

A Pine v5 indicator in a separate pane that measures accumulation and distribution flow with Williams or Chaikin A/D, a smoothing EMA, Chaikin Money Flow and ATR. It marks divergences between price and flow pivots and draws a line that closes with an end marke

Indicator v5 DivergenceVolume
Updated 3 months ago · None stated GitHub repository of A/D Context v20.9

Adaptive Volume Profile Engine

by tthanhvu002sgu
1 stars

Builds volume profiles over several lookbacks from 20 up to 500 bars and picks the point of control that scores best. The score blends how prominent the profile peak is with a friction measure of how often price touched that level within an ATR-based zone. Old

Indicator v5 VolumeSupport & resistance
Updated 3 months ago · None stated GitHub repository of Adaptive Volume Profile Engine

This overlay indicator combines a rolling volume profile, anchored VWAP, and trend filters for crypto chart analysis. It builds a value area from recent bars and can draw right-side profile boxes, with an Auto performance mode that reduces lookback, row count,

Indicator v6 VolumeSupport & resistance
Updated 5 months ago · MIT GitHub repository of Crypto AMT Toolkit v6.2 - Info Auto Performance
1 stars

An indicator on the price chart that detects pivot-based structure breaks (CHoCH) and then looks for a retest of the broken level, using an ATR percentage tolerance. Confirmation can be a touch, a close outside the level or an engulfing candle, with optional v

Indicator v6 SMC / ICT / price actionVolume
Updated 6 months ago · None stated GitHub repository of Structure Retest Engine Delta Hybrid

Supertrend Enhanced

by haydarkadioglu
1 stars

Supertrend Enhanced plots a classic ATR Supertrend on the price chart and marks trend flips as buy and sell signals. It builds upper and lower bands from an ATR or a simple moving average of true range, then flips direction when price crosses the opposite band

Indicator v5 TrendVolatility & bands
Updated 8 months ago · None stated GitHub repository of Supertrend Enhanced

This indicator calculates the Relative Strength Index (RSI) applied to various volume-weighted indicators, including Accumulation/Distribution, Elder's Force Index, Money Flow Index, On Balance Volume, and Price Volume Trend. The resulting volume-RSI values ar

Indicator v4 Oscillators & momentumVolume
Updated 2 years ago · None stated GitHub repository of Relative Strength of Volume Indicators by DGT
1 stars

The RSI-ADI-Combo indicator combines Relative Strength Index (RSI), Money Flow Index (MFI), and Average Directional Index (ADX) into a single separate pane visualizer. It plots RSI and MFI line graphs along with a color-coded ADX column histogram that highligh

Indicator v4 Oscillators & momentumVolume
Updated 6 years ago · GPL-3.0 GitHub repository of RSI-ADI-Combo [Numchuck]

This strategy identifies bullish and bearish Three Line Strike candlestick patterns combined with a dual moving average cloud and Volume Spread Analysis (VSA). It triggers long or short entries when a strike formation confirms in alignment with the moving aver

Strategy v5 Candlestick patternsTrend Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of 3LS 3 Line Strike Strategy [Kintsugi Trading]

OBV Divergences

by tistaharahap
25 stars

This indicator plots On Balance Volume in a separate pane and marks regular and hidden divergences between price pivots and the volume oscillator. It builds OBV from cumulative signed volume, finds pivot highs and lows with left and right lookbacks, and compar

Indicator v4 DivergenceVolume
Updated 6 years ago · None stated GitHub repository of OBV Divergences

Time Interval Volume Sum

by JackZhao516
7 stars

This indicator sums bar volume between a user-chosen start and end time. It highlights that interval on the price chart with a background color and plots the running total on the status line. On the last bar it draws a label above the midpoint of the interval

Indicator v5 Volume
Updated 3 years ago · MIT GitHub repository of Time Interval Volume Sum
6 stars

Capital41 Fusion Core Strategy is an overlay trading strategy that combines an exponential moving average trend filter, RSI, Williams %R, and volume/ATR expansion into a composite momentum oscillator. It executes long trades when the smoothed oscillator crosse

Strategy v6 TrendOscillators & momentum
Updated 2 months ago · MIT GitHub repository of Capital41 Fusion Core Strategy

Hyper Flow Indicator

by jawauntb
3 stars

This indicator calculates a composite RSI oscillator paired with STARC volatility bands in a separate pane. It evaluates momentum by combining RSI differentials with smoothed RSI readings, while also referencing higher-timeframe data, moving averages, and esti

Indicator v5 Oscillators & momentumVolatility & bands Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of Hyper Flow Indicator

This indicator plots net positions for Commercial and Non-Commercial (Large Speculators) traders using Commitment of Traders (COT) legacy report data. It automatically converts root symbols to their corresponding CFTC codes to fetch daily long and short positi

Indicator v6 Volume
Updated 8 months ago · None stated GitHub repository of COT Net Commercial vs Net Non-Commercial Positions
2 stars

This strategy enters long when price closes above the prior channel high and a longer EMA filter, the bar is bullish, volume rises versus the previous bar, and average volume and turnover clear set thresholds. It exits the long when price closes below a shorte

Strategy v5 BreakoutMoving averages
Updated 2 years ago · None stated GitHub repository of DegenerateChain Channel Breakout

ZigZag_Punches_OH_OL

by WISEPLAT
2 stars

This indicator calculates pivot highs and lows using a custom depth and deviation threshold to draw zigzag swing lines directly on the price chart. At each swing reversal, it plots labels displaying the reversal price, price change in absolute or percentage te

Indicator v5 Support & resistanceVolume
Updated 3 years ago · None stated GitHub repository of ZigZag_Punches_OH_OL

Conduit OBV AccDist

by pineforge-4pass
1 stars

A long-only strategy that requires two volume flow measures to agree: On Balance Volume and Accumulation/Distribution, each compared with its own EMA. It enters long when both are above their signals for the first time and price is above a longer EMA filter. I

Strategy v6 VolumeTrend
Updated 7 days ago · Apache-2.0 GitHub repository of Conduit OBV AccDist

DEPV2 A8 · Onay Makinesi

by YuceSezar89
1 stars

This indicator implements a multi-metric confirmation engine that validates trading signals across four core dimensions: trend level scores based on an HLC3 SMA, momentum z-scores derived from rate of change, volatility expansion ratios comparing fast and slow

Indicator v6 TrendOscillators & momentum
Updated 13 days ago · None stated GitHub repository of DEPV2 A8 · Onay Makinesi
1 stars

The XAUUSD Scalping Confluence Engine is a separate-pane indicator that calculates a composite trading score based on multiple technical factors. It evaluates a four-period exponential moving average stack, SuperTrend trend direction, Relative Strength Index,

Indicator v5 TrendOscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of XAUUSD Scalping Confluence Engine

Linear Regression Volume

by vedkanani123
1 stars

An overlay indicator that computes a volume-weighted price average using SMA, RMA, HMA or ALMA, fits a linear regression to it as a fair value baseline, and draws bands at one, two and three standard deviations of price around it. The baseline and band fills t

Indicator v6 TrendVolume
Updated 2 months ago · None stated GitHub repository of Linear Regression Volume
1 stars

Draws volume order blocks on the price chart and adds three tiers of asymmetric buy and sell volume signals: a percentage-threshold tier, a one-sided volume tier and a super volume tier. A cooldown spaces signals. High-volume proximity markers fire when a roll

Indicator v6 SMC / ICT / price actionVolume
Updated 2 months ago · None stated GitHub repository of VOB Asymmetric HV Proximity v1.1

Liquidation HeatMap

by VVASILEVSS
1 stars

A Pine v5 overlay that draws estimated liquidity zones as colored boxes on the price chart. It finds pivot highs and lows over the last 500 bars, sizes each box with a multiple of ATR that depends on the timeframe, and colors it by volume between a minimum and

Indicator v5 VolumeSupport & resistance
Updated 3 months ago · None stated GitHub repository of Liquidation HeatMap
1 stars

Overlays higher-timeframe context on the price chart, using lower-timeframe data to find volume spikes inside each higher-timeframe bar. It combines RSI pivot divergence with a volume conviction check, and can show a ghost of the previous bar, stacked imbalanc

Indicator v6 VolumeDivergence Repaints Archived
Updated 5 months ago · None stated GitHub repository of HTF Volume Spike, Divergence & Conviction
1 stars

An overlay toolkit for crypto charts that combines a volume profile with value area, an anchored VWAP, EMA lines, a higher-timeframe EMA bias and an order flow proxy from lower-timeframe delta, relative volume and cumulative delta, plus swing and ATR-based pri

Indicator v6 VolumeSupport & resistance
Updated 5 months ago · MIT GitHub repository of Crypto AMT Toolkit v7 Clean Execution
1 stars

A chart-overlay indicator that tracks a Hull moving average and issues buy and sell signals when price crosses it in the direction of the slope. Entries are filtered by a score built from momentum, RSI and volume, a price-volume-trend check, and an optional bl

Indicator v6 TrendOscillators & momentum
Updated 9 months ago · None stated GitHub repository of RAPF Anti-Chop Fusion

Volume Spike Detector

by surajmateti
1 stars

The Volume Spike Detector is a separate-pane indicator designed to highlight unusually high trading volume. It calculates a simple moving average of volume over a user-defined length and flags a spike whenever the current volume exceeds this average multiplied

Indicator v5 Volume
Updated 11 months ago · None stated GitHub repository of Volume Spike Detector

RelativeValue

by ivansoft
1 stars

A Pine Script v6 library for comparing current volume or another series with its history over matching points in time. It collects values within a period that restarts on an anchor timeframe, then averages the values from past periods at the same time offset.

Library v6 Volume
Updated 1 year ago · None stated GitHub repository of RelativeValue
1 stars

An overlay indicator that flags bars where volume jumps well above its recent average and the candle body is also much larger than the previous one. A signal needs volume above a multiple of the prior average, above its moving average by a set percentage, and

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

HH, LL, HL, LH Indicator

by akash-yellgetti
1 stars

A strategy-type script that draws the high, low and midpoint of an opening window each day, plus pivot-based support and resistance lines from left and right bar settings. It prints buy or sell labels when the close breaks a pivot level while an EMA-based volu

Strategy v5 Support & resistanceBreakout
Updated 2 years ago · None stated GitHub repository of HH, LL, HL, LH Indicator

Custom RSI of VWAP

by RobACurtis
1 stars

Calculates a Relative Strength Index based on the Volume Weighted Average Price rather than standard close prices. It plots the resulting indicator curve along with customizable upper and lower threshold bounds in a separate pane. Traders can adjust the RSI le

Indicator v4 Oscillators & momentumVolume
Updated 2 years ago · None stated GitHub repository of Custom RSI of VWAP

DOT BTC Binance 1m

by tseitz
1 stars

This strategy trades the DOT/BTC pair on a one-minute chart. It plots the VWAP of the close and two offset VWAP bands on the price chart. It opens a long when the open is above the upper band and a short when the open is below the lower band, then closes those

Strategy v4 VolumeBreakout
Updated 4 years ago · None stated GitHub repository of DOT BTC Binance 1m
219 stars

An educational Pine Script v4 indicator demonstrating how to plot volume histograms on the main price chart using unscaled axes. The code includes examples and commented templates for creating vertical line markers at specific dates or time zones, such as mark

Indicator v4 Sessions & timeVolume
Updated 5 years ago · None stated GitHub repository of 教學-畫垂直線1

Moon Dev GEX Sweep & CVD

by moondevonyt
92 stars

The indicator detects liquidity sweeps across key price levels and calculates a cumulative volume delta proxy. It uses pivot high and low lookbacks to identify swing points, marking sweeps when price breaks beyond a level and quickly closes back inside. Featur

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 2 months ago · Custom licence GitHub repository of Moon Dev GEX Sweep & CVD

Relative Strength Table

by ChartsLector
41 stars

This indicator builds a table of relative strength for up to six user-chosen symbols against a benchmark, defaulting to SPY. It measures strength over four lookback periods, can average the visible periods, and can add relative volume as current volume divided

Indicator v6 Screeners & dashboardsVolume
Updated 4 days ago · None stated GitHub repository of Relative Strength Table

QPulse

by JasonTeixeira
9 stars

QPulse is a multi-factor indicator that draws in a separate pane to evaluate market momentum, volume flow, and volatility dynamics. It calculates volume delta, a cumulative delta proxy, advanced adaptive ATR, and a hybrid volume-weighted RSI with overbought an

Indicator v6 Oscillators & momentumVolatility & bands
Updated 2 weeks ago · Custom licence GitHub repository of QPulse

MFI Strategy - Eterna MCP

by EternaHybridExchange
9 stars

This strategy calculates the Money Flow Index (MFI) to identify momentum shifts, overbought or oversold states, and price divergences. It opens long entries when MFI crosses above the oversold level or displays bullish divergence while under the midline. It en

Strategy v5 Oscillators & momentumDivergence
Updated 7 months ago · MIT GitHub repository of MFI Strategy - Eterna MCP
7 stars

This indicator calculates the ratio of bar volume to the absolute relative price change between the open and close prices. It plots the resulting values as a histogram column chart in a separate pane to help identify bars where high trading volume occurred alo

Indicator v5 Volume
Updated 3 years ago · MIT GitHub repository of Volume / Abs(Close/Open - 1)
6 stars

Capital41 Fusion Oscillator v3 measures multi-condition market confluence in a separate pane with a smoothed composite score ranging from 0 to 100. It evaluates four criteria: EMA trend direction, RSI oversold or overbought turns, Williams %R thresholds, and A

Indicator v6 Oscillators & momentumTrend
Updated 2 months ago · MIT GitHub repository of Capital41 Fusion Oscillator v3

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