TREND, MOVING AVERAGES & STRUCTURE
Midpoint
The middle of the recent CLOSING range — halfway between the highest and lowest close.
spec id: midpointlength (default 14)
What does Midpoint measure?
The middle of the recent CLOSING range — halfway between the highest and lowest close.
How is Midpoint calculated?
Take the highest close and the lowest close 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 Midpoint in a bot?
In the builder, add an indicator of type midpoint (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
- MidpriceThe middle of the recent FULL range — halfway between the highest high and the lowest low, wicks included.
- -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.
Or browse all 158 indicators in the full library.