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

Or browse all 158 indicators in the full library.

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

Run a free backtest