TREND, MOVING AVERAGES & STRUCTURE
Midprice
The middle of the recent FULL range — halfway between the highest high and the lowest low, wicks included.
spec id: midpricelength (default 14)
What does Midprice measure?
The middle of the recent FULL range — halfway between the highest high and the lowest low, wicks included.
How is Midprice calculated?
Take the highest high and the lowest low of the last 14 candles, and average them.
Written by reading the engine’s real computation, not a textbook — where the two differ, the page describes what actually runs.
How do I use Midprice in a bot?
In the builder, add an indicator of type midprice (parameters: length, default 14). Its value becomes an operand you can compare in any entry or exit rule. The engine grades the whole rule honestly: real fills, no look-ahead, half the history held back.
Related indicators
- -DMThe down-side half of the directional movement that ADX is built from — how hard the lows have been pushing lower.
- OHLC4A single, steady price for the candle that uses all four points — the smoothest of the price averages.
- Pivot pointsThe classic floor-trader support and resistance levels, worked out from yesterday's candle before today opens.
- +DMThe up-side half of the directional movement that ADX is built from — how hard the highs have been pushing higher.
Or browse all 158 indicators in the full library.