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

Or browse all 158 indicators in the full library.

Build a bot that trades on Midpoint — the first backtest is free.

Run a free backtest