Pine Library · 2,503 open-source scripts

Free Volatility and Band Pine Scripts (page 33)

Open-source Pine scripts that measure how far price moves: Bollinger Bands, Keltner Channels, ATR stops and trailing lines, and squeeze indicators.

Pine scripts2,503
Code shown here1,334open licence
Updated in a year1,667
No repaint flag2,180

Volatility & bands: Indicators, Strategies and Libraries

16 stars

This strategy enters long or short when a fast exponential moving average crosses a slow one, then sizes each unit from a percentage of equity and an ATR-based initial stop. It can add positions as price moves by a multiple of ATR, up to a set unit limit, and

Strategy v6 TrendMoving averages
Updated 12 months ago · None stated GitHub repository of Seykota Alt 2: EMA Crossover
9 stars

VSA Pro: Trend and Rejection is an overlay strategy combining SuperTrend trend filtering with Volume Spread Analysis principles. It calculates SuperTrend direction to enter long positions when a new bullish trend starts and exits all positions when the trend t

Strategy v5 TrendVolume
Updated 4 months ago · MIT GitHub repository of VSA Pro: Trend and Rejection

Rolling summary

by gorx1
5 stars

Rolling summary calculates a rolling statistical box over a chosen source and plots it on the price chart. It shows the simple moving average, median, first and third quartiles, interquartile range whiskers, and four extra percentiles. A log-space option trans

Indicator v4 Volatility & bands
Updated 8 months ago · None stated GitHub repository of Rolling summary

Kenny's Strategy

by jerryinyang
5 stars

Kenny's Strategy combines multiple exponential moving averages to identify trend changes and generate entry signals. It calculates short, medium, and long EMAs from a user-selected source and checks for alignment within specific zones. A long-term EMA filter r

Strategy v4 TrendMoving averages
Updated 2 years ago · None stated GitHub repository of Kenny's Strategy

Version Kappa: Composite Momo + Volume + Price Strategy evaluates trend, momentum, and volume dynamics to generate trading signals on the price chart. It calculates a composite RSI wrapped in Starc Bands, tracking momentum across both current and higher timefr

Strategy v5 Oscillators & momentumVolume Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of Version Kappa: Composite Momo + Volume + Price Strategy

SSL Oscillator

by TamTH-Dev
2 stars

The SSL Oscillator is a separate pane indicator that combines momentum channel calculations with Quantitative Qualitative Estimation (QQE) logic. It evaluates moving average differences, standard deviation channels, and smoothed RSI values across multiple conf

Indicator v5 Oscillators & momentumMoving averages
Updated 6 weeks ago · None stated GitHub repository of SSL Oscillator

Alpy Vix

by avatar-lavventura
2 stars

This strategy plots a Williams Vix Fix histogram in a separate pane and compares price with a volume-weighted moving average of HLC3. It buys when the histogram turns from lime to gray, price is below the VWMA by the long offset, and the close ticks down. It s

Strategy v4 Volatility & bandsMoving averages Repaints
Updated 7 months ago · None stated GitHub repository of Alpy Vix

Bollinger ZigZag ++

by WISEPLAT
2 stars

Bollinger ZigZag ++ combines Bollinger Band percent B calculations, pivot points, and a ZigZag filter to mark potential support and resistance levels directly on the price chart. It detects overbought and oversold thresholds relative to the bands and draws vis

Indicator v4 Volatility & bandsSupport & resistance Repaints
Updated 3 years ago · None stated GitHub repository of Bollinger ZigZag ++

DEPV2 DEBUG S0

by YuceSezar89
1 stars

DEPV2 DEBUG S0 monitors 20 major cryptocurrencies on Binance including BTC, ETH, SOL, XRP, DOGE and others. It generates signals using four methods: TREND, MOMENTUM, VOLATILITY and VOLUME. Users choose from same-time confirmation, sequential confirmation or au

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

Terminal Velocity Stop

by vedkanani123
1 stars

An ATR trailing stop drawn on the price chart. The stop chases a target set at a multiple of ATR below price in an uptrend and above price in a downtrend, but its travel per bar is capped at a terminal velocity setting measured in ATR, 0.3 by default. This kee

Indicator v6 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of Terminal Velocity Stop

Supertrend

by shubhamtaywade82
1 stars

Plots the built-in Supertrend line on the price chart as a single blue line. It has two settings, the ATR length with a default of 10 and the ATR multiplier with a default of 3. The line trails price and flips side when price closes through it. There are no al

Indicator v6 TrendVolatility & bands Archived
Updated 5 months ago · None stated GitHub repository of Supertrend

Voss Predictive Filter

by amico1234
1 stars

The Voss Predictive Filter indicator calculates a custom Voss filter and plots it alongside the Voss line in a separate pane. It processes the selected source to produce filtered output and Voss values based on length, predict, and bandwidth settings. The main

Indicator v4 Moving averagesVolatility & bands
Updated 2 years ago · None stated GitHub repository of Voss Predictive Filter
257 stars

This overlay strategy is named for one-minute gold. It requests the daily low and several higher-timeframe opens with lookahead enabled, builds a synthetic source from recent opens, and plots a volume-weighted moving average of a higher-timeframe open with sta

Strategy v5 Moving averagesVolatility & bands Repaints
Updated 7 weeks ago · None stated GitHub repository of GOLD 1M - No repaint

Zen Z Bars V1

by Zen-Tim
29 stars

Zen Z Bars V1 analyzes bar-by-bar price action, candle range expansion, and internal bar strength (IBS). It identifies breakouts, inside and outside bars, climax candles based on range expansion factors, and tiered range multiple bars. The indicator draws brea

Indicator v5 Candlestick patternsBreakout
Updated 2 weeks ago · MIT GitHub repository of Zen Z Bars V1
16 stars

This strategy enters long or short on Donchian channel breakouts and adds units only while RSI remains beyond its momentum thresholds. Size is based on a percentage of equity per unit, up to a set maximum. An ATR initial stop and a chandelier trail manage open

Strategy v6 TrendOscillators & momentum
Updated 12 months ago · None stated GitHub repository of Seykota Alt 30: Momentum Pyramid

Exhaustion Scanner is an overlay indicator that measures overextension and reversal risk by evaluating price stretch, momentum exhaustion, and candle triggers. It combines distance from moving averages and Bollinger Bands with momentum oscillators, divergence

Indicator v6 Oscillators & momentumVolatility & bands
Updated 3 days ago · MIT GitHub repository of Exhaustion Scanner [WavesUnchained]
7 stars

The RSI + BB Oscillator combines Relative Strength Index (RSI) and Bollinger Bands %B calculations across two timeframes into a single separate pane plot. It shifts RSI values around zero and measures %B bandwidth using selectable moving average types includin

Indicator v5 Oscillators & momentumVolatility & bands Repaints
Updated 4 months ago · None stated GitHub repository of RSI + BB Oscillator

Spread by

by gorx1
5 stars

Spread by is a volatility channel overlay indicator that calculates statistical central tendencies and dispersion envelopes around price. It provides multiple central basis options including arithmetic mean, median, trimean, midhinge, midrange, root-mean-squar

Indicator v4 Volatility & bandsMoving averages
Updated 8 months ago · None stated GitHub repository of Spread by

This strategy identifies potential reversal conditions using statistical bands derived from price extremes relative to moving averages and standard deviations. It enters long positions when a greed condition confirms over consecutive bars. Exits are handled vi

Strategy v4 Mean reversionVolatility & bands
Updated 3 years ago · Apache-2.0 GitHub repository of Fear + Greed Reversal Long Strategy (Daily)

Simpleton GROK

by eltonaguiar
4 stars

This strategy plots on the price chart and combines up to seven optional modules that vote for long or short conditions. The modules use a 20-period simple moving average, a five-period RSI, Bollinger Band squeezes, a simplified prior-bar break, stacked expone

Strategy v5 Oscillators & momentumMoving averages
Updated 2 days ago · None stated GitHub repository of Simpleton GROK
4 stars

This strategy evaluates EMA crossovers filtered by a long-term 200-period EMA trend filter designed for Gold futures and XAUUSD. It enters a long position when a fast EMA crosses above a slow EMA while price is above the 200 EMA. If long-only mode is turned of

Strategy v6 TrendMoving averages
Updated 2 months ago · MIT GitHub repository of Gold GC/XAUUSD Strategy [trugurpala]
3 stars

This indicator plots trading signals, swing levels, a trend cloud, and optional take-profit and stop-loss targets directly on the price chart. It calculates advanced historical volatility metrics, including Garman-Klass and Yang-Zhang estimators, to evaluate m

Indicator v5 TrendVolatility & bands
Updated 12 months ago · None stated GitHub repository of Elite Algo Modded By AlgoPoint
3 stars

The Volatility Clustering Estimator measures autocorrelation in logarithmic price returns across daily, weekly, and monthly timeframes. It calculates logarithmic returns for higher-timeframe close prices and evaluates their correlation with lagged returns usin

Indicator v5 Volatility & bands Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of Volatility Clustering Estimator

Alpy Vix

by avatar-lavventura
2 stars

This strategy plots the Williams Vix Fix indicator as a histogram in a separate pane to detect potential trend reversals. It calculates the Vix Fix value using a lookback period and standard deviation bands derived from Bollinger Bands on the Vix Fix. Multiple

Strategy v4 Oscillators & momentumVolatility & bands Repaints
Updated 7 months ago · None stated GitHub repository of Alpy Vix

3C QFL Mean Reversal

by wynnforthework
2 stars

This strategy implements a Quickfinger Luc mean-reversion trading model tailored for automated execution. It calculates base support levels and volume moving averages across timeframes to identify sharp price dips below established base levels. The script incl

Strategy v5 Mean reversionSupport & resistance Repaints
Updated 1 year ago · None stated GitHub repository of 3C QFL Mean Reversal

DEPV2 DEBUG S1

by YuceSezar89
1 stars

This multi-asset crypto indicator monitors up to twenty symbols using four distinct analytical pillars: trend, momentum, volatility, and volume. It generates trade signals based on configurable modes including single-pillar execution, simultaneous confluence,

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

VCP Volume Contraction is an indicator designed to identify Volatility Contraction Pattern setups by measuring both volume and price volatility tightness. It calculates a volume ratio by comparing current volume against its moving average, alongside an ATR-bas

Indicator v5 Volatility & bandsVolume
Updated 4 months ago · None stated GitHub repository of VCP Volume Contraction

Swing Trade ATR

by rubbermetal
1 stars

Swing Trade ATR is an indicator that marks Swing L and Swing S labels when a 9-period EMA crosses a 21-period EMA, with a fill between them. After each signal it draws stop loss and take profit lines at ATR multiples from the signal close and clears them when

Indicator v6 TrendMoving averages
Updated 4 months ago · MPL-2.0 GitHub repository of Swing Trade ATR

Momentum Breakout

by knectardev
1 stars

This strategy enters long when the close is above the upper Bollinger Band and volume exceeds a moving average multiplied by a threshold, and enters short when the close is below the lower band with the same volume condition. New entries occur only while the p

Strategy v5 Volatility & bandsVolume
Updated 9 months ago · None stated GitHub repository of Momentum Breakout

RSI with ATR Bands

by nvFede
1 stars

A Pine v4 indicator in a separate pane, titled Parabolic SAR in the code, though the visible logic plots the 14-period RSI together with two bands. The upper band is the highest RSI over 22 bars minus the ATR, and the lower band is the lowest RSI plus the ATR.

Indicator v4 Oscillators & momentumVolatility & bands
Updated 3 years ago · None stated GitHub repository of RSI with ATR Bands

This indicator builds a momentum score from the rate of change of close, using a lookback that expands or contracts with ATR relative to its standard deviation. It divides that rate of change by price standard deviation, scales the result, and weights it by vo

Indicator v5 Oscillators & momentumVolatility & bands Repaints
Updated 8 weeks ago · None stated GitHub repository of Adaptive Volatility-Adjusted Momentum Score

This strategy trades Donchian channel breakouts with ATR-based risk. It allows long and short entries, sizes the first unit from a risk percent, and adds up to four fractional units as price moves in favor. An initial ATR stop moves to breakeven after a set pr

Strategy v6 TrendBreakout
Updated 12 months ago · None stated GitHub repository of Seykota Alt 31: Fractional + BE Lock
7 stars

This indicator overlays two Bollinger Band sets from two timeframes on the price chart. It centers RSI on zero and classifies the second timeframe as up, sideways, or down. A buy appears when that trend is down or sideways and the first timeframe percent B is

Indicator v5 Oscillators & momentumVolatility & bands
Updated 4 months ago · None stated GitHub repository of RSI + BB Signal Alert
5 stars

This indicator plots volume-weighted deviation bands on the price chart. It computes a volume-weighted mean of the selected source over a lookback length, then a volume-weighted standard deviation or average deviation around that mean. Optional log-space mode

Indicator v4 Volatility & bandsVolume
Updated 8 months ago · None stated GitHub repository of Volume Weighted Deviations

MACD Breakout

by jerryinyang
5 stars

This indicator plots a higher-timeframe MACD breakout setup on the price chart and combines it with linear regression channels. It marks support and resistance zones from MACD histogram sensitivity, then filters them with the MACD zero line, a linear regressio

Indicator v4 Oscillators & momentumBreakout
Updated 2 years ago · None stated GitHub repository of MACD Breakout
5 stars

Fear + Greed Reversal Projection measures market sentiment extremes by comparing price source values against historical highs and lows using standard deviation bands. It calculates fear and greed zones through simple or weighted moving averages. When market co

Indicator v4 Volatility & bandsMean reversion
Updated 3 years ago · Apache-2.0 GitHub repository of Fear + Greed Reversal Projection

Simpleton Stepfun

by eltonaguiar
4 stars

This indicator plots signals on the price chart for crypto trading. It computes RSI-2, MACD crossover, Bollinger Band squeeze, volume spikes, Triple EMA alignment and Ichimoku Cloud to produce confluence signals. Each indicator can be toggled with adjustable w

Indicator v5 Oscillators & momentumVolatility & bands
Updated 2 days ago · None stated GitHub repository of Simpleton Stepfun
4 stars

This strategy tracks gold price trends using three exponential moving averages with lengths of 8, 21 and 55. It calculates ADX for trend strength filter and ATR for dynamic risk levels. The script enters long positions when the EMAs align bullishly with suffic

Strategy v6 TrendMoving averages
Updated 2 months ago · MIT GitHub repository of Gold Triple EMA [trugurpala]

MACD + ATR13

by jash-git
3 stars

This indicator plots a standard MACD oscillator alongside an average true range line in a separate pane. It calculates the MACD line, signal line, and histogram using customizable fast, slow, and smoothing periods. It also computes a 13-period ATR plotted with

Indicator v5 Oscillators & momentumVolatility & bands
Updated 4 weeks ago · None stated GitHub repository of MACD + ATR13

CSW Indicators

by g-moe
3 stars

CSW Indicators combines eight technical analysis tools into a single overlay plotted directly on the main price chart. It features automated power support and resistance levels derived from pivot points, distance perimeter bands, a linear regression channel, R

Indicator v5 TrendSupport & resistance Repaints
Updated 5 months ago · None stated GitHub repository of CSW Indicators

Estimations-10min

by IAMATOMIC001
3 stars

This overlay strategy estimates trend with a selectable TEMA, Hull, or ALMA basis and optional higher-timeframe or Heikin Ashi sources. It plots a regression estimator with ATR near and far boundaries, can color bars by trend, and can show order blocks. Entrie

Strategy v5 TrendMoving averages Repaints
Updated 12 months ago · None stated GitHub repository of Estimations-10min

This indicator estimates realized volatility in a separate pane. It computes log returns from the current price and the previous daily close, then annualizes the standard deviation over short, medium, and long lookbacks. It also plots a quicker estimate that m

Indicator v5 Volatility & bands
Updated 2 years ago · GPL-3.0 GitHub repository of Volatility Oscillator with Quick Estimate and Forecast

Calculates a Zero Lag Exponential Moving Average (ZLEMA) combined with Average True Range volatility bands to determine market trends. It plots the ZLEMA basis line, volatility bands, trend reversal labels, and entry signals directly on the price chart. Additi

Indicator v5 TrendMoving averages Repaints
Updated 6 weeks ago · None stated GitHub repository of Zero Lag Trend Signals (MTF) [AlgoAlpha]

Alpy Vix

by avatar-lavventura
2 stars

Alpy Vix is a strategy that calculates and plots the Williams Vix Fix indicator adapted for BIST stocks in a separate pane. It generates entry signals when the Vix Fix crosses upper bands or percentile ranges and meets filtered criteria based on price action s

Strategy v4 Volatility & bandsOscillators & momentum Repaints
Updated 7 months ago · None stated GitHub repository of Alpy Vix

DEPV2 DEBUG S10

by YuceSezar89
1 stars

Calculates and coordinates trading signals across up to twenty cryptocurrency instruments using four core analytical dimensions: trend, momentum, volatility, and volume. Users can configure signals to trigger from single dimensions, simultaneous multi-factor c

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

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