Parol EA March25 I would like to develop an Expert Advisor (EA) for fully automated trading on the MT4 platform. This EA should be compatible with gold or any currency pairs and should handle quotes with 2, 3, 4, or 5 decimal places. All input Settings with customizable; 1. Fast MA : 10 Simple close price 2. Slow Ma : 50 Simple Close price 3. Magic : 1111 4. Initial Lot size : .01 5. Take profits : 400 (TP and SL levels in points witout any adjustments of spread or any) 6. Stop Loss : 400 7. Martingale multiplier : 3 8. Maximum martingale step : 4 9. Time to start (GMT) : 00:00 (The Time should be GMT time, not server time or broker time) 10. Time to end (GMT) : 23:59 11. Oder Comment : customizable a) Additional settings for the control wrong trades (Optional); Take a break the new order executions while Major news events or high volatile market conditions. b) About signal Indicator; Buy : when Fast MA crosses above Slow MA Sell : When fast MA crosses below Slow MA c) Order direction Management; 1. The order direction pattern should alternate as buy → sell → buy → sell, and so on. To execute this pattern: 2. Start by following the initial signal to place the first order. For example, if the first signal is a buy, execute the buy order. 3. After closing the first buy order, wait for the next sell signal to place the sell order. Ignore any buy signals that may appear while waiting for the sell signal. 4. Once the sell order is closed, look for a new buy signal to execute the next order. Similarly, ignore any sell signals during this phase. 5. Ensure that there is only one active order at any time. Before placing a new order based on the signal indicator, verify that the current order is closed—either by take profit, stop loss, or manual intervention. Ignore all signals while an active order (with the specified magic number) remains open. d) More information about the Maximum martingale step (Max-step) and lot size management to limit the risk ; If the maximum number of steps is set to 4, the lot size progression will follow this pattern: Initial lot size: 0.01 (first step), Second step: 0.01 × 3 = 0.03, Third step: 0.03 × 3 = 0.09, Fourth step: 0.09 × 3 = 0.27. Thus, the trading lot sizes will be 0.01, 0.03, 0.09, and 0.27. The following rules apply for determining the lot size after an order is closed: If the initial lot size order closes with a profit, the next order will reset to the initial lot size (0.01). If the initial lot size order closes with a loss, the next order lot size will increase to 0.03. If a 0.03 lot size order closes with a profit, the next order will again reset to the initial lot size (0.01). If a 0.03 lot size order closes with a loss, the next order lot size will increase to 0.09. If a 0.09 lot size order closes with a profit, the next order will reset to the initial lot size (0.01). If a 0.09 lot size order closes with a loss, the next order lot size will increase to 0.27. Regardless of whether the fourth-step lot size (0.27) closes with a profit or loss, the next order will always reset to the initial lot size (0.01).