Indicator · Pine Script v5 · On the chart

Price Action Volumetric Order Blocks [StratifyTrade]

by coolboydev8· code credited to StratifyTrade

This overlay indicator draws price-action order blocks on the chart and marks internal buy and sell activity inside them.

View on GitHub

GitHub stars3on the repository
Pine versionv5runs as is
Lines of code589
Settings40inputs
LicenceNone stated
Last update2 years ago21 Jul 2024

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

Price Action Volumetric Order Blocks [StratifyTrade] constructs blocks from a chosen length or the full candle body, then treats them as mitigated by close, wick, or average. Users control how many recent blocks remain visible, whether overlapping blocks are hidden, and whether metrics and a midline appear. Alerts can fire when a bullish or bearish block forms, is mitigated, or contains price. A configurable table shows selected timeframes.

Details

Published by

coolboydev8 on GitHub

Code credit

StratifyTrade, as written in the script's header

Type

Indicator, Pine Script v5

Draws

On the price chart

Category

SMC / ICT / price action, Volume, Support & resistance

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
Show Lastbooltrueobshow
oblastint5oblast
obupcscolorcolor.new(colup, 90)obupcs
obdncscolorcolor.new(coldn, 90)obdncs
Show Buy/Sell Activity booltrueobshowactivity
obactupcolorcolor.new(colup, 50)obactup
obactdncolorcolor.new(coldn, 50)obactdn
Construction stringLengthobmode
lenint5len
Mitigation MethodstringCloseobmiti
Metric SizestringNormalobtxt
Show Metricsbooltrueshowmetric
Show all 40 settings
SettingTypeDefaultVariable
Show Mid-Linebooltrueshowline
Hide Overlapbooltrueoverlap
Bullish OB Formed boolfalseblcreated
Bearish OB Formedboolfalsebrcreated
Bullish OB Mitigated boolfalseblmitigated
Bearish OB Mitigatedboolfalsebrmitigated
Price Inside Bullish OBboolfalseblinside
Price Inside Bearish OBboolfalsebrinside
Number of order blocksint3nobs
Process only last N order blocksint20input_limit
Process only last N barsint3000input_limit_calc_bars
Text colorcolorcolor.whitetable_text_color
Text sizestringNormaltable_text_size_
Table positionstringBottom Righttable_pos_
Timeframe 1timeframe1tf1
Timeframe 2timeframe3tf2
Timeframe 3timeframe5tf3
Timeframe 4timeframe10tf4
Timeframe 5timeframe15tf5
Timeframe 6timeframe30tf6
Timeframe 7timeframe45tf7
Timeframe 8timeframe60tf8
Timeframe 9timeframe120tf9
Timeframe 10timeframe180tf10
Timeframe 11timeframe240tf11
Timeframe 12timeframeDtf12
Timeframe 13timeframeWtf13
Timeframe 14timeframeMtf14
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

Moon Dev GEX Sweep & CVD

by moondevonyt
92 stars

The indicator detects liquidity sweeps across key price levels and calculates a cumulative volume delta proxy. It uses pivot high and low lookbacks to identify swing points, marking sweeps when price breaks beyond a level and quickly closes back inside. Featur

Indicator v5 Support & resistanceSMC / ICT / price action
Updated 8 weeks ago · Custom licence GitHub repository of Moon Dev GEX Sweep & CVD

Calculates higher-timeframe volume profiles to identify Value Area High (VAH), Value Area Low (VAL), and Point of Control (POC) levels directly on the price chart. It flags potential reversal setups and Change in State of Delivery (CISD) patterns relative to v

Indicator v6 VolumeSupport & resistance
Updated 2 months ago · None stated GitHub repository of CandelaCharts - Value Area Reversals

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 yesterday · MIT GitHub repository of Copilot

Supply and Demand Visible Range identifies supply, demand, and equilibrium zones across the visible chart range. It accumulates high, low, and volume data starting from the leftmost visible bar, optionally requesting lower timeframe intrabar data for finer res

Indicator v5 Support & resistanceVolume Repaints
Updated 2 months ago · AGPL-3.0 GitHub repository of Supply and Demand Visible Range [LuxAlgo]
13 stars

This script identifies and visualizes bullish and bearish order blocks on the price chart. It detects low-volatility consolidation ranges followed by breakout moves accompanied by high trading volume. Users can select between Simple, Relative, or Weighted volu

Indicator v6 SMC / ICT / price actionSupport & resistance
Updated 6 months ago · MIT GitHub repository of Advanced Order Blocks with Volume

This indicator identifies and visualizes key support and resistance heatmap zones directly on the price chart. Using closed one-hour price data, it evaluates multi-scale pivots, liquidity clusters, relative volume, and round-number resonances to score structur

Indicator v6 Support & resistanceSMC / ICT / price action
Updated 7 weeks ago · MIT GitHub repository of 加密货币1小时关键价位热力图 V2

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