Indicator · Pine Script v6 · On the chart

Volume-Trend Order Block Engine

by vedkanani123· code credited to BigBeluga

A price-chart indicator by BigBeluga that draws a custom volatility-based Supertrend with an optional shaded trend cloud, and marks order blocks at confirmed swing pivots.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code193
Settings16inputs
LicenceNone stated
Last update2 months ago23 Aug 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

Each block shows its buy and sell volume percentage. Blocks can be removed once price breaks fully through them. Bullish and bearish retest signals appear when price crosses back through a block and the original pivot window meets a minimum volume share. Settings cover Supertrend length, multiplier, pivot strength, colours and volume thresholds.

Details

Published by

vedkanani123 on GitHub

Code credit

BigBeluga, as written in the script's header

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

SMC / ICT / price action, Trend, Volume

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

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

SettingTypeDefaultVariable
Volatility SMA Lengthint50st_len
Multiplierfloat3.5st_mult
Show Trend Cloud Fillbooltrueshow_fill
Bullish Cloud Colorcolor#00ffcccloud_bull_col
Bearish Cloud Colorcolor#ff007fcloud_bear_col
Pivot Strengthint7pivot_len
Bullish OB Colorcolor#00ffccbull_col
Bearish OB Colorcolor#ff007fbear_col
OB Text Label Colorcolor#e0e0e0txt_col
Delete OB on Complete Breakbooltruedelete_on_break
Bullish Retest Signalsbooltrueshow_bull_retest
Min Buy %float50.0bull_vol_pct
Show all 16 settings
SettingTypeDefaultVariable
Colorcolor#00ffccbull_sig_col
Bearish Retest Signalsbooltrueshow_bear_retest
Min Sell %float50.0bear_vol_pct
Colorcolor#ff007fbear_sig_col
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

Copilot

by milocaetano
48 stars

Copilot is an order flow range-reversal indicator designed to overlay trading setups directly on the price chart. It evaluates four criteria: market context (sideways vs trending regime based on ATR height), structure (double top or double bottom retests), abs

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 days ago · MIT GitHub repository of Copilot

This indicator identifies and plots volumetric order blocks alongside trend strength on the price chart. It highlights recent bullish and bearish order blocks using full candles or custom length coordinates, displaying internal buy and sell activity, mid-lines

Indicator v5 SMC / ICT / price actionVolume

Premium 3

by Abishek-Tharu99
1 stars

A multi-tool overlay indicator on the price chart. It offers reversal buy and sell markers, oversold and overbought shading, a trend ribbon, optional reversal bands and three moving average support and resistance lines. It can also show higher-timeframe liquid

Indicator v5 SMC / ICT / price actionSupport & resistance Repaints
Updated 1 year ago · None stated GitHub repository of Premium 3
1 stars

Ultimate Trend Suite [AI] is an overlay indicator that combines trend identification, momentum, volume analysis, and smart money concepts. It generates buy and sell signals based on moving average crossovers confirmed by volume above its average. The script ca

Indicator v5 TrendVolume
Updated 4 months ago · None stated GitHub repository of Ultimate Trend Suite [AI]

Adaptive Market Suite

by jayadevrana
1 stars

This indicator bundles four switchable modules, each with its own settings. The first is an adaptive moving average that speeds up in clean trends and shows a trending or ranging read. The second draws volatility bands whose width follows the ATR percentile. T

Indicator v6 TrendVolatility & bands
Updated 2 months ago · Custom licence GitHub repository of Adaptive Market Suite
575 stars

This indicator detects equal highs and lows by comparing prices within user-defined left and right bars using a tolerance percentage. It plots horizontal lines on the price chart for equal highs in one color and lows in another. A screener allows input of mult

Indicator v5 Support & resistanceTrend
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Equal Highs and Lows with Screener

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