Pine Library · 2,503 open-source scripts

Free Volatility and Band Pine Scripts (page 5)

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

Startegy

by orenkats
2 stars

This strategy draws on the price chart and sizes positions from account equity, a risk percent, and a leverage multiplier. It tracks long and short stops, pending add-on entries, limit and stop order offsets, and a percentage profit target. Settings change lin

Strategy v5 SMC / ICT / price actionSupport & resistance
Updated 1 year ago · None stated GitHub repository of Startegy
2 stars

The Refined Multi-TF Crypto Analyzer plots technical analysis signals on the main price chart by combining multi-timeframe moving averages, RSI, ADX, and volume spikes. It checks for trend alignment between the chart timeframe and a higher timeframe, identifie

Indicator v6 TrendOscillators & momentum Repaints
Updated 1 year ago · None stated GitHub repository of Refined Multi-TF Crypto Analyzer

SuperTrend

by KorayGocmen
2 stars

This indicator plots a SuperTrend line on the price chart to mark trend direction. It builds upper and lower bands from a user-selected price source and either average true range or standard deviation, then trails the active band as the trend continues. A gree

Indicator v5 TrendVolatility & bands Repaints
Updated 2 years ago · None stated GitHub repository of SuperTrend

ATR Reversion System

by Web3Degenerate
2 stars

The ATR Reversion System is a long-only mean-reversion strategy that plots ATR bands around a short-term EMA (20) and a long-term EMA (200) filter on the price chart. It signals entries by checking if the close is below the bottom ATR band and above the long E

Strategy v5 Mean reversionMoving averages
Updated 2 years ago · None stated GitHub repository of ATR Reversion System

Range Filter [DW]

by Amirzamani1l
2 stars

Range Filter [DW] calculates a smoothed trend filter line accompanied by high and low volatility bands directly on the price chart. The script computes market range using selectable methods such as ATR, Average Change, Standard Deviation, points, or percentage

Indicator v4 TrendVolatility & bands
Updated 2 years ago · None stated GitHub repository of Range Filter [DW]

This indicator plots four exponential moving averages (50, 100, 200, and 5 periods) on the price chart. It computes an ATR-based trailing stop using sensitivity and period settings. The trailing stop updates based on price action and Heikin Ashi candles if ena

Indicator v5 TrendMoving averages
Updated 2 years ago · MIT GitHub repository of Combined 3EMA and UT Bot Alerts with 5 EMA Trend Alert

EarnWithKoKo_1.1

by kamrankhoxa
2 stars

The indicator plots a linear regression channel on the price chart to identify support and resistance levels. It includes options for diagonal trendlines, horizontal support lines, and detects broken channels. Users can show Fibonacci levels, extend lines, and

Indicator v5 TrendSupport & resistance Repaints
Updated 2 years ago · None stated GitHub repository of EarnWithKoKo_1.1

BB & RSI & MACD

by Sauyang520
2 stars

This trading strategy combines Bollinger Bands, Relative Strength Index (RSI), and Moving Average Convergence Divergence (MACD) to generate trading signals. It enters positions based on price interactions with Bollinger Bands alongside RSI overbought or overso

Strategy v5 Oscillators & momentumVolatility & bands
Updated 2 years ago · None stated GitHub repository of BB & RSI & MACD

This indicator plots an optimal RSI in a separate pane and uses a k-nearest neighbour machine learning routine to adjust lookback and RSI count. It can mark RSI crossings, draw adaptive Bollinger bands around the RSI, and show tables of current settings. Users

Indicator v5 Oscillators & momentumVolatility & bands
Updated 2 years ago · None stated GitHub repository of Machine Learning: Optimal RSI [YinYangAlgorithms]

Bollinger Bands Strategy

by TravisLeeRichardson
2 stars

This strategy plots standard and dual-level Bollinger Bands on the main price chart to generate breakout signals. It enters a long position when the price crosses above the upper band and enters a short position when the price crosses below the lower band. Pos

Strategy v5 Volatility & bandsMoving averages
Updated 3 years ago · None stated GitHub repository of Bollinger Bands Strategy

Mini-Project

by Core-Four
2 stars

Mini-Project is a customizable multi-indicator strategy that enables traders to combine entry signals from Linear Regression, RSI, MACD, Parabolic SAR, and Supertrend. Users can toggle individual technical filters on or off to drive trade entries or enable a c

Strategy v5 TrendOscillators & momentum
Updated 3 years ago · None stated GitHub repository of Mini-Project

Anchored VWAP

by MuMuLLC
2 stars

This indicator plots an anchored volume-weighted average price on the price chart. It accumulates the typical price (HLC3) weighted by volume and resets the calculation at the start of a session, week, month, or year. It also plots bands one, two, and three st

Indicator v5 VolumeVolatility & bands Repaints
Updated 3 years ago · MIT GitHub repository of Anchored VWAP

LS Volatility Index

by andreperez
2 stars

The LS Volatility Index measures price volatility relative to a customizable moving average. It computes the percentage distance of the current price from the chosen source (such as close or open) and normalizes this value by historical volatility, producing a

Indicator v5 Volatility & bandsMoving averages
Updated 3 years ago · MPL-2.0 GitHub repository of LS Volatility Index

BIAS

by kat3samsin
2 stars

This multi-indicator strategy combines the Relative Strength Index (RSI), Choppiness Index, Stochastic Oscillator, and an Arnaud Legoux Moving Average (ALMA). It plots RSI, Stochastic, and Choppiness lines in a separate pane. Long entries trigger when RSI cros

Strategy v4 Oscillators & momentumMoving averages
Updated 5 years ago · MIT GitHub repository of BIAS
2 stars

This indicator tracks market direction by combining Bollinger Bands breakouts with ATR-adjusted pivot point channels. It establishes a primary trend line based on price breaking outer Bollinger Bands filtered by ATR, then validates the movement with a secondar

Indicator v4 TrendVolatility & bands
Updated 5 years ago · None stated GitHub repository of DeFi Follow Line Trend Signal
2 stars

The ANN MACD Future Forecast is an experimental indicator serving as a true deep learning sample on TradingView. It calculates Bollinger Bands and Squeeze Momentum using custom functions for SMA, EMA, standard deviation, highest and lowest values. The script p

Indicator v4 AI / machine learningVolatility & bands
Updated 7 years ago · MIT GitHub repository of ANN MACD Future Forecast (SPY 1D)
1 stars

A separate-pane indicator that plots a 0 to 100 market stress score. By default it fetches a published score through an HTTP request; alternatively the user can type values by hand, or it falls back to a price-based proxy built from realized volatility, drawdo

Indicator v5 Volatility & bandsScreeners & dashboards
Updated yesterday · None stated GitHub repository of SFC Stress Gauge (lite)

SURGE Sentinel

by Reckless2316
1 stars

A Pine v6 overlay for crypto charts that scores several confluence layers across the chart timeframe, a middle timeframe and a higher timeframe, with an optional reference asset. A signal fires only when the winning score, the number of agreeing layers and the

Indicator v6 TrendVolatility & bands Repaints
Updated yesterday · None stated GitHub repository of SURGE Sentinel

BTC Genius

by tatianathevisionary
1 stars

A price-chart indicator for Bitcoin on the daily timeframe that gathers daily data from Nasdaq futures, gold, the dollar index, the ten-year yield and Brent crude. It computes rolling correlations with Nasdaq and gold, a macro pressure-release score, a seller-

Indicator v6 Support & resistanceVolatility & bands
Updated yesterday · None stated GitHub repository of BTC Genius
1 stars

A long-only dip signal indicator that combines a 200-bar Bollinger Band filter with MACD crossovers. A buy marker appears when price has touched the lower band and, by default, still closes below the midline, then a standard or Impulse MACD crossover confirms.

Indicator v6 Mean reversionOscillators & momentum
Updated 2 days ago · None stated GitHub repository of Dip Mafia BB(200) Gate + MACD

BB StochRSI ADX Scalper

by surendra2304
1 stars

A mean reversion strategy that buys when price dips below the lower Bollinger Band while Stochastic RSI is oversold and crosses up, and sells short on the mirror setup at the upper band. Entries are skipped when ADX is above a maximum, to avoid strong trends.

Strategy v5 Mean reversionScalping
Updated 2 days ago · None stated GitHub repository of BB StochRSI ADX Scalper

Multi-Strategy Bot

by eliRap1
1 stars

This Pine Script v5 indicator overlays multiple technical strategies on the price chart to generate buy and exit signals. It scores confluence across SuperTrend direction flips, momentum (EMA, RSI, ROC), Bollinger Band mean reversion, breakout volume, and Stoc

Indicator v5 TrendOscillators & momentum
Updated 5 days ago · None stated GitHub repository of Multi-Strategy Bot

DEPV2

by YuceSezar89
1 stars

DEPV2 is a multi-symbol indicator for cryptocurrency trading. It aggregates signals from trend, momentum, volatility, and volume methods across 20 crypto pairs. Users select confirmation modes including simultaneous, sequential, or automatic per symbol. The in

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

Multi-Strategy Bot

by edwinlai2058
1 stars

A Pine v5 strategy, with Chinese input labels, that lets the user pick one of four setups: a short after an RSI overbought exhaustion, a long after an oversold reading, a Bollinger Band reversion, or a VWAP breakout with an EMA. Exits use three take-profit sta

Strategy v5 Mean reversionOscillators & momentum
Updated 12 days ago · None stated GitHub repository of Multi-Strategy Bot

ATR Expansion with Trend

by quantxaashish
1 stars

This indicator identifies potential bullish breakout opportunities by detecting volatility expansions in the direction of an established trend. It calculates the Average True Range (ATR) and determines if volatility is expanding by comparing ATR to its moving

Indicator v5 TrendVolatility & bands
Updated 13 days ago · MIT GitHub repository of ATR Expansion with Trend

Calculates an Average True Range (ATR) trailing stop that trails price by a configurable distance multiplier. It draws the trailing stop line on the price chart and marks flip points when price crosses the line. The indicator allows confirmation of flips on ba

Indicator v6 TrendVolatility & bands
Updated 13 days ago · MPL-2.0 GitHub repository of Taught to Trade - ATR Trailing Stop with Flip Audit

This strategy demonstrates a decoupled architecture where external Python optimization feeds parameters into Pine Script through a formatted configuration payload. The script parses the payload to set the SMA length, ATR length, take profit percentage, and ATR

Strategy v6 TrendMoving averages
Updated 2 weeks ago · MIT GitHub repository of Off-Chain Python-Pine Architecture [The Quant Science]

Trend Sniper Mini

by kasutu
1 stars

A multi-engine indicator that marks historical trade setups on the price chart. It combines trend entries filtered by a 200 EMA bias and higher timeframe, range breakouts from compressed ranges, and fades or reclaims after large news-style candles. Stops use A

Indicator v6 TrendBreakout Repaints
Updated 2 weeks ago · None stated GitHub repository of Trend Sniper Mini

LASTRO Risk Overlay

by arthur1535
1 stars

A monthly macro monitor that pulls two FRED series, the Baa credit spread and the NFCI financial conditions index, and converts each into a rolling z-score. Each axis flips into a stress state above an entry threshold and back out below an exit threshold. The

Indicator v6 Volatility & bands Repaints
Updated 2 weeks ago · None stated GitHub repository of LASTRO Risk Overlay
1 stars

A test script that plots dozens of built-in Pine calculations in a separate pane, each on its own line, so a converter can compare its output against exported chart data. It covers moving averages, RSI, CCI, MFI, MACD, stochastic, ADX with directional lines, B

Indicator v6 Oscillators & momentumVolatility & bands
Updated 3 weeks ago · Apache-2.0 GitHub repository of AlphaResin Conformance 1

FVG Prob TW Strategy

by gplee789-afk
1 stars

This strategy trades Taiwan-stock fair value gaps on the price chart. It marks gaps that pass an ATR size and displacement filter, tracks inverse FVGs, internal order-block retests and sweeps, and scores enabled triggers with fixed weights. A signal confirms o

Strategy v6 SMC / ICT / price actionSessions & time
Updated 3 weeks ago · MPL-2.0 GitHub repository of FVG Prob TW Strategy

UT Bot Alerts

by ApekTahua
1 stars

An ATR trailing stop indicator for the price chart. It places a stop line a set multiple of ATR from price, and prints Buy and Sell labels when price crosses that line, with bars colored green or red by direction. The key value changes sensitivity, the ATR per

Indicator v4 TrendVolatility & bands
Updated 4 weeks ago · None stated GitHub repository of UT Bot Alerts
1 stars

Calculates an Average True Range trailing stop directly on the price chart. It measures true range smoothed by a simple moving average to align with MT5 ATR semantics, multiplied by a user-defined factor. The stop ratchets upward during uptrends and downward d

Indicator v5 TrendVolatility & bands
Updated 5 weeks ago · MIT GitHub repository of ATR Trailing Stop (demo)
1 stars

This indicator overlays an EMA stack, Supertrend, and ATR range bands on the price chart and scores long or short confluence from trend, WaveTrend, StochRSI, confirmed divergence, and volume. Labels mark when the score meets the long or short threshold, with A

Indicator v6 TrendOscillators & momentum
Updated 5 weeks ago · MIT GitHub repository of Momentum Confluence Suite [MCS]

Kernal Cipher

by kdricha0602
1 stars

Kernal Cipher is a custom TradingView Pine Script v6 indicator that overlays multiple technical components on the price chart for discretionary momentum trading. It calculates trend using EMA fast, slow, and long lengths with slope filters, regime detection vi

Indicator v6 TrendOscillators & momentum
Updated 5 weeks ago · MIT GitHub repository of Kernal Cipher
1 stars

Marks a 15-minute opening range window on the chart and looks for a manipulation candle whose range is at least a set percentage of the daily ATR. When one appears, it draws position-tool style boxes showing a pending entry, a stop placed beyond the wick plus

Indicator v6 Sessions & timeBreakout
Updated 5 weeks ago · None stated GitHub repository of ORB Strategy Solid Position Boxes

Investment Master Indicator

by diwakarsingh01-tech
1 stars

A multi-module overlay aimed at stock investing, with a master toggle panel for each part. Modules include a percentage envelope, 52-week high and low, Bollinger Bands, Knoxville divergence, a set of four SMA lines, automatically merged support and resistance

Indicator v6 Support & resistanceVolatility & bands
Updated 6 weeks ago · None stated GitHub repository of Investment Master Indicator

Mac Buy/Sell Indicator

by acquillemac
1 stars

A SuperTrend-style indicator built on ATR and RMA bands that prints buy and sell signals when the direction flips, optionally filtered by a 9 and 21 EMA cross. It draws two ATR-based take profit levels, background colour and a stats table that scores past sign

Indicator v6 TrendSMC / ICT / price action
Updated 6 weeks ago · None stated GitHub repository of Mac Buy/Sell Indicator
1 stars

An indicator that plots Bollinger Bands and labels candles whose wicks pierce the upper or lower band, using a body-to-wick ratio to decide what counts as a wick. It checks 15-minute, 1-hour and 4-hour data and can send alerts for the current timeframe or the

Indicator v6 Volatility & bandsMean reversion
Updated 6 weeks ago · MIT GitHub repository of Bollinger Band Wick Marker MTF

Composite Market Bias

by mrme000m
1 stars

Composite Market Bias is a separate-pane indicator that scores bullish and bearish conditions from RSI, fast versus slow EMA, MACD histogram, Bollinger Band position, and price versus a 50-period EMA. It plots the resulting bias score with RSI, EMA trend, MACD

Indicator v5 Oscillators & momentumMoving averages
Updated 7 weeks ago · None stated GitHub repository of Composite Market Bias
1 stars

A signal overlay that merges two entry sources: an Andean oscillator with clustered Money Flow Index levels, and a UT Bot ATR trailing stop. Signals pass through optional filters: a FRAMA trend channel, a choppiness index, an ATR percentage range, a higher-tim

Indicator v6 TrendOscillators & momentum
Updated 7 weeks ago · None stated GitHub repository of MUFCA AtomDC v3.1 Elite

SuperTrend MTF

by Onair-santa
1 stars

Plots a Supertrend-based oscillator in a separate pane, scaled between -100 and 100, with a signal line, histogram and bands at 80 and -80. Buy and sell labels appear when price crosses the Supertrend line. An optional filter requires two higher timeframes, by

Indicator v6 TrendVolatility & bands
Updated 7 weeks ago · None stated GitHub repository of SuperTrend MTF

ADR 50 SR Pro

by DEVfancybear
1 stars

ADR 50 SR Pro calculates key support and resistance levels based on 50% of the Average Daily Range (ADR) projected above and below the daily opening price. It plots horizontal level lines and customizable shaded zone boxes directly on the main price chart. Tra

Indicator v6 Support & resistanceVolatility & bands
Updated 7 weeks ago · MIT GitHub repository of ADR 50 SR Pro

OCI Ollie Conviction Index

by ollieLiu1988
1 stars

Combines RSI, Stochastic RSI, MACD histogram and Bollinger Band position into one weighted score from -5 to +5 that gauges whether price looks stretched high or low. An optional MFI vote is off by default. Settings cover indicator lengths, sensitivity presets,

Indicator v6 Oscillators & momentumVolatility & bands
Updated 7 weeks ago · None stated GitHub repository of OCI Ollie Conviction Index
1 stars

A strategy built around a session VWAP and ATR bands during the London window, 08:00 to 12:00 UTC by default. It looks for a pullback to an ATR band followed by a VWAP cross, filtered by an RSI threshold, and evaluates signals on confirmed bars. Stops and targ

Strategy v6 Sessions & timeMean reversion
Updated 7 weeks ago · None stated GitHub repository of EMP Session Momentum v6

4Y AVWAP SIP

by sidd99-nit
1 stars

This indicator calculates four-year accumulated volume weighted average prices with recency weighting for the current year, previous year, two years ago and three years ago. It plots lines for each individual AVWAP, a recency-weighted composite and an equal-we

Indicator v6 Moving averagesSupport & resistance
Updated 2 months ago · None stated GitHub repository of 4Y AVWAP SIP

A price-chart indicator based on the UT Bot ATR trailing stop, with separate buy and sell engines that each have their own key value and ATR period, so long and short signals can react at different speeds. Signals print as selectable label, triangle, arrow or

Indicator v6 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of UT Bot Alerts 2026 Elite Edition

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