Volume Profile BB
- Indicatori
-
Giuseppe Pajusco
Chi sono - Versione: 1.1
- Attivazioni: 20
Volume Profile BB draws a volume profile on the right side of your chart and applies a moving average with Bollinger-style bands along the price axis of the profile. Wherever the profile exits the bands, a node is detected automatically:
- Above the upper band = High Volume Node (HVN): price levels where the market spent a lot of time.
- Below the lower band = Low Volume Node (LVN): price levels the market crossed quickly.
No need to eyeball the profile: HVN and LVN levels are drawn as horizontal lines across the chart and update as new bars form.
How the profile is built
The profile is time-based: each price level counts how many candles crossed it over the lookback window. It does not use real exchange volume, so it works on any symbol (forex, metals, indices, crypto, CFDs) and any timeframe, including instruments where broker volume is unreliable. Please note that this is a time-at-price profile, not an order-flow or real-volume profile.
Features
- Point of Control (POC), Value Area High / Low (VAH / VAL) with configurable Value Area %.
- Vertical moving average and bands over the profile, with two statistic modes: Mean + Standard deviation or Median + MAD (robust to outliers).
- Automatic HVN / LVN detection with adjustable band width, smoothing and minimum zone size.
- Optional log scale on the profile to reduce the dominance of the POC.
- Lookback up to 50,000 bars and up to 500 price bins.
- Smooth rendering on a single transparent canvas: no object clutter, no dependency on the time axis, works while scrolling and zooming.
- Recalculation on every new bar and intrabar with a configurable throttle, so CPU usage stays low.
- Several instances can run on the same chart (for example two different lookbacks).
- Fully configurable colors, opacity and width, readable on both dark and light chart themes.
For EA developers
Five buffers are exposed and can be read with iCustom at shift 0:
| Buffer | Content |
|---|---|
| 0 | POC price |
| 1 | VAH price |
| 2 | VAL price |
| 3 | Nearest HVN to the current close |
| 4 | Nearest LVN to the current close |
Values are provided for the current bar only (shift 0). If no node is detected, the buffer returns EMPTY_VALUE .
Inputs
Profile
- Lookback (bars), Number of price bins, Value Area %
Vertical MA / Bands
- MA window (bins), Band width (k), Statistic (Mean+Std / Median+MAD), Log scale, Smoothing, Minimum zone bins
Recalculation
- Intrabar recalculation throttle (ms), Diagnostic info on chart
Visual
- Histogram width and opacity, colors for profile, Value Area, POC, MA, bands, HVN and LVN, switches for VA lines, bands and HVN/LVN levels
Notes
- This is an analysis tool. It does not place trades and does not guarantee any trading result.
- Nodes depend on the lookback and on the bin count: try different settings for your symbol and timeframe.
- Works on any MT5 account type (netting or hedging).
