Strategy & Execution Architecture
AIMS Gator Advanced EA automates market expansion trading following structural compression. It operates on the principle that the most reliable directional trends originate from periods when the Alligator has been sleeping (order accumulation) and equilibrium is broken.
1. Structural Signal Detection & Corridor Architecture
The Volatility Compression Phase
The Alligator lines (Lips 5/3, Teeth 8/5, Jaws 13/8) and Purple Magic line (34/21 SMMA) periodically compress into narrow bands, indicating institutional order accumulation and low market volatility.
Corridor Boundary Calculation
- Consolidation Corridor Boundaries:
- Calculated via
FindOutermostFractals()over the previous lookback window (default: 60 bars). - Upper Corridor Level: Outermost Upper Fractal High +
Buffer (pips). - Lower Corridor Level: Outermost Lower Fractal Low -
Buffer (pips).
- Calculated via
- Directional vs. Straddle Classification:
- Saddle Point Equilibrium: When Lips, Teeth, Jaws, and Purple Magic lines are intertwined within threshold distance (
< InpSleepThresholdATR), market probability is 50/50. The EA deploys a Dual Straddle (Buy Stop at upper boundary, Sell Stop at lower boundary). - Sleeping Bull Watch: Gator is sleeping above Purple Magic (
Teeth >= Purple). Only Buy Stop orders are queued. - Sleeping Bear Watch: Gator is sleeping below Purple Magic (
Teeth <= Purple). Only Sell Stop orders are queued.
- Saddle Point Equilibrium: When Lips, Teeth, Jaws, and Purple Magic lines are intertwined within threshold distance (
2. Order Lifecycle & Execution Mechanics
Dynamic Corridor Tracking
Unlike static breakout systems that fix pending orders at stale levels, the EA actively synchronizes pending orders with shifting market structure on every bar close:
- Dynamic Price Modification: If fractal highs or lows tighten or widen while the Gator remains sleeping, pending stop prices and associated Stop Loss levels are dynamically modified.
- State Invalidation: If the market drifts out of sleeping/saddle-point state into open trending or chop without triggering pending orders, the orders are purged immediately to prevent stale fills.
3. The AIMS Free Trade Concept
Standard breakout trading often suffers from whipsaws when Stop Loss is moved prematurely to Break-Even (+0.0), terminating winning trades during routine pullbacks.
The AIMS Free Trade concept resolves this mathematically:
- At Order Entry: Total risk is sized to
1.0R(calibrated to1.0%of account equity). - At +1.0R Target: The engine closes 50% of the position volume, realizing
+0.5Rnet profit in cash. - Runner Protection: The remaining 50% runner keeps its structural Stop Loss. Even in the worst-case scenario where price reverses and hits the original stop:
Realized from First Half = +0.5RRisk on Runner Half = -0.5RNet Trade Outcome = (+0.5R) + (-0.5R) = 0.0R (Risk Free)
- Dynamic Trailing: Once Free Trade is secured, the runner trails behind the Alligator Red line (Teeth 8/5) or Blue line (Jaws 13/8) to ride extended trend runs.