The Apple EA Inputs Description – Trading Systems – 26 September 2024
Here is a complete description of the input settings for the trading robot, “The Apple,” organized by category.
***** Pairs Setting *****
- These are the symbols that the robot will trade. You can customize the list based on your preference.
**Suffix**:
- This setting allows you to specify any suffix added by your broker to the symbol names, such as “.m” or “.pro”.
**Prefix**:
- This allows for adding a prefix to symbol names if your broker uses them (e.g., “fx_” for “fx_GBPAUD”).
### ***** EA Setting *****
– **Magic Number**: 31125
- This is a unique identifier for the trades opened by “The Apple” bot, ensuring no interference with trades from other robots.
– **EA Commentary**: “The Apple Bot”
- Commentary that will appear in the trade history to identify the bot responsible for the trades.
### ***** Main Setting *****
– **Direction of Trade**: Both_trade
- Specifies whether the robot can open both buy and sell trades or restrict it to a single direction.
– **Only One Trade Per Symbol**: True
- Limits the robot to opening only one trade per symbol at a time, reducing exposure to the market.
– **Trade on Friday**: True
- Allows the robot to trade on Fridays. This can be toggled off to avoid weekend gaps.
– **Closing Weekend**: -1
- Set to close open positions before the weekend. A value of `-1` means this feature is disabled.
– **Maximum Number of Positions**: 99
- Limits the total number of open positions at a time across all pairs.
– **Maximum Spread of Position**: 500
- Maximum allowable spread (in points) for the robot to open a trade, preventing trades during volatile conditions.
### ***** AI Filter Setting *****
– **AI Filter**: True
- Enables an AI filter based on bull/bear market conditions.
– **AI Deviation**: 2
- Sets the deviation for the bear market filter intensity.
– **AI Intensity**: 2
- Sets the intensity for the bull market filter intensity.
– **AI Timeframe**: H4
- The timeframe used by the AI filter to determine market trends.
### ***** Risk Setting *****
– **Lot Calculation Method**: Balance_lot_size
- The method used to determine lot size. In this case, it is based on the account balance.
– **Balance Risk**: 1%
- The percentage of the balance used for calculating risk.
– **Fixed Lot Size**: 0.5
- If fixed lot sizing is enabled, the robot will use a lot size of 0.5 per trade.
– **Currency Amount Value**: 10
- Lot size determined by currency amount.
– **Minimum Lot Size**: 0.01
- The smallest lot size the robot will use when trading.
– **Maximum Lot Size**: 50
- The largest lot size the robot can trade.
– **Takeprofit Multiplier**: 1
- Take-profit value is multiplied by this ratio.
– **Stoploss Multiplier**: 1
- Stop-loss value is multiplied by this ratio.
### ***** Martingale Setting *****
– **Martingale**: False
- Whether the martingale system is enabled or not.
– **Takeprofit Type**: Average
- Defines how take-profit is calculated in the martingale system (average of positions).
– **Start Method (Martingale)**: ATR_based
- Method used to determine when to open additional trades for martingale (based on ATR).
– **ATR Period**: 8
- The period for the ATR (Average True Range) used in the martingale strategy.
– **ATR Multiplier**: 2.5
- ATR multiplier used to calculate the pip distance between martingale entries.
– **ATR Timeframe**: H12
- The timeframe for ATR calculations.
– **Martingale on Candle**: True
- Martingale will only execute on new candle bars.
### ***** Martingale Additional Setting *****
– **Martingale Signal Continue**: False
- Martingale will only continue if a signal is detected.
– **RSI Timeframe**: Current
- The timeframe used for the RSI-based martingale signal.
– **RSI Period**: 14
- Period used for RSI calculations in the martingale system.
– **RSI Low Value**: 20
- The low threshold for RSI to trigger trades.
– **RSI High Value**: 80
- The high threshold for RSI to trigger trades.
– **RSI Reverse Martingale**: False
- Defines whether to reverse the martingale strategy based on RSI signals.
### ***** Martingale Profit Calculation Setting *****
– **Profit Type**: usd_percent
- The profit type used for martingale closures (based on percentage of balance or USD).
– **Total Profit (Cash)**: 1
- The amount of profit in USD that triggers a martingale closure.
– **Total Profit (Percent)**: 0.5
- Percentage of balance that triggers a martingale closure.
### ***** Drawdown Setting *****
– **Close Open Trades**: False
- Whether to close open trades when maximum drawdown is reached.
– **Account Balance**: 10,000
- The initial account balance used for drawdown calculations.
– **Maximum Drawdown**: -1
- The maximum allowable drawdown before closing positions (if enabled).
– **Max Daily Loss**: -1
- The maximum daily loss allowed, expressed in account currency.
– **FTMO Randomizer**: False
- Enables a random pip value added to take-profit and stop-loss orders for Prop Firm trading.
—
MT5 Version : https://www.mql5.com/en/market/product/118806