Pine Library · 2,503 open-source scripts

Free Volatility and Band Pine Scripts (page 6)

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

Very Long Term RVOL Pro

by monikerprivacy-byte
1 stars

This indicator is drawn on the price chart and classifies relative volume against a simple moving average of volume. It combines volume with candle-body effort, close location, wick bias, and ATR to label bullish, bearish, or mixed conditions. Configurable thr

Indicator v6 VolumeSupport & resistance
Updated 2 months ago · None stated GitHub repository of Very Long Term RVOL Pro

Daddy's Special Mix

by timoanttila
1 stars

Daddy's Special Mix is an indicator that combines an anchored VWAP with a standard deviation band, ATR distances, RSI levels and turtle-style breakout windows. It tracks entries after VWAP crosses, allows a set number of additional entries, and flags exits on

Indicator v6 BreakoutTrend Repaints
Updated 2 months ago · GPL-3.0 GitHub repository of Daddy's Special Mix
1 stars

A Pine v6 indicator that plots the built-in Supertrend next to a hand-written expansion of the same calculation on the price chart. The explicit version builds ATR-based upper and lower bands from the midpoint of each bar and flips direction when the close cro

Indicator v6 TrendVolatility & bands
Updated 2 months ago · None stated GitHub repository of SuperTrend Explicit Port Reference
1 stars

This strategy trades pullbacks to the 21 EMA inside a full EMA 21, 50, 200 stack, shorts only by default. Filters include ADX strength, an RSI range, volume relative to its average, a minimum candle body, an ATR floor, a panic-volatility check and an optional

Strategy v6 TrendOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Adaptive Pullback Momentum 5m

This indicator classifies market conditions into five regimes using Bandt-Pompe permutation entropy on price closes. It calculates an entropy score to assess order versus randomness, smooths it into a predictability metric, and computes an adaptive percentile

Indicator v6 TrendVolatility & bands
Updated 2 months ago · Custom licence GitHub repository of Permutation Entropy Regime [Jayadev Rana]

Contra v6

by jayadevrana
1 stars

This Pine Script strategy fades exhaustion moves into the Pivot Point SuperTrend band. It buys when price stretches down into the band and sells when price stretches up, using touch, reversal or both triggers. Entries support pyramiding with configurable steps

Strategy v6 Mean reversionVolatility & bands
Updated 2 months ago · Custom licence GitHub repository of Contra v6
1 stars

This Pine Script indicator plots a range filter line along with high and low target bands on the price chart. It calculates a smoothed average range using a sampling period and multiplier, then applies a filter to detect upward and downward trends. Signals tri

Indicator v5 TrendVolatility & bands
Updated 2 months ago · Custom licence GitHub repository of Range Filter Buy and Sell 5min

Gold Dominator Pro

by thanvish21
1 stars

Gold Dominator Pro is a multi-indicator overlay designed primarily for gold trading. It combines higher-timeframe exponential moving averages with momentum oscillators like RSI, MACD, and StochRSI, alongside volatility tools such as ATR, Bollinger Bands, and A

Indicator v5 TrendOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Gold Dominator Pro
1 stars

A separate-pane indicator that flags sudden price moves using two measures: the percentage rate of change over a short rolling window and a z-score of bar-to-bar price changes against a longer baseline. A spike can trigger when either measure passes its thresh

Indicator v5 Volatility & bandsOscillators & momentum
Updated 2 months ago · AGPL-3.0 GitHub repository of Volatility Spike Detector
1 stars

Draws three projected future candles to the right of the price chart. A directional score blends EMA trend, MACD histogram, Bollinger position, RSI and VWAP distance, and the score sets an expected return, a bullish probability and a confidence figure shown on

Indicator v6 Oscillators & momentumTrend
Updated 2 months ago · None stated GitHub repository of BTC and FX 3-Candle Forecast

This indicator identifies confluence patterns based on smart money concepts including liquidity grabs, break of structure, order blocks, and fair value gaps. It maintains a statistical database of past setups, logs outcomes on bar close, and calculates dynamic

Indicator v6 SMC / ICT / price actionTrend
Updated 2 months ago · MIT GitHub repository of Smart Money Concepts V3.5.5 - Confluence Learning Engine

FVG + Volatility Regime

by ankitpatel117
1 stars

A strategy that detects three-candle fair value gaps and trades retracements into unfilled gaps, but only when an ATR-based volatility regime agrees. The regime is high or low by comparing ATR to its average or to a percentile, and a toggle flips between high-

Strategy v5 SMC / ICT / price actionVolatility & bands
Updated 3 months ago · MIT GitHub repository of FVG + Volatility Regime

Super Duper Trend

by shahrukhhaider
1 stars

A strategy built on a SuperTrend line using an ATR period and multiplier, entering when the trend direction flips and sizing trades by a fixed amount input. Optional exits can be enabled: a faster SuperTrend, an ATR trailing stop, an EMA exit, and fixed percen

Strategy v6 TrendVolatility & bands
Updated 3 months ago · Custom licence GitHub repository of Super Duper Trend

SPE Cone Bands

by SeraKah-1
1 stars

An overlay indicator that draws a fan-shaped band projecting forward from the last bar. It uses the rolling mean and standard deviation of log returns to extend a median line and upper and lower lines by a chosen number of bars, scaled by a z-value input. It i

Indicator v5 Volatility & bands Repaints
Updated 3 months ago · MIT GitHub repository of SPE Cone Bands
1 stars

MTF Confluence Strategy is a Pine Script strategy that generates long and short signals based on Supertrend flips on the chart timeframe confirmed by Supertrend on a higher timeframe. Signals require ADX above a threshold for trending conditions and optional v

Strategy v6 TrendOscillators & momentum
Updated 3 months ago · None stated GitHub repository of MTF Confluence Strategy
1 stars

This indicator draws two ATR trailing stop lines on the price chart: a fast Sniper line and a slow Anchor line. A buy or sell trigger comes from the fast line flipping, and the README says it should agree with the slow line's direction. A session filter shades

Indicator v6 TrendVolatility & bands
Updated 3 months ago · MIT GitHub repository of Phoelix 15min Sniper Bot - Raw Ride Edition

Crypto Sniper 1H

by balax-studio
1 stars

A multi-timeframe crypto signal indicator designed for the 1-hour chart. It combines Bollinger Bands, Keltner Channels, RSI and EMAs with sweep and fair value gap patterns, a smoothed Williams %R confirmation from 15-minute data, 4-hour ATR for volatility and

Indicator v6 Volatility & bandsSMC / ICT / price action Repaints
Updated 3 months ago · None stated GitHub repository of Crypto Sniper 1H
1 stars

Papan Gerak is a multi-dimension technical analysis dashboard aimed at Indonesian stocks. This base module declares the indicator in a separate pane and stores the display and calculation settings used by the dashboard. It covers table position, font size, com

Indicator v6 Screeners & dashboardsTrend
Updated 3 months ago · MIT GitHub repository of Saham: Papan Gerak By. Akhmfz
1 stars

The ATR Breakout Channel strategy detects breakouts by comparing the current close price to the high or low of the previous 20 bars, forming a channel. Entries occur when the price breaks through the channel in the trend direction of a 200-period EMA if the tr

Strategy v6 BreakoutTrend
Updated 3 months ago · MIT GitHub repository of ATR Breakout Channel [QuantForge]

Fat Tail System vFinal.2

by zyuzhong470
1 stars

A strategy that looks for a volatility squeeze using a normalised Bollinger Band width, then waits for rising linear regression slope momentum and a break above recent resistance before entering. Exits use an ATR-multiple stop loss, an optional reward-to-risk

Strategy v6 BreakoutVolatility & bands
Updated 3 months ago · None stated GitHub repository of Fat Tail System vFinal.2

GEKO Gold

by grzegorzkowalskigk-jpg
1 stars

GEKO Gold is a trend-following indicator for gold (XAUUSD/MGC). It computes a GEKO-TIMID composite trend strength score by blending weekly and daily EMAs and ADX values, then classifies the trend into Emerging, Dominant or Extended states. The indicator plots

Indicator v6 TrendMoving averages
Updated 3 months ago · Custom licence GitHub repository of GEKO Gold

Pro Algo System

by Meghraj-N
1 stars

This strategy combines a stack of exponential moving averages with RSI, MACD, stochastic and a volume spike check before entering long or short trades. Stops and targets are set from ATR multiples, with an optional ATR trailing stop, and position size is deriv

Strategy v5 TrendOscillators & momentum
Updated 4 months ago · None stated GitHub repository of Pro Algo System
1 stars

The Iron Condor Signal (Range Detector) is an overlay indicator that identifies range-bound, low-trend market conditions suitable for non-directional trading strategies. It calculates Bollinger Bands, the Average Directional Index (ADX), and the Relative Stren

Indicator v5 Volatility & bandsTrend
Updated 4 months ago · GPL-3.0 GitHub repository of Iron Condor Signal (Range Detector)

BB(10,2) + TP20 SameDay

by zraesdev-hub
1 stars

This strategy draws Bollinger Bands on the price chart and enters long when both the open and the close are below the lower band. Mode S1 exits the same day at a 20 percent take profit or forces a close if that target is missed. Mode S2 can hold for a set numb

Strategy v5 Volatility & bandsMean reversion
Updated 4 months ago · None stated GitHub repository of BB(10,2) + TP20 SameDay

UT Bot v6

by Stolzel
1 stars

This indicator calculates and plots trend-following signals based on an adaptive UT Bot trailing stop mechanism on the price chart. Entry signals trigger on trailing stop crossovers, with sensitivity keys adjusting dynamically between trending and ranging mark

Indicator v6 TrendVolatility & bands
Updated 4 months ago · MIT GitHub repository of UT Bot v6

Nexus Flow

by darkwader26
1 stars

Nexus Flow is a multi-dimensional trend and momentum indicator that combines EMA and ALMA trend detection with Supertrend consensus for adaptive trend filtering. It incorporates an adaptive RSI for momentum analysis with volatility-adjusted lookback and plots

Indicator v6 TrendOscillators & momentum
Updated 5 months ago · None stated GitHub repository of Nexus Flow

DST HMM v9 Mobile

by Javas128282
1 stars

DST HMM v9 Mobile is a variant of a gold-focused hidden Markov model regime indicator, adjusted for mobile screens. It classifies the market into Sideways, Bull and Bear states using Baum-Welch retraining on a rolling window, draws a Kalman filter line with co

Indicator v6 AI / machine learningTrend
Updated 5 months ago · None stated GitHub repository of DST HMM v9 Mobile

Adaptive Supertrend Pro

by shubhamtaywade82
1 stars

Plots an adaptive Supertrend on the price chart whose multiplier moves between a minimum and maximum with volatility regime, using ATR, ADX and volume percentile settings. Signals are filtered by a higher-timeframe EMA and ATR check, liquidity sweeps, pullback

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

Talons BB Squeeze Breakout

by muammeryldrm42
1 stars

This strategy identifies Bollinger Band squeezes and enters positions on volatility breakouts. It defines a squeeze when the normalized band width over the last five bars drops below its 25th percentile over a configurable lookback window. When a breakout occu

Strategy v5 Volatility & bandsBreakout
Updated 5 months ago · None stated GitHub repository of Talons BB Squeeze Breakout

Sentiment 2

by ggamer5555
1 stars

Sentiment 2 is a trend-following strategy that calculates a normalized composite market sentiment score ranging between 0 and 1. It combines exponential and Hull moving average slopes, high/low midpoints, Supertrend distances, and Parabolic SAR metrics. Plotte

Strategy v6 TrendMoving averages
Updated 5 months ago · None stated GitHub repository of Sentiment 2
1 stars

This indicator is tuned for 30-minute micro gold futures. It computes a Keltner-style band around a Hull-type moving average and draws a coloured cloud on the price chart. A separate pane shows a smoothed mountain-style oscillator and candles, while a four-lin

Indicator v6 Volatility & bandsMoving averages
Updated 5 months ago · None stated GitHub repository of MMP v.17 Futures 30Min MGC

BAKOME HUNTER MT5

by BAKOME-Hub
1 stars

BAKOME HUNTER MT5 is an overlay indicator that prints buy and sell labels from a linear regression moving average, a Heikin Ashi trend and an ATR volatility check. Optional RSI, ADX and volume filters can be switched on or off. Each signal can show a stop loss

Indicator v6 TrendVolatility & bands
Updated 5 months ago · MIT GitHub repository of BAKOME HUNTER MT5

News Dash

by SarpSoysal
1 stars

News Dash is an overlay indicator that flags bars where both volume and bar range are unusually large. A bar is marked when its volume exceeds the recent average by one multiplier and its high-low range exceeds the ATR by another, with a lookback period settin

Indicator v5 Volatility & bandsVolume
Updated 6 months ago · MIT GitHub repository of News Dash
1 stars

This strategy trades BIST30 futures on the price chart using a fast 9-period and slow 21-period EMA crossover signal. It generates buy signals only during Turkish market session hours of 09:30-18:15 UTC+3 and closes all positions automatically at session end.

Strategy v6 TrendOscillators & momentum
Updated 6 months ago · MIT GitHub repository of VİOP Session Strategy

TR 10 [Vaibhav]

by DeveloperVaibhav1
1 stars

TR 10 [Vaibhav] is an overlay indicator that plots buy and sell signals on the price chart. It calculates signals using multiple EMA periods for trend direction, RSI for momentum, and a confluence score combining these factors. Signals are generated when condi

Indicator v6 TrendOscillators & momentum
Updated 6 months ago · None stated GitHub repository of TR 10 [Vaibhav]

ARPS Stoploss

by ali-rajabpour
1 stars

An indicator that calculates two suggested stop levels from a 7-period ATR: the current bar low minus the ATR for long trades, and the current bar high plus the ATR for short trades. The values appear in a small table in the bottom right of the price chart, gr

Indicator v5 Volatility & bands
Updated 6 months ago · None stated GitHub repository of ARPS Stoploss

Algo1.0

by dtheran1
1 stars

A combined overlay with two modules for the price chart. The ATR Trend module draws a trend line from an ATR-based band, with ten choices of smoothing type, an optional fast trend, a smoothed range channel and buy and sell markers when the trend flips. The sec

Indicator v6 TrendSMC / ICT / price action Repaints
Updated 6 months ago · None stated GitHub repository of Algo1.0
1 stars

The Adaptive Liquidity Matrix indicator calculates and plots a synthetic liquidity matrix on the price chart. It anchors to the highest volume candle on a selected macro timeframe, reads its polarity to set support or resistance levels, and expands the matrix

Indicator v6 Volatility & bandsSupport & resistance
Updated 6 months ago · AGPL-3.0 GitHub repository of Adaptive Liquidity Matrix

This indicator calculates Kaufman's Efficiency Ratio normalized by an ATR ratio to create a dynamic volatility-adjusted threshold. It classifies market states into uptrend, downtrend, choppy, or consolidation regimes and colors price chart bars accordingly. It

Indicator v6 TrendVolatility & bands
Updated 6 months ago · None stated GitHub repository of Adaptive Regime Filter + Divergence (AER-VN) [KEYALGOS]
1 stars

This indicator calculates volume anomaly metrics using rolling z-scores of window volume, trend cleanliness from directional price consistency, and relative price impact. It plots these in a separate pane alongside signals: yellow dots for volume building with

Indicator v6 VolumeVolatility & bands
Updated 7 months ago · None stated GitHub repository of Volume Flow Anomaly AnomIQ Preview
1 stars

CSA-15 Crypto Scalping Indicator is a TradingView Pine Script v5 overlay indicator designed for crypto scalping. It calculates multiple confirmations including trend direction from fast and slow EMAs, momentum via RSI, volume surge detection, squeeze and volat

Indicator v5 TrendOscillators & momentum
Updated 7 months ago · None stated GitHub repository of CSA-15 Crypto Scalping Indicator

TRADDY

by mehmetaltugakgul
1 stars

A price-chart indicator that plots KAMA and Bollinger Bands with squeeze shading, and combines more than twenty studies, such as MACD, RSI, stochastic, CCI, ADX and OBV, into one weighted bullish or bearish net score. Score thresholds label readings from stron

Indicator v5 Oscillators & momentumVolatility & bands
Updated 7 months ago · None stated GitHub repository of TRADDY

Blackflag FTS

by ymlee1104
1 stars

Blackflag FTS is an overlay trend-following indicator that calculates dynamic trailing stop levels using an ATR-based volatility filter and Wilder's moving average. It features both modified and standard true range calculations to limit extreme volatility spik

Indicator v6 TrendVolatility & bands
Updated 7 months ago · None stated GitHub repository of Blackflag FTS
1 stars

An indicator for the price chart that classifies the market regime from a daily EMA slope and price position, plus a four-hour ATR percentile rank for volatility. Based on the combination, it shades the chart background to show which of two companion strategie

Indicator v6 TrendVolatility & bands
Updated 7 months ago · None stated GitHub repository of Strategy Rotation (Regime-Based)
1 stars

This indicator screens daily price charts to identify potential parabolic snapback short and washout bounce long setups. It calculates price extension using moving averages, percentage gain lookbacks, and optional Bollinger Bands filters. Long signals require

Indicator v6 Mean reversionVolume
Updated 7 months ago · None stated GitHub repository of Parabolic Snapback & Washout

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