What it does
Tracks cumulative money flow by weighting each bar’s final aggregate total by where the chart closes inside that bar’s range, then carrying that result forward as a running line.
Calculations
1) Compute the Money Flow Multiplier as ((Close – Low) – (High – Close)) / the protected chart range on valid, non-flat bars.
2) Multiply that multiplier by the final aggregate total to get the bar’s ADL step.
3) Add that step to the prior ADL value to maintain a cumulative running line.
4) Apply the selected moving average to the finished ADL line as a separate overlay.
Unique story it tells
It measures whether closes are consistently finishing near the top or bottom of the bar range with enough volume pressure to build sustained accumulation or sustained distribution over time.
How it identifies tops/bottoms
It does not include a built-in top/bottom detector, threshold band, or pivot rule. Tops and bottoms are usually read through divergence and confirmation: weakening line behavior against rising price can warn of a top, while strengthening line behavior against falling price can warn of a bottom.
Story it tells when indicator is rising
Rising means more volume is being credited to closes near the upper part of the bar range, so accumulation pressure is dominating distribution.
Story it tells when indicator is falling
Falling means more volume is being credited to closes near the lower part of the bar range, so distribution pressure is dominating accumulation.
Story it tells when indicator is neutral
Neutral usually means the line is flattening because buying and selling pressure are roughly offsetting, or because closes are clustering near the middle of the bar range so net money flow stays small.
What it means when indicator is rising + price is rising
Bullish confirmation: price is advancing and the line is confirming that the move is being supported by accumulation.
What it means when indicator is rising + price is falling
Possible bullish divergence or absorption: price is weakening, but cumulative money flow is improving underneath the surface.
What it means when indicator is falling + price is rising
Possible bearish divergence: price is advancing while cumulative money flow is deteriorating, which can signal distribution into strength.
What it means when indicator is falling + price is falling
Bearish confirmation: downside price movement is being reinforced by ongoing distribution.
Unique features and settings
Adjustable settings
Market Type — limits the calculation to Spot, Perps, or Both.
Mode — builds the aggregate using Base Units or USD Turnover before the ADL step is calculated.
MA Type — selects the overlay moving average type for the ADL line.
MA Length — sets the overlay moving average length.
Show Debug Table — displays the full per-venue audit table for the active routed asset.
Font Size — changes the debug table text size.
Location — moves the debug table on the chart.
Hardcoded settings
Final launch venue map — uses the suite’s finalized routed spot and perpetual venue lists as the aggregate source.
Spot/perp interpretation metadata — defines whether each venue contributes as Base, Quote, or Contracts.
Contract mode metadata — defines how contract-based rows convert before they enter the aggregate.
Contract Sizes — apply stored multipliers to perpetual rows that use contract counts.
Data-defense behavior — keeps venue-ignore protection enabled when repeated bad data appears.
Bad-bar threshold — removes a venue’s used contribution after 5 consecutive bad bars.
BASE_ONLY enforcement — forces Base Units internally on supported non-USD or index-like charts.
FALLBACK behavior — switches to the chart’s own volume on unsupported-base charts.
Market-type total-selection — uses explicit Spot / Perps / Both logic to choose the active total.
Debug fetch behavior — may widen active routed fetch scope to show the full venue map, while still reusing each venue fetch once and keeping Used and % Share honest.
Money-flow source — always builds the multiplier from the chart bar’s high, low, and close.
Range protection — uses a protected chart-range denominator on valid bars; flat-range bars do not update the ADL step.
Cumulative construction — always accumulates the protected ADL step forward bar to bar.
MA attachment rule — applies the moving average to the final ADL line only.
Notes specific to this script
This script has no indicator-specific settings block beyond the shared Market Type, Mode, Moving Average, and Debug controls. It builds the money-flow multiplier from the chart bar’s high, low, and close, then applies that multiplier to the final aggregate total and carries the result forward cumulatively. The moving average is a display-only overlay on the final ADL line. There is no reset behavior, signal line, or threshold/band structure in this script. When debug is enabled, the script may widen the active routed fetch scope so the full venue map can be shown, but excluded or ignored rows still do not affect the active total.

