OHLC VolumeH displaiys the difference between two volume lines of the OHLC Volume volume indicator as a histogram.
Since OHLC Volume is calculated only by OHLCV bar values, the indicator has no configurable parameters.
Calculation:
OHLCV = UpV - DnV
where:
UpV = Volume * CoeffUP/(CoeffUP+CoeffDN)
DnV = Volume* CoeffDN/(CoeffUP+CoeffDN)
CoeffUP = High-Open
CoeffDN = Close-Low

Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/21403
OHLC_Volume
OHLC Volume indicator
AMA Histogram
The histogram displays the difference of a Close price and iAMA (Adaptive Moving Average, AMA) indicator value.