TREND, MOVING AVERAGES & STRUCTURE
Geometric MA
An average price that treats percentage moves fairly, so one huge spike distorts it less than it would a normal average.
spec id: gmalength (default 20)
What does Geometric MA measure?
An average price that treats percentage moves fairly, so one huge spike distorts it less than it would a normal average.
How is Geometric MA calculated?
Take the natural logarithm of each of the last 20 closes, average those, then undo the logarithm. That is the geometric mean.
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 Geometric MA in a bot?
In the builder, add an indicator of type gma (parameters: length, default 20). 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
- Heikin-AshiRedrawn candles that filter out the noise, so a trend shows as an unbroken run of same-coloured bars instead of a jumble.
- Gann HiLoA stop-and-reverse trend line that flips from below the price to above it when the trend changes.
- Hull MAA trend line that manages to be both smooth and quick — the usual trade-off, mostly dodged.
- IchimokuA whole trading system in one overlay: two fast trend lines, a cloud of support and resistance ahead, and a lagging line that confirms.
Or browse all 158 indicators in the full library.