TREND, MOVING AVERAGES & STRUCTURE
Gator oscillator
A picture of how far apart the three Alligator lines are.
spec id: gatoroutputs: upper · lowerlength (default 14)
What does Gator oscillator measure?
A picture of how far apart the three Alligator lines are. When the bars shrink toward zero the trend is sleeping; when they grow, it is feeding.
How is Gator oscillator calculated?
Take the three smoothed midpoint averages (13, 8 and 5 candles). `upper` is the gap between the 13 and 8 lines; `lower` is the gap between the 8 and 5 lines, drawn as a negative number so it sits below the axis.
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 Gator oscillator in a bot?
In the builder, add an indicator of type gator (parameters: length, default 14). Its output series — upper, lower — become operands 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
- Geometric MAAn average price that treats percentage moves fairly, so one huge spike distorts it less than it would a normal average.
- 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.
Or browse all 158 indicators in the full library.