What AIMS Momentum does
Entering prematurely during choppy consolidations leads to whipsaw stopouts, while entering too late destroys risk-to-reward ratios. AIMS Momentum solves this by enforcing strict mechanical breakout gates: price must cleanly separate across the Alligator corridor, hold on the correct side of the Purple Magic Line, and print a verified Awesome Oscillator momentum shift on a closed candle.
4-Colour AO Candlestick Matrix
Colors candles Lime Green (bull impulse), Dark Green (bull pullback), Red (bear impulse), and Maroon (bear pullback), preventing false entries during deceleration.
Purple Magic Trend Gate
Enforces that long breakout signals only fire above the Purple Magic Line (SMMA 34) and short breakouts only below, eliminating counter-trend traps.
Forward-Projected Order Brackets
Projects horizontal entry and stop-loss price lines into future bars across 3 selectable risk modes (Candle Extreme, Alligator Jaws, or Fractal).
How to trade AIMS Momentum
Verify Structural Trend Corridor
Ensure Alligator lines are cleanly opened in trend sequence and price trades on the correct side of the Purple Magic Line.
Wait for Corrective Pullback
Look for corrective candles colored Dark Green or Maroon retracing into the Alligator Teeth corridor.
Trigger on Momentum Reversal
Wait for a candle to close crisp Lime Green (Buy) or Red (Sell) with a directional breakout arrow and plotted order bracket.
Deploy Execution Bracket & Manage
Enter via pending order at the Entry Line with stop at SL line. Bank initial profit at 1.0R 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 Momentum translates mathematical velocity shifts into actionable trend breakout setups.
| Setup | Context | What the indicator sees | Goal |
|---|---|---|---|
| Bullish Momentum Buy Trigger | Trend continuation after pullback | Candle closes Lime Green (AO >= 0 and rising) above Purple Magic with Gator expanded | Enter long via pending Buy Stop at Entry Line, banking +1.0R at first target |
| Bearish Momentum Sell Trigger | Downside continuation after pullback | Candle closes Red (AO < 0 and falling) below Purple Magic with Gator expanded | Enter short via pending Sell Stop at Entry Line, banking +1.0R at first target |
| Corrective Retracement Phase | Intra-trend breathing | Dark Green or Maroon candle pulling back toward Alligator Teeth line | Stand aside and prepare order brackets for the next momentum re-acceleration |
Lime Green candle (AO >= 0 and rising) above Purple Magic with Gator expanded.
Red candle (AO < 0 and falling) below Purple Magic with Gator expanded.
Dark Green or Maroon candle retracing into the Alligator Teeth corridor.
Price conflicting with Purple Magic Line or Alligator sleeping/entangled.
The Momentum-Shift Breakout Invariant
Mathematical criteria for confirmed trend acceleration on bar close.
BUY: State turns Bull Impulse AND Close > Purple AND Close > Lips > Teeth > Jaws SELL: State turns Bear Impulse AND Close < Purple AND Close < Lips < Teeth < Jaws

Settings
| Input | Type | Default | What it does |
|---|---|---|---|
| Show 4-Colour Candles | Boolean | true | Render Awesome Oscillator candlestick overlay. |
| Filter: Full Gator Expansion | Boolean | true | Require Lips > Teeth > Jaws (buy) or Lips < Teeth < Jaws (sell). |
| Filter: Purple Magic Line | Boolean | true | Require Close > Purple (buy) or Close < Purple (sell). |
| Show Buy/Sell Arrows | Boolean | true | Display directional breakout trigger arrows. |
| Show Entry & SL Lines | Boolean | true | Project active order execution bracket across future bars. |
| Stop Loss Method | String | Candle Extreme | Stop loss anchor mode: Candle Extreme, Gator Jaws, or Fractal. |
| Entry / SL Pip Buffer | Float | 1.0 | Entry and stop loss buffer distance in pips. |
| Input | Type | Default | What it does |
|---|---|---|---|
| InpSerialKey | string | "" | DLMS serial key license activation. |
| InpShowCandles | bool | true | Enable hardware-accelerated 4-colour candlestick overlay. |
| InpFilterGatorOpen | bool | true | Filter: Full Alligator corridor expansion. |
| InpFilterPurple | bool | true | Filter: Purple Magic macro trend line (SMMA 34, shift 21). |
| InpShowSignals | bool | true | Show directional Buy and Sell momentum trigger arrows. |
| InpBuyArrowCode | int | 241 | Wingdings character code for Buy arrow (Small Up ▲). |
| InpSellArrowCode | int | 242 | Wingdings character code for Sell arrow (Small Down ▼). |
| InpShowPriceLevels | bool | true | Show active entry and stop loss level lines. |
| Input | Type | Default | What it does |
|---|---|---|---|
| InpSerialKey | string | "" | DLMS serial key license validation. |
| InpShowCandles | bool | true | Toggle 4-colour Awesome Oscillator candlestick overlay. |
| InpFilterGatorOpen | bool | true | Require Alligator corridor to be opened in signal direction. |
| InpFilterPurple | bool | true | Enforce price alignment relative to Purple Magic Line (SMMA 34). |
| InpShowSignals | bool | true | Display directional signal arrows on chart. |
| InpShowPriceLevels | bool | true | Draw forward-projected entry and stop loss price lines. |
| InpSLMethod | enum | CANDLE_EXTREME | Stop Loss method: 0 = Candle Extreme, 1 = Gator Jaws, 2 = Fractal. |
| InpBufferPips | double | 1.0 | Entry and SL safety buffer in pips. |
| InpBracketBars | int | 6 | Number of future bars to extend active entry/SL level lines. |
Use it in your EA
On MetaTrader you can read the levels and setup state from an Expert Advisor with iCustom().
// MQL5 — Read AIMS Momentum signals and candle states on confirmed bar close
int h = iCustom(_Symbol, _Period, "AIMSMomentum");
double buyArrow[], sellArrow[], waveState[];
CopyBuffer(h, 4, 1, 1, buyArrow); // Buffer 4: Buy Momentum Signal arrow
CopyBuffer(h, 5, 1, 1, sellArrow); // Buffer 5: Sell Momentum Signal arrow
CopyBuffer(h, 0, 1, 1, waveState); // Buffer 0: Wave Open / State color array| Buffer | Name | Value |
|---|---|---|
| 0 | Wave Candles | Hardware candlestick open/high/low/close with 4-state color index |
| 1 | Buy Signal | Price value where bullish momentum arrow prints (EMPTY_VALUE if none) |
| 2 | Sell Signal | Price value where bearish momentum arrow prints (EMPTY_VALUE if none) |
| 3 | State Index | 0 = Bull Impulse, 1 = Bull Corrective, 2 = Bear Impulse, 3 = Bear Corrective |
Frequently asked questions
Entering prematurely during choppy consolidations leads to whipsaw stopouts, while entering too late destroys risk-to-reward ratios. AIMS Momentum solves this by enforcing strict mechanical breakout gates: price must cleanly separate across the Alligator corridor, hold on the correct side of the Purple Magic Line, and print a verified Awesome Oscillator momentum shift on a closed candle.



