What AIMS Gator Advanced does
AIMS Gator is a visual trend filter displaying the classic Bill Williams Alligator ribbons and Purple Magic Line. AIMS Gator Advanced elevates this framework into an active signal generation engine: it features an interactive on-chart HUD dashboard, calculates consolidation corridors from fractal extremes, flags Saddle Point equilibrium zones, and projects automated breakout entry and stop-loss brackets.
Alligator Sleeping Cycles & Corridors
Detects periods where the Alligator mouth is closed, framing consolidation zones between outermost swing fractals.
Saddle Point Equilibrium Straddles
Identifies 4-line entanglement where market direction is 50/50 neutral but volatility compression is at theoretical maximum.
Interactive On-Chart HUD Blotter
Institutional dark-mode telemetry panel with one-click toggles for Signals, Brackets, and Moving Average lines.
How to trade AIMS Gator Advanced
Identify Alligator Sleeping Cycle
Watch for Lips, Teeth, and Jaws lines crossing repeatedly, signaling that the Alligator has ceased feeding and entered consolidation.
Detect Saddle Point Equilibrium
When all 4 smoothed lines converge into a flat knot, prepare for imminent explosive volatility expansion.
Deploy Breakout Straddle Orders
Place pending Buy Stop orders above the upper corridor fractal and Sell Stop orders below the lower corridor fractal.
Bank Initial Profits at +1.0R
Close 50% of the position upon reaching +1.0R, move stop loss to breakeven, and trail remainder behind Alligator Teeth.
Prompts, not trade instructions. A SETUP READY prompt tells you to review the structure on a closed candle. It is never a command to enter blindly.
Setups and chart grammar
AIMS Gator Advanced categorizes the market into feeding trends and sleeping consolidation corridors.
| Setup | Context | What the indicator sees | Goal |
|---|---|---|---|
| Alligator Corridor Breakout | Market waking from sleeping phase | Candle closes cleanly outside the fractal consolidation corridor with Alligator opening | Enter in breakout direction with stop anchored behind the opposing corridor boundary |
| Saddle Point 50/50 Straddle | Maximum 4-line entanglement | Lips, Teeth, Jaws, and Purple lines converging into a single flat horizontal knot | Deploy bidirectional pending stop orders to capture expansion in whichever direction breaks first |
| Feeding Trend Continuation | Established impulse run | Alligator lines fanning out with wide spacing between Lips, Teeth, and Jaws | Ride open trend runner, trailing protective stops behind the Red Teeth line |
Alligator mouth closed or entangled — market coiling in consolidation corridor.
All 4 lines entangled in neutral equilibrium — deploy bidirectional straddle.
Lips > Teeth > Jaws > Purple — aggressive upward trend expansion.
Lips < Teeth < Jaws < Purple — aggressive downward trend expansion.
The Alligator Sleeping Corridor Invariant
Mathematical criteria defining volatility compression boundaries from swing fractals.
CorridorHigh = HighestFractal(SleepingEpisode) CorridorLow = LowestFractal(SleepingEpisode) Breakout: Close[0] > CorridorHigh (Bull) | Close[0] < CorridorLow (Bear)

Settings
| Input | Type | Default | What it does |
|---|---|---|---|
| Lips Period | Integer | 5 | Smoothed moving average period for Lips (Green line). |
| Teeth Period | Integer | 8 | Smoothed moving average period for Teeth (Red line). |
| Jaws Period | Integer | 13 | Smoothed moving average period for Jaws (Blue line). |
| Purple Period | Integer | 34 | Smoothed moving average period for Purple Magic trend line. |
| Show Corridor Brackets | Boolean | true | Plot consolidation box boundaries on chart. |
| Show Breakout Arrows | Boolean | true | Display directional breakout trigger arrows. |
| Show HUD Dashboard | Boolean | true | Display interactive telemetry desk blotter. |
| Input | Type | Default | What it does |
|---|---|---|---|
| InpSerialKey | string | "" | DLMS serial key license activation. |
| InpLipsPeriod | int | 5 | Alligator Lips SMMA Period. |
| InpTeethPeriod | int | 8 | Alligator Teeth SMMA Period. |
| InpJawsPeriod | int | 13 | Alligator Jaws SMMA Period. |
| InpPurplePeriod | int | 34 | Purple Magic Line SMMA Period. |
| InpShowCorridors | bool | true | Plot fractal consolidation corridors. |
| InpShowDashboard | bool | true | Display interactive on-chart HUD dashboard. |
| InpBufferPips | double | 1.0 | Buffer distance in pips for entry triggers. |
| Input | Type | Default | What it does |
|---|---|---|---|
| InpSerialKey | string | "" | DLMS serial key license validation. |
| InpLipsPeriod | int | 5 | Alligator Lips period. |
| InpTeethPeriod | int | 8 | Alligator Teeth period. |
| InpJawsPeriod | int | 13 | Alligator Jaws period. |
| InpPurplePeriod | int | 34 | Purple Magic line period. |
| InpShowCorridors | bool | true | Show consolidation corridor brackets. |
| InpShowDashboard | bool | true | Show interactive dashboard blotter. |
| InpBufferPips | double | 1.0 | Pip buffer for bracket orders. |
Use it in your EA
On MetaTrader you can read the levels and setup state from an Expert Advisor with iCustom().
// MQL5 — Read AIMS Gator Advanced breakout triggers and corridor levels
int h = iCustom(_Symbol, _Period, "AIMSGatorAdvanced");
double bullBreakout[], bearBreakout[], corridorHigh[], corridorLow[];
CopyBuffer(h, 0, 1, 1, bullBreakout); // Buffer 0: Bullish corridor breakout price
CopyBuffer(h, 1, 1, bearBreakout); // Buffer 1: Bearish corridor breakout price
CopyBuffer(h, 2, 1, 1, corridorHigh); // Buffer 2: Upper corridor boundary price
CopyBuffer(h, 3, 1, 1, corridorLow); // Buffer 3: Lower corridor boundary price| Buffer | Name | Value |
|---|---|---|
| 0 | Bull Breakout Price | Bullish corridor breakout trigger price (EMPTY_VALUE if none) |
| 1 | Bear Breakout Price | Bearish corridor breakout trigger price (EMPTY_VALUE if none) |
| 2 | Corridor High | Upper fractal consolidation corridor ceiling price |
| 3 | Corridor Low | Lower fractal consolidation corridor floor price |
Frequently asked questions
AIMS Gator is a visual trend filter displaying the classic Bill Williams Alligator ribbons and Purple Magic Line. AIMS Gator Advanced elevates this framework into an active signal generation engine: it features an interactive on-chart HUD dashboard, calculates consolidation corridors from fractal extremes, flags Saddle Point equilibrium zones, and projects automated breakout entry and stop-loss brackets.



