MA Distance Histogram
- Indicators
- Pablo Filipe Soares De Almeida
- Version: 1.5
- Updated: 27 April 2026
- Activations: 10
MA Distance Histogram
The MA Distance Histogram is an indicator that displays, in histogram form, the distance between the closing price (Close) and a Moving Average, providing a clear visualization of market strength and momentum.
Positive values indicate that the price is above the moving average, representing buying pressure (bulls).
Negative values indicate that the price is below the moving average, representing selling pressure (bears).
The indicator uses ATR (Average True Range) to normalize this distance, ensuring consistent and proportional readings across different market conditions, assets, and timeframes. The result is a standardized scale (typically between -100 and +100), making it easier to compare weak and strong movements.
Level-based visualization
The indicator now includes customizable level-based coloring, allowing traders to quickly identify extreme market conditions.
Values above or below defined levels (for example, above 50 or below -50) can be highlighted with a specific color, helping to detect overbought and oversold zones with greater clarity.
Custom levels
The indicator provides fully customizable fixed levels, improving visual reference and analysis.
These levels follow a symmetric structure (e.g., -75, -50, -25, 0, 25, 50, 75), making interpretation more intuitive and consistent.
Signal Moving Average
A Signal Moving Average can be applied directly to the histogram values.
This feature helps smooth the data and identify momentum direction changes. The signal line is dynamically colored based on its direction and highlights the most recent bar for better real-time analysis.
Advantages of using the MA Distance Histogram
Facilitates identification of trend strength and momentum.
Provides a clear view of price distance from the moving average.
Helps detect overbought and oversold conditions using levels.
Highlights momentum shifts when crossing key levels or zero.
Combines trend and oscillator behavior in a single tool.
Additional features
Configurable Moving Average (SMA, EMA, SMMA, LWMA).
ATR-based normalization for adaptive scaling.
Customizable level-based coloring.
Fully adjustable fixed levels.
Optional Signal Moving Average with dynamic coloring.
Compatible with any asset and timeframe.
Recommended for
Identifying trend direction and strength.
Confirming entries with price action or other indicators.
Spotting exhaustion and reversal zones.
Use in both trend-following and counter-trend strategies.
