# Market Structure Volume Distribution

Market Structure Volume Distribution is an indicator on [Vela](https://vela.luxalgo.com/chart), our next-generation charting platform, written in Pine Script®.

Pairs swing-based market structure detection with a buy/sell volume profile so every structure break can be weighed by the participation behind it. A grid of up to 100 equal rows ties each break to its profile row and doubles as automatic support and resistance. For traders who refuse to take a breakout at face value.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Apr 9, 2024.
- Access: free.
- Concepts: [Volume Profile](https://www.luxalgo.com/library/concept/volume-profile/) (primary), [Break of Structure](https://www.luxalgo.com/library/concept/break-of-structure/), [Swing Structure Grammar](https://www.luxalgo.com/library/concept/swing-structure-grammar/)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=cmpwn3lcn0050vhsg6ga2xosy
- Page: https://www.luxalgo.com/library/indicator/market-structure-volume-distribution/

The **Market Structure Volume Distribution** answers the question structure tools usually leave open: how much force stood behind the break? It pairs swing-based market structure detection with a [volume profile](https://www.luxalgo.com/library/concept/volume-profile/) and a grid: structure lines confirm in green for bullish breaks and red for bearish, while the profile sums the volume of each structure-break bar into the row of the level it broke, split into bullish-break (buy) and bearish-break (sell) volume.

## How to Trade the Market Structure Volume Distribution?

- **Weigh breaks by participation**: match each structure line to its grid row on the profile. A break through a heavily traded row carries more conviction than one through thin trade.
- **Grid rows as levels**: the equally sized rows partition the analyzed range and serve as automatic support and resistance.
- **Buy vs sell split**: in the default BUY&SELL VOLUME mode each row separates the volume of bullish breaks from that of bearish breaks at that level, showing which break direction carried more volume there.
- **Tune the horizon**: a short swing-point period surfaces short-term structure; longer periods isolate the breaks swing traders care about.

## Market Structure Volume Distribution Settings

- **Execute on all visible range** (default false): calculate from every visible bar, overriding the fixed window.
- **Execute on the last N bars** (default 500): the calculation window when visible-range mode is off; accepts 20–5000.
- **Pivot Length** (default 2): bars needed to confirm a pivot. Larger values detect fewer, more significant breaks.
- **Profile Rows** (default 10) / **Profile Width** (default 200): resolution and maximum width of the profile.
- **Profile Mode** (default BUY&SELL VOLUME): combined totals or a buy/sell split; colors and dotted grid display are adjustable.

## Frequently Asked Questions

### What does the grid actually add?

It divides the execution window's price range into equal rows, so every structure event maps visually to its row in the profile. The row boundaries themselves behave as ready-made support and resistance references.

### How does this differ from a swing-anchored profile?

[Swing Volume Profiles](https://www.luxalgo.com/library/indicator/swing-volume-profiles/) anchors its distributions to individual swings, while this tool keeps one distribution across the whole window and layers structure lines and the grid on top, built for the structure-versus-volume comparison.

### Is the Market Structure Volume Distribution free?

Yes. Access is free via the LuxAlgo Library. The page also lets you send the tool directly to Quant, our coding agent, to explore how structure breaks and volume interact on your markets. You can also copy the source code from this page and run it anywhere Pine Script® runs.

## Related indicators

- [Volume Profile (Maps)](https://www.luxalgo.com/library/indicator/volume-profile-maps/) (Volume Profile): markdown at https://www.luxalgo.com/library/indicator/volume-profile-maps.md
- [Volume Profile Matrix](https://www.luxalgo.com/library/indicator/volume-profile-matrix/) (Volume Profile): markdown at https://www.luxalgo.com/library/indicator/volume-profile-matrix.md
- [Volume Profile Regression Channel](https://www.luxalgo.com/library/indicator/volume-profile-regression-channel/) (Volume Profile): markdown at https://www.luxalgo.com/library/indicator/volume-profile-regression-channel.md
- [Volume Profile with Node Detection](https://www.luxalgo.com/library/indicator/volume-profile-with-node-detection/) (Volume Profile): markdown at https://www.luxalgo.com/library/indicator/volume-profile-with-node-detection.md
- [Anchored Clusters Volume Profile](https://www.luxalgo.com/library/indicator/anchored-clusters-volume-profile/) (Volume Profile): markdown at https://www.luxalgo.com/library/indicator/anchored-clusters-volume-profile.md
- [Clusters Volume Profile](https://www.luxalgo.com/library/indicator/clusters-volume-profile/) (Volume Profile): markdown at https://www.luxalgo.com/library/indicator/clusters-volume-profile.md
- [Market Structure (Breakers)](https://www.luxalgo.com/library/indicator/market-structure-breakers/) (Break of Structure): markdown at https://www.luxalgo.com/library/indicator/market-structure-breakers.md
- [DTFX Algo Zones](https://www.luxalgo.com/library/indicator/dtfx-algo-zones/) (Break of Structure): markdown at https://www.luxalgo.com/library/indicator/dtfx-algo-zones.md

---

Source: https://www.luxalgo.com/library/indicator/market-structure-volume-distribution/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
