OPEN-SOURCE SCRIPT

Multi-Distribution Volume Profile (Zeiierman)

1 271
Overview
Multi-Distribution Volume Profile (Zeiierman) is a flexible, structure-first volume profile tool that lets you reshape how volume is distributed across price, from classic uniform profiles to advanced statistical curves like Gaussian, Lognormal, Student-t, and more.

Instead of forcing every market into a single "one-size-fits-all" profile, this tool lets you model how volume is likely concentrated inside each bar (body vs wicks, midpoint, tails, center bias, right-skew, heavy tails, etc.) and then stacks that behavior across a whole lookback window to build a rich, multi-distribution map of traded activity.
snapshot
On top of that, it overlays a dynamic Center Band (value area) and a fade/gradient model that can color each price row by volume, hits, recency, volatility, reversals, or even liquidity voids, turning a plain profile into a multi-dimensional context map.
snapshot
Highlights
  • Choose from multiple Profile Build Modes, including uniform, body-only, wick-only, midpoint/close/open, center-weighted, and a suite of probability-style distributions (Gaussian, Lognormal, Weibull, Student-t, etc.)
  • Flexible anchor layout: draw the profile on Right/Left (horizontal) or Bottom/Top (vertical) to fit any chart layout
  • Value Area / Center Band computed from volume quantiles around the POC.
  • Gradient-based Fade Metrics: volume, price hits, freshness (time decay), volatility impact, dwell time, reversal density, compression, and liquidity voids
  • Separate bullish vs bearish volume at each price row for directional structure insights

snapshot
How It Works
Profile Construction
The script scans a user-defined Bars Included window and finds the full high–low span of that zone. It then divides this range into a user-controlled number of Price Levels (rows).

For each historical bar within the window:
  • It measures the candle’s price range, body, and wicks.
  • It assigns volume to rows according to the selected Profile Build Mode, for example:
    * Range Uniform – volume spread evenly across the full high–low range.
    * Range Body Only / Range Wick Only – concentrate volume inside the body or wicks only.
    * Midpoint / Close / Open Only – allocate volume entirely into one price row (pinpoint modeling).
  • HL2 / Body Center Weighted – center weights around the middle of the range/body.
  • Recent-Weighted Volume – amplify newer bars using exponential time decay.
  • Volume Squared (Hard) – aggressively boost bars with large volume.
  • Up Bars Only / Down Bars Only – filter volume to only bullish or bearish bars.

For more advanced shapes, the script uses continuous distributions across the bar’s span:
  • Linear, Triangular, Exponential to High
  • Cosine Centered, PERT
  • Gaussian, Lognormal, Cauchy, Laplace
  • Pareto, Weibull, Logistic, Gumbel
  • Gamma, Beta, Chi-Square, Student-t, F-Shape

Each distribution produces a weight for each row within the bar’s range, normalized so the total volume remains consistent, but the shape of where that volume lands changes.

POC & Center Band (Value Area)

Once all rows are accumulated:
  • The row with the highest total volume becomes the Point of Control (POC)
  • The script computes cumulative volume and finds the band that wraps a user-defined Center of Profile % (e.g., 68%) around the center of distribution.
  • This range is displayed as a central band, often treated like a value area where price has spent the most “effort” trading.

Gradient Fade Engine

Each row also gets a fade metric, chosen in Fade Metric:
  • Volume – opacity based on relative volume.
  • Price Hits – how frequently that row was touched.
  • Blended (Vol+Hits) – average of volume & hits.
  • Freshness – emphasizes recent activity, controlled by Decay.
  • Volatility Impact – rows that saw larger ranges contribute more.
  • Dwell Time – where price “camped” the longest.
  • Reversal Density – where direction changes cluster.
  • Compression – tight-range compression zones.
  • Liquidity Void – inverse of volume (thin liquidity zones).

When Apply Gradient is enabled, the row’s bullish/bearish colors are tinted from faint to strong based on this chosen metric, effectively turning the profile into a heatmap of your chosen structural property.

How to Use

Explore Different Distribution Assumptions

Switch between multiple Profile Build Modes to see how your assumptions about intrabar volume affect structure:

Use Range Uniform for classical profile reading.snapshot
Deploy Gaussian, Logistic, or Cosine shapes to emphasize central clustering.
snapshot
Try Pareto, Lognormal, or F-Shape to focus on tail / extremal activity.
snapshot
Use Recent-Weighted Volume to prioritize the most recent structural behavior.
snapshot
This is especially useful for traders who want to test how different modeling assumptions change perceived value areas and levels of interest.

Identify Value, Acceptance & Rejection Zones

Use the POC and Center of Profile (%) band to distinguish:
  • High-acceptance zones – wide central band, thick rows, strong gradient → fair value areas
  • Rejection zones & tails – thin extremes, low dwell time, high volatility or reversal density

These regions can be used as:
  • Targets and origin zones for mean reversion
  • Context for breakout validation (leaving value)
  • Bias reference for intraday rotations or swing rotations

snapshot
Read Directional Structure Within the Profile

Because each row is split into bullish vs bearish contributions, you can visually read:
  • Where buyers dominated a price region (large bullish slice)
  • Where sellers absorbed or defended (large bearish slice)

Combining this with Fade Metrics like Reversal Density, Dwell Time, or Freshness turns the profile into a structural order-flow map, without needing raw tick-by-tick volume data.
snapshot
Use Fade Metrics for Contextual Heatmaps

Each Fade Metric can be used for a different analytical lens:
  • Volume / Blended – emphasize where volume and activity are concentrated.
  • Freshness – highlight the most recently active zones that still matter.
  • Volatility Impact & Compression – spot areas of explosive moves vs coiled ranges.
  • Reversal Density – locate micro turning points and battle zones.
  • Liquidity Void – visually pop out thin regions that may act as speedways or magnets.

snapshot

Settings
  • Profile Build Mode – Selects how each bar’s volume is distributed across its price range (uniform, body/wick, midpoint/close/open, center-weighted, or statistical distribution families).
  • Bars Included – Number of bars used to build the profile from the current bar backward.
  • Price Levels – Vertical resolution of the profile: more levels = smoother but heavier.
  • Anchor Side – Where the profile is drawn on the chart: Right, Left, Bottom, or Top.
  • Offset (bars) – Horizontal offset from the last bar to the profile when using Right/Left modes.
  • Apply Gradient – Toggles the fade/heatmap coloring based on the selected metric.
  • Fade Metric – Chooses the property driving row opacity (Volume, Hits, Freshness, Volatility Impact, Dwell Time, Reversal Density, Compression, Liquidity Void).
  • Decay – Time-decay factor for Freshness (values close to 1 keep older activity relevant for longer).
  • Profile Thickness – Relative thickness of the profile along the time axis, as a % of the lookback window.
  • Center of Profile (%) – Volume percentage used to define the central band (value area) around the POC.


-----------------
Disclaimer

The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.

All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.