Indicator · Pine Script v6 · On the chart

Volumetric Regression Heatmap

by woodstock-tokyo· code credited to LuxAlgo

An overlay indicator that fits a regression channel over a base period, optionally resizing the period with volatility, and fills parallel levels above and below it with a colour gradient based on traded volume.

View on GitHub

Repaints

GitHub stars1on the repository
Pine versionv6current
Lines of code353
Settings25inputs
LicenceNone stated
Last update3 months ago6 Jul 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

Optional mean reversion signals appear when price reaches a standard deviation band while the slope is flat. Extras include buy and sell volume histograms, a volume profile, a forward projection and a dashboard. Credited to LuxAlgo.

Details

Published by

woodstock-tokyo on GitHub

Code credit

LuxAlgo, as written in the script's header

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

Volume, Mean reversion, Volatility & bands

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

  • Signals can change on the live bar or after it closes (repainting)

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Sourcesourcehl2sourceInput
Base Periodint400baseLengthInput
Dynamic Auto-Adjusting PeriodbooltruedynamicLengthInput
Grid Rows Each Sideint40numBinsInput
Gradient Smoothingint4smoothBinsInput
Color 1 (Low Volume)colorcolor.new(#000000, 100)color1Input
Color 2colorcolor.new(#5b9cf6, 95)color2Input
Color 3colorcolor.new(#089981, 90)color3Input
Color 4colorcolor.new(#ff9800, 80)color4Input
Color 5 (High Volume)colorcolor.new(#f23645, 60)color5Input
Show Mean Reversion SignalsbooltrueshowSignalsInput
Signal Band (SD Multiplier)float2.0signalBandInput
Show all 25 settings
SettingTypeDefaultVariable
Flat Slope Thresholdfloat2.5slopeThresholdInput
Show Top/Bottom Delta HistogramsbooltrueshowDeltaInput
Histogram Height Scalefloat0.6deltaScaleInput
Histogram Bar Widthint3deltaWidthInput
Buy Volume Colorcolorcolor.new(#089981, 40)buyColorInput
Sell Volume Colorcolorcolor.new(#f23645, 40)sellColorInput
Heatmap Line Widthint10lineWidthInput
Future Projection Lengthint30extendLengthInput
Show Volume Profile HistogrambooltrueshowProfileInput
Histogram Widthint30profileWidthInput
DashboardbooltruedashboardInput
PositionstringTOP_RIGHTdashboardPositionInput
SizestringSMALLdashboardSizeInput
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

9 stars

This indicator plots an anchored MIDAS support and resistance curve from launch-anchored volume-weighted price on the price chart. It adds two configurable volume-weighted standard-deviation, ATR, or hybrid bands and a topfinder or bottomfinder accelerated exh

Indicator v6 Mean reversionSupport & resistance Repaints
Updated 2 days ago · MIT GitHub repository of MIDAS 2.0 [WavesUnchained]

VWAP Trader NXi

by eddiebelaval
7 stars

VWAP Trader NXi calculates a daily session-anchored Volume Weighted Average Price along with two custom standard deviation bands on the main price chart. It plots the core VWAP, Value Area bands, outer extension zones with background shading, and the previous

Indicator v5 VolumeVolatility & bands
Updated 3 months ago · None stated GitHub repository of VWAP Trader NXi
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
1 stars

An indicator for four-hour charts that builds a rolling VWAP with standard deviation bands. A long signal appears when one bar closes below the lower band and the next closes back above it, and the reverse for shorts. Filters skip trades when ATR volatility is

Indicator v6 Mean reversionVolatility & bands
Updated 7 months ago · None stated GitHub repository of V21 VWAP Mean Reversion

VWAP Volatility Bands

by Focal-QuantAI
1 stars

An indicator on the price chart that smooths a VWAP with a T3 moving average cascade and surrounds it with ATR-scaled volatility bands. The VWAP can reset each session, week or month. Optional bounce signals mark reactions from the outer bands in the direction

Indicator v6 Volatility & bandsVolume
Updated 6 months ago · None stated GitHub repository of VWAP Volatility Bands

The Momentum Setup is a multi-indicator visual tool designed for trend and momentum analysis directly on the price chart. It combines Relative Strength Index (RSI), Money Flow Index (MFI), Commodity Channel Index (CCI), Supertrend, and a 250-bar percentage cha

Indicator v5 Oscillators & momentumTrend
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup - Ankush Bajaj Momentum Investing Setup

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers