# AIMS The Hunt Settings & Parameter Reference

This reference covers the input parameters, filter gates, moving average thresholds, and notification options in **AIMS The Hunt** for MetaTrader 4.

***

## Input Parameters Reference[​](#input-parameters-reference "Direct link to Input Parameters Reference")

| Parameter             | Type     | Default      | Description                                                      |
| --------------------- | -------- | ------------ | ---------------------------------------------------------------- |
| `InpSerialKey`        | `string` | `""`         | DLMS licensing key for activation                                |
| `InpMaxPipsM1`        | `double` | `10.0`       | Maximum candle range in pips on M1 chart                         |
| `InpMaxATRRatio`      | `double` | `1.5`        | Maximum ratio of candle range to ATR(60) on higher timeframes    |
| `InpArrowSymbol`      | `int`    | `159`        | Wingdings character code for the plotted dot                     |
| `InpLookForBetter`    | `bool`   | `true`       | Require progressively better pullback prices on consecutive bars |
| `InpFilterPurple`     | `bool`   | `true`       | Filter signals by Purple Trend Line (SMMA 34, shift 21)          |
| `InpFilterGator`      | `bool`   | `true`       | Filter signals by Alligator Lips line (SMMA 5, shift 3)          |
| `InpFilterChannel`    | `bool`   | `false`      | Filter signals by outer envelope channel                         |
| `InpGatorPeriod`      | `double` | `5.0`        | Gator Moving Average Period                                      |
| `InpGatorShift`       | `double` | `3.0`        | Gator Moving Average Shift                                       |
| `InpChannelPeriod`    | `int`    | `60`         | Envelope Channel Period                                          |
| `InpChannelDeviation` | `double` | `0.1`        | Envelope Channel Deviation percentage                            |
| `InpAlertPop`         | `bool`   | `true`       | Display in-terminal popup alert                                  |
| `InpAlertPush`        | `bool`   | `false`      | Send mobile push notification                                    |
| `InpAlertEmail`       | `bool`   | `false`      | Send email notification                                          |
| `InpAlertSound`       | `bool`   | `false`      | Play audio chime                                                 |
| `InpSoundName`        | `string` | `"wait.wav"` | Audio file name                                                  |

***

## MQL4 Programmatic EA Integration[​](#mql4-programmatic-ea-integration "Direct link to MQL4 Programmatic EA Integration")

```
// Read Hunt Bull Dot (Buffer 0) and Bear Dot (Buffer 1) on closed bar 1

double bullDot = iCustom(Symbol(), Period(), "AIMS The Hunt", 0, 1);

double bearDot = iCustom(Symbol(), Period(), "AIMS The Hunt", 1, 1);



if (bullDot != EMPTY_VALUE && bullDot > 0.0)

{

   Print("Bullish Hunt Dot detected at price: ", bullDot);

}

else if (bearDot != EMPTY_VALUE && bearDot > 0.0)

{

   Print("Bearish Hunt Dot detected at price: ", bearDot);

}
```
