Skip to main content
|View as Markdown||

AIMS The Fruit Settings & Parameter Reference

This reference documents every input parameter, filter toggle, alert setting, and buffer index available in AIMS The Fruit for MetaTrader 4.


Core Input Parameters​

ParameterTypeDefaultDescription
InpSerialKeystring""DLMS licensing serial key for terminal activation
InpSellArrowint238Wingdings character code for bearish signal arrow (Down arrow)
InpBuyArrowint236Wingdings character code for bullish signal arrow (Up arrow)

Advanced Filter Hierarchy​

AIMS The Fruit includes a modular 5-tier filter pipeline that eliminates low-probability Divergent Bars in choppy or ranging market conditions:

ParameterTypeDefaultDescription
InpFilterAIMSbooltrueFractal Filter: Bull Fruit requires price to breach the previous lower fractal; Bear Fruit requires price to breach the previous upper fractal.
InpFilterAwesomebooltrueAO Momentum Confirmation: Bull Fruit requires AO momentum to decelerate (not rising aggressively into the low); Bear Fruit requires AO momentum to not be falling.
InpFilterGatorbooltrueAlligator Clearance: Enforces clean angulation by requiring the high (for Bull Fruit) or low (for Bear Fruit) to be completely separated from Lips, Teeth, and Jaw lines.
InpFilterNoMansLandboolfalseNo Man's Land Filter: Validates that price action is situated within the active expansion corridor between the Alligator and the primary trend envelope.
InpFilterMOboolfalseMarket Open Filter: Suppresses counter-trend signals that directly violate the active trading session's opening benchmark level.
InpShowMOboolfalsePlots a horizontal benchmark line at the designated Market Open session anchor.
InpMOTimeint8UTC hour defining the Market Open anchor benchmark (default: 08:00 UTC London Open).

Alert & Notification Settings​

ParameterTypeDefaultDescription
InpAlertPopbooltrueDisplay in-terminal alert pop-up window upon candle close signal confirmation
InpAlertSoundboolfalsePlay audible sound notification on valid signal
InpSoundNamestring"wait.wav"Audio file name located in the MT4 Sounds directory
InpAlertPushboolfalseSend instant mobile push notification to MetaTrader mobile app
InpAlertEmailboolfalseSend email notification via MT4 SMTP configuration

Indicator Buffers & Technical Integration​

When accessing AIMS The Fruit programmatically or via custom Expert Advisors using iCustom():

Buffer IndexBuffer NameTypeEmpty ValueDefault ColorDescription
0Bear FruitArrowEMPTY_VALUEclrFireBrickPlotted above candle high for valid Bearish Divergent Bars
1Bull FruitArrowEMPTY_VALUEclrDodgerBluePlotted below candle low for valid Bullish Divergent Bars
2Market OpenLineEMPTY_VALUEclrSlateGrayOptional horizontal reference level for London/Session open

MQL4 Integration Example​

// Read Bull Fruit signal on bar 1 (previous closed bar)
double bullFruit = iCustom(Symbol(), Period(), "AIMS The Fruit", 1, 1);
if (bullFruit != EMPTY_VALUE && bullFruit > 0.0)
{
Print("Bullish Fruit detected at price: ", bullFruit);
}

// Read Bear Fruit signal on bar 1
double bearFruit = iCustom(Symbol(), Period(), "AIMS The Fruit", 0, 1);
if (bearFruit != EMPTY_VALUE && bearFruit > 0.0)
{
Print("Bearish Fruit detected at price: ", bearFruit);
}