Skip to main content
|View as Markdown||

AIMS Bubble EA — Settings & Parameter Reference

The AIMS Bubble EA uses the standardized 3-Bucket Architecture to separate user operations from broker safeguards and invariant methodology constants.


Bucket 0: License & Authentication​

ParameterTypeDefaultDescription
InpSerialKeystring""Customer DLMS serial authorization key. Automatically bypassed in MT4 Strategy Tester.

Bucket 3: Strategy Operational Toggles​

ParameterTypeDefaultDescription
InpAutoDetectProfilebooltrueAuto-detects chart symbol (NAS100, US30, GER40, GBPJPY, XAUUSD, etc.) and isolates magic numbers.
InpStrategyModeenumBUBBLE_MODE_BOTHStrategy execution mode: 0 = Reversals Only, 1 = SnapBack Only, 2 = Both.
InpTrailingMethodenumBUBBLE_TRAIL_MIDLINETrailing Stop model: 0 = 20 EMA Midline, 1 = Alligator Teeth, 2 = ATR, 3 = None.
InpMaxOpenRunnersint2Maximum concurrent runner positions permitted (only added once prior trade is Free).
InpUseSessionFilterbooltrueRestricts order placement to active trading hours.
InpSessionStartstring"08:00"Daily session window start (Server Time, HH:MM).
InpSessionEndstring"17:30"Daily session window end (Server Time, HH:MM).

Bucket 1: Execution & Broker Safeguards​

ParameterTypeDefaultDescription
InpUseRiskPercentbooltrueSizes position dynamically to risk a fixed percentage of equity.
InpRiskPercentdouble1.0Risk percentage per trade (e.g. 1.0% of account equity).
InpFixedLotdouble0.10Static fixed lot size used if InpUseRiskPercent is set to false.
InpMaxSpreadPipsdouble25.0Spread guard: rejects entries if current broker spread exceeds this threshold.
InpSlippagePointsint30Maximum allowable slippage points during order execution.
InpMagicNumberint108200EA Identification magic number (auto-offset when InpAutoDetectProfile is true).

Locked Methodology Invariants (Zero Parameter Bloat)​

To prevent curve-fitting, the following methodology parameters are locked as immutable constants inside the EA:

  • InpUseFreeTrade = true: Always banks 50% partial position at $+1.0R$.
  • InpMoveToBEAt1R = false: Never moves Stop Loss to premature break-even.
  • InpTakeProfitR = 0.0: No artificial Take Profit ceiling; rides full macro trend.
  • InpFilterMaxATR = true: Setup rejected if entry-to-SL distance exceeds 2.5x ATR.
  • InpPendingExpiryBars = 3: 3-bar pending order expiration.
  • InpMidlinePeriod = 20, InpContainmentMult = 2.25, InpCentreMult = 1.0.