Pine Library · 1,447 open-source scripts

Free Volume Pine Scripts (page 30)

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

Volume

by be-thomas
65 stars

This indicator plots trading volume as a column chart in a separate pane with dynamic gradient coloring. It assigns distinct colors for bullish and bearish price bars based on whether the close is above the open. The transparency of each column dynamically adj

Indicator v4 Volume
Updated 5 days ago · GPL-3.0 GitHub repository of Volume
1 stars

This strategy calculates a 14-period Money Flow Index using typical price and volume data. It triggers a long entry when the indicator crosses above the oversold threshold of 20 and a short entry when it crosses below the overbought threshold of 80. Displayed

Strategy v6 Oscillators & momentumVolume
Updated 6 days ago · Apache-2.0 GitHub repository of PF TA isolate - MFI(14) bands 20/80
1 stars

This strategy plots the Positive Volume Index and Negative Volume Index in a separate pane and compares each with its own exponential moving average of length 255. It opens a long when PVI crosses above its EMA and opens a short when NVI crosses below its EMA.

Strategy v6 VolumeMoving averages
Updated 6 days ago · Apache-2.0 GitHub repository of PF TA isolate - NVI/PVI vs EMA255 cross

BB+RSI+OBV

by hasnocool
106 stars

This strategy combines Bollinger Bands, the Relative Strength Index (RSI), and On-Balance Volume (OBV) to generate trade signals directly on the price chart. Long entries trigger when price is above the middle SMA band, RSI is over 50, and OBV is rising. Short

Strategy v4 Volatility & bandsOscillators & momentum
Updated 2 years ago · GPL-3.0 GitHub repository of BB+RSI+OBV
106 stars

This strategy plots a volume-weighted average price, Bollinger Bands built on that VWAP, a 200-period simple moving average, and Fibonacci pivot levels in a separate pane. It opens a long position when VWAP crosses above the band basis and the close is at or a

Strategy v4 Volatility & bandsSupport & resistance
Updated 2 years ago · GPL-3.0 GitHub repository of BBofVWAP with entry at Pivot Point

BBPBΔ(OBV-PVT)BB

by hasnocool
106 stars

This strategy calculates the normalized rate of change between On-Balance Volume (OBV) and Price Volume Trend (PVT) indicators. It applies Bollinger Bands to this volume metric along with a Hodrick-Prescott filter array for time series decomposition. Displayed

Strategy v4 VolumeVolatility & bands
Updated 2 years ago · GPL-3.0 GitHub repository of BBPBΔ(OBV-PVT)BB
3 stars

The Price Action Candles script is an indicator that calculates and plots a custom On-Balance Volume (OBV) in a separate pane. It uses a rolling period to compute signed volume accumulation based on close price changes and volume data. The primary setting adju

Indicator v5 Volume
Updated 5 months ago · None stated GitHub repository of Price Action Candles

Fair value bands

by regalouisei
2 stars

This overlay indicator plots a fair value basis on the price chart and surrounds it with threshold and deviation bands. The basis can be an SMA, EMA, HMA, RMA, WMA, VWMA, median, or a VWAP anchored to a chosen timeframe, using a selectable price source and len

Indicator v5 Moving averagesVolatility & bands
Updated 8 months ago · None stated GitHub repository of Fair value bands

Binance Liquidations

by hasnocool
106 stars

Binance Liquidations is a strategy and separate-pane indicator that estimates derivative volume activity by calculating the volume spread between Binance perps and Coinbase spot data. It applies Weighted Moving Averages and a SuperSmoother filter to the volume

Strategy v4 VolumeMoving averages
Updated 2 years ago · GPL-3.0 GitHub repository of Binance Liquidations
2 stars

This indicator plots FINRA daily short sale volume as colored columns alongside a simple moving average in a separate pane. Columns display in a brighter red shade whenever short volume exceeds the moving average. Users can configure the moving average length

Indicator v5 VolumeMoving averages
Updated 8 months ago · None stated GitHub repository of FINRA Daily Short Sale Volume

Heatmap Volume [xdecow]

by regalouisei
2 stars

This indicator classifies volume by how many standard deviations it sits from a moving average and colors that classification as a heatmap in a separate pane. Extra-high, high, medium, normal, and low bands use multiplier thresholds. Users can color volume bar

Indicator v5 VolumeMoving averages
Updated 8 months ago · None stated GitHub repository of Heatmap Volume [xdecow]

Indicators Overlay

by regalouisei
2 stars

Indicators Overlay plots up to ten technical indicators directly on the main price chart using line drawings, avoiding the need for separate sub-panes. It calculates common technical metrics such as RSI, CCI, OBV, Stochastic, MFI, ATR, CMO, CMF, Stochastic RSI

Indicator v5 Oscillators & momentumVolatility & bands
Updated 8 months ago · None stated GitHub repository of Indicators Overlay
1 stars

This indicator aggregates price action into constant-volume candles based on a configurable cumulative volume threshold. It renders these volume bars directly on the price chart using boxes and wick lines, updating dynamically during live formation. A Zero-Lag

Indicator v5 VolumeMoving averages
Updated 7 weeks ago · None stated GitHub repository of Volume Candles by BITMOON618
2 stars

Calculates and projects key liquidity levels directly on the main price chart based on volume pivot highs. When a volume peak is detected, the indicator captures the closing price from that period and plots horizontal lines across the chart. It also features o

Indicator v5 Support & resistanceVolume
Updated 8 months ago · None stated GitHub repository of Liquidity Levels [LuxAlgo]

This indicator analyzes capital rotation and volume flow across 20 major cryptocurrency pairs. It compares volume changes and relative flow momentum across selected symbols to identify where market capital is migrating. The script overlays findings directly on

Indicator v5 VolumeScreeners & dashboards
2 stars

This indicator visualizes intrabar market activity by requesting lower timeframe open, close, and volume data. It constructs a visual heatmap directly on the price chart using colored box objects, where gradient shading represents volume intensity across intra

Indicator v5 VolumeSupport & resistance
Updated 8 months ago · None stated GitHub repository of LTF Activity Heatmap [LuxAlgo]

This strategy plots Bollinger Bands on the price chart using an EMA or SMA basis and a matching standard-deviation calculation. It enters long when price crosses back above the lower band and short when price crosses back below the upper band. An optional Intr

Strategy v4 Volatility & bandsMoving averages
Updated 2 years ago · GPL-3.0 GitHub repository of Bollinger Bands Strategy with Intraday Intensity Index
3 stars

Psychological Levels is a chart overlay indicator that draws horizontal quarter, half, and whole round-number levels. It marks buy and sell signals when volume crosses user thresholds near those levels, with an optional moving-average filter, a delay between s

Indicator v5 Support & resistanceVolume
Updated 5 months ago · None stated GitHub repository of Psychological Levels

Bottom Catch Strategy

by hasnocool
106 stars

This strategy attempts to capture temporary market dips by identifying high-volume spikes during oversold conditions. It enters a long position when volume exceeds a upper standard deviation channel based on its simple moving average while the RSI remains belo

Strategy v4 Oscillators & momentumVolume
Updated 2 years ago · GPL-3.0 GitHub repository of Bottom Catch Strategy
3 stars

Psychological Levels is a price-chart strategy that draws quarter, half, and whole rounded price levels. A rounding value sets the level spacing, and each level type can be toggled with its own color, line style, and width. Buy and sell volume thresholds, a pr

Strategy v5 Support & resistanceVolume
Updated 5 months ago · None stated GitHub repository of Psychological Levels
106 stars

This Pine v4 strategy draws on the price chart and filters breakouts with a fixed Supertrend, ATR length, volume moving-average markup, and moving-average alignment, plus short and long high-low periods. Trade direction defaults to long and can include shorts.

Strategy v4 BreakoutTrend
Updated 2 years ago · GPL-3.0 GitHub repository of Breakout Trend Trading - V1

PineForge Plumbline PVT VWMA

by pineforge-4pass
1 stars

The strategy calculates a volume-weighted moving average of close prices as the volume-weighted center and a price-volume trend smoothed by EMA as the signal line. It plots the VWMA and PVT distance on the price chart. The strategy enters long positions when p

Strategy v6 TrendVolume
Updated 6 days ago · Apache-2.0 GitHub repository of PineForge Plumbline PVT VWMA
1 stars

This strategy calculates an ALMA smoothed version of the close price and the correlation between close and volume. It enters long trades when price crosses above ALMA and correlation exceeds the minimum threshold. It exits on price crossing below ALMA, correla

Strategy v6 Moving averagesVolatility & bands
Updated 6 days ago · Apache-2.0 GitHub repository of PineForge Quarry ALMA Correlation

Neglected Volume by DGT

by regalouisei
2 stars

This indicator calculates relative volume metrics and combines them with On Balance Volume (OBV) momentum and price-OBV correlation in a separate pane. It evaluates volume strength against simple moving averages and standard deviation thresholds, while offerin

Indicator v5 VolumeOscillators & momentum
Updated 8 months ago · None stated GitHub repository of Neglected Volume by DGT

Numbers Renko

by regalouisei
2 stars

This indicator calculates and overlays numerical volume or time metrics directly on chart bars, primarily tailored for Renko style analysis. It compares current values against an EMA or SMA baseline to grade activity across multiple visual tiers and color scal

Indicator v5 VolumeMoving averages
Updated 8 months ago · None stated GitHub repository of Numbers Renko
1 stars

The Cadence Matrix Pairing strategy calculates price direction changes and volume confirmation across short, medium, and long horizons using close comparisons and simple moving averages of volume. It assembles these binary votes into a transposed matrix and ta

Strategy v6 TrendMoving averages
Updated 6 days ago · Apache-2.0 GitHub repository of PineForge — Cadence Matrix Pairing
1 stars

This strategy models market regimes using principal variance concentration between price and volume. It builds a 2x2 correlation matrix from price and volume rate-of-change, then calculates its eigenvalues. It enters long positions when the principal eigenvalu

Strategy v6 TrendVolume
Updated 6 days ago · Apache-2.0 GitHub repository of PineForge — Eigen Matrix Covariance
2 stars

This indicator logs realtime bar updates across five dimensions: volume, price, time, activity, and age to plot interactive profiles directly on the price chart. It aggregates ticks, volume, and polarity into customizable level buckets, displaying double-sided

Indicator v5 VolumeSupport & resistance Repaints
Updated 8 months ago · None stated GitHub repository of Realtime 5D Profile [LucF]

Equivolume Bars

by regalouisei
2 stars

Equivolume Bars displays custom candlestick boxes on the main price chart, where each bar's width is proportional to its volume relative to a rolling lookback sum. The script calculates volume ratios to stretch or shrink historical and live price bodies and wi

Indicator v4 VolumeCandlestick patterns
Updated 8 months ago · None stated GitHub repository of Equivolume Bars
3 stars

Buy Low Sell High Composite is a pane oscillator that normalizes RSI, a short-versus-long EMA difference, the MACD histogram, and the Money Flow Index onto a shared scale, then sums them into one composite. It plots that composite as a colored area, the MACD s

Indicator v5 Oscillators & momentumMoving averages
Updated 5 months ago · None stated GitHub repository of Buy Low Sell High Composite

This indicator calculates Time Segmented Volume (TSV) by accumulating price-change weighted volume over a specified window. It plots TSV as a colored histogram alongside its simple moving average signal line and a secondary 20-period moving average in a separa

Indicator v5 VolumeOscillators & momentum
Updated 5 months ago · None stated GitHub repository of Enhanced Time Segmented Volume

GM VWAP

by g-moe
3 stars

This overlay indicator plots a volume-weighted average price from a chosen source, defaulting to the average of high, low, and close. It resets the cumulative volume sums at a selectable anchor such as the session, week, month, quarter, year, decade, century,

Indicator v5 VolumeVolatility & bands
Updated 5 months ago · None stated GitHub repository of GM VWAP

PVT EMA Cross

by pineforge-4pass
1 stars

A minimal strategy that compares the Price Volume Trend indicator with a 21-period EMA of itself. It enters long when PVT crosses above the average and short when it crosses below, reversing the position each time. It has no adjustable inputs, no stop loss and

Strategy v6 Volume
Updated 6 days ago · Apache-2.0 GitHub repository of PVT EMA Cross

Prototype

by hasnocool
106 stars

This strategy overlays Supertrend-style ATR trailing stop levels on the price chart alongside multi-period moving averages, volume metrics, and Bollinger Bands. It flags trend direction changes using an ATR offset channel, plotting buy and sell signals directl

Strategy v4 TrendVolatility & bands
Updated 2 years ago · GPL-3.0 GitHub repository of Prototype
3 stars

This overlay indicator builds a volume profile from a chosen number of recent bars and splits the price range into rows. It draws a horizontal volume histogram on the price chart, highlights the point of control, and can optionally show a rolling point of cont

Indicator v5 VolumeSupport & resistance
Updated 5 months ago · None stated GitHub repository of myVolume Profile [LUX]
3 stars

This indicator plots classic On Balance Volume in a separate pane. It accumulates volume according to the sign of each close change, then overlays a smoothing moving average. Users choose the average method among SMA, EMA, RMA, WMA, and VWMA, set its length, a

Indicator v5 VolumeOscillators & momentum
Updated 5 months ago · None stated GitHub repository of On Balance Volume

RVOL++

by g-moe
3 stars

This indicator measures relative volume by comparing cumulative session volume against a historical average for the same time of day across previous days. Drawn in a separate pane, it renders a multi-color gradient area and stepline plot across four activity z

Indicator v5 VolumeSessions & time
Updated 5 months ago · None stated GitHub repository of RVOL++

VWAP Bands

by mihakralj
99 stars

This indicator plots a volume-weighted average price on the price chart and resets the calculation when the selected session changes. It builds first and second standard-deviation bands from a volume-weighted variance of the chosen source, which defaults to th

Indicator v6 VolumeVolatility & bands
Updated 4 weeks ago · Apache-2.0 GitHub repository of VWAP Bands

Sandbox Test

by g-moe
3 stars

This indicator plots a custom volume profile on the price chart. It divides the price range into rows and calculates volume distribution by summing bar volumes that fall within each price level over a lookback period. Horizontal bars represent volume at each l

Indicator v5 Support & resistanceVolume
Updated 5 months ago · None stated GitHub repository of Sandbox Test

Tally Volume Index ROC

by pineforge-4pass
1 stars

A long-only strategy that measures the rate of change of the Negative Volume Index and Positive Volume Index over separate windows. It enters long when both growth rates first exceed their minimum thresholds and price is above a trend EMA. It exits when either

Strategy v6 VolumeTrend
Updated 6 days ago · Apache-2.0 GitHub repository of Tally Volume Index ROC
99 stars

This indicator calculates a volume-weighted average price from a chosen source and the chart volume, then plots upper and lower bands at a chosen number of standard deviations. Cumulative price-volume sums reset when the selected session interval changes, or o

Indicator v6 VolumeVolatility & bands
Updated 4 weeks ago · Apache-2.0 GitHub repository of VWAP with Standard Deviation Bands

TArec_p02_UNT

by pineforge-4pass
1 stars

The strategy tests untested TA classes including ALMA, SAR and rolling correlation under bar magnifier. It enters long only when ALMA crosses above close, SAR flips below price and 20-period correlation of close and volume is positive. It exits long when SAR f

Strategy v6 TrendOscillators & momentum
Updated 6 days ago · Apache-2.0 GitHub repository of TArec_p02_UNT

Equivolume Bars

by g-moe
3 stars

Equivolume Bars renders candlestick bodies and wicks using Pine Script box objects directly on the main price chart. It adjusts each bar's horizontal width proportionally to its trading volume relative to a historical lookback sum, making high-volume bars appe

Indicator v4 Volume
Updated 5 months ago · None stated GitHub repository of Equivolume Bars

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