Median price — (high + low) / 2, the midpoint of the bar's range.
TA-Lib's MEDPRICE, matched bar-for-bar.
The other one-number bar summary the corpus keeps reaching for:
awesomeOscillator is a difference of two SMAs of it,
easeOfMovement measures how far it travelled, and
highLowBands is a percent envelope around a moving average of it.
Appends one column, default 'medianPrice'. Reads only high and low —
close is accepted on the shared options type and ignored, so a caller
who spreads one options object across the family is not surprised by a
throw.
Same edges as typicalPrice: no warm-up, linear in price and
shift-equivariant, a gap costs one bar, nothing is clamped (a low above
a high still averages).
Median price —
(high + low) / 2, the midpoint of the bar's range. TA-Lib'sMEDPRICE, matched bar-for-bar.The other one-number bar summary the corpus keeps reaching for: awesomeOscillator is a difference of two SMAs of it, easeOfMovement measures how far it travelled, and highLowBands is a percent envelope around a moving average of it.
Appends one column, default
'medianPrice'. Reads only high and low —closeis accepted on the shared options type and ignored, so a caller who spreads one options object across the family is not surprised by a throw.Same edges as typicalPrice: no warm-up, linear in price and shift-equivariant, a gap costs one bar, nothing is clamped (a
lowabove ahighstill averages).