# Visible Range Mean Deviation Histogram

Visible Range Mean Deviation Histogram is an indicator on [Vela](https://vela.luxalgo.com/chart), our next-generation charting platform, written in Pine Script®.

The Visible Range Mean Deviation Histogram maps the prices on your visible chart into bins anchored at their mean and sized by standard deviation, counting observations relative to highs and lows for an unusually smooth profile. Points of Control mark the most populated bins as candidate support and resistance for range and mean-reversion traders.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Jul 19, 2022.
- Access: free.
- Concepts: [Distribution-of-returns Profiling](https://www.luxalgo.com/library/concept/distribution-of-returns-profiling/) (primary)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=cmpwn6xdp009rvhsgxk6618eg
- Page: https://www.luxalgo.com/library/indicator/visible-range-mean-deviation-histogram/

The **Visible Range Mean Deviation Histogram** turns whatever your chart currently shows into a statistical profile: applied [distribution profiling](https://www.luxalgo.com/library/concept/distribution-of-returns-profiling/) for price. It lays out a chosen number of bins above and below the mean of visible prices (each side of the ladder spanning the standard deviation times an adjustable multiplier) and measures how much price action fell inside each one. Because bins are counted relative to highs and lows rather than simply tallied, the resulting histogram comes out smoother and easier to read than a raw count.

## How to Trade the Visible Range Mean Deviation Histogram?

- **Long bins**: intervals holding many price observations, zones where the market ranged, and where price is more likely to consolidate or reverse on a revisit.
- **POC lines**: the most significant bins in the histogram, watched as potential support and resistance for entries and exits.
- **Deviation labels**: each bin is annotated with its standard-deviation multiplier, showing at a glance how many deviations price sits from the visible mean.

Because the histogram centers on the visible mean and scales with volatility, the read carries across quiet and turbulent charts alike: dense clusters flag well-traded areas, while price pushing into the outer-deviation bins is operating far from its recent center of gravity.

## Visible Range Mean Deviation Histogram Settings

- **Bins Per Side**: how many bins sit above and below the price mean. More bins, finer resolution.
- **Deviation Multiplier**: the standard-deviation multiplier that scales the histogram's reach to volatility.
- **Relative**: draws each bin's length relative to the maximum bin count.
- **Show POCs**: toggles Point of Control lines; bin and POC colors are customizable.

## Frequently Asked Questions

### What separates this from a volume profile?

The bins here count price observations positioned by mean and standard deviation. Volume never enters the calculation. If you want volume-weighted value areas anchored to market swings, [Swing Volume Profiles](https://www.luxalgo.com/library/indicator/swing-volume-profiles/) is the sibling to reach for.

### Why scale the bins by standard deviation?

It keeps the histogram aligned with current volatility: the same bin structure widens when volatility expands and contracts when it fades, so the deviation labels stay meaningful regardless of instrument or timeframe.

### How do I get the Visible Range Mean Deviation Histogram?

The indicator is free on the LuxAlgo Library, and you can open it in Quant, our coding agent, directly from this page to test how its levels behave. You can also copy the source code from this page and run it anywhere Pine Script® runs.

## Related indicators

- [Probability Grid](https://www.luxalgo.com/library/indicator/probability-grid/) (Distribution-of-returns Profiling): markdown at https://www.luxalgo.com/library/indicator/probability-grid.md
- [Consecutive Candle Streak Analysis](https://www.luxalgo.com/library/indicator/consecutive-candle-streak-analysis/) (Distribution-of-returns Profiling): markdown at https://www.luxalgo.com/library/indicator/consecutive-candle-streak-analysis.md
- [ATR Exceedance Probability Model](https://www.luxalgo.com/library/indicator/atr-exceedance-probability-model/) (Distribution-of-returns Profiling): markdown at https://www.luxalgo.com/library/indicator/atr-exceedance-probability-model.md
- [Day Of Week Price Distribution](https://www.luxalgo.com/library/indicator/day-of-week-price-distribution/) (Distribution-of-returns Profiling): markdown at https://www.luxalgo.com/library/indicator/day-of-week-price-distribution.md
- [Reversal Probability Zone & Levels](https://www.luxalgo.com/library/indicator/reversal-probability-zone-levels/) (Percentile Rank): markdown at https://www.luxalgo.com/library/indicator/reversal-probability-zone-levels.md
- [Change-Point Detection (CUSUM)](https://www.luxalgo.com/library/indicator/change-point-detection-cusum/) (Outlier Detection): markdown at https://www.luxalgo.com/library/indicator/change-point-detection-cusum.md
- [Standardized Cumulative Deltas](https://www.luxalgo.com/library/indicator/standardized-cumulative-deltas/) (Z-score): markdown at https://www.luxalgo.com/library/indicator/standardized-cumulative-deltas.md
- [Sigmoid Transition Trailing Stop](https://www.luxalgo.com/library/indicator/sigmoid-transition-trailing-stop/) (Sigmoid/softmax Transforms): markdown at https://www.luxalgo.com/library/indicator/sigmoid-transition-trailing-stop.md

---

Source: https://www.luxalgo.com/library/indicator/visible-range-mean-deviation-histogram/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
