Moving Average Multi-Currency EA: Comprehensive User Guide, Backtest Results, and Optimized Set Files

Introduction The Moving Average Multi-Currency EA utilizes a dual Moving Average (MA) strategy to identify trends and execute trades based on the comparison between two MAs. It is designed with configurable parameters, such as timeframe, period, shift, method, and applied price, to adapt to various market conditions. Additionally, the EA supports advanced features like grid recovery, hedging, martingale strategies, position sizing, and day/time filters, making it versatile for different trading strategies.
MT4 Version is available here Moving Average Multi Currency EA MT4
MT5 Version is available here Moving Average Multi Currency EA MT5
Features Overview
-
Multi-Currency Trading
- Monitor and trade multiple currency pairs at once.
- Example: EURUSD, GBPUSD, USDJPY.
-
Dual Moving Average Strategy
- Trade based on the crossover between two moving averages.
- The EA compares short-term and long-term trends to determine entry and exit points.
-
Recovery Strategies
- Grid Recovery: Adds trades in a grid pattern to recover losses.
- Hedge Strategy: Opens counter trades to manage risk.
- Martingale Strategy: Increases trade size progressively to recover losses.
-
Position Sizing
- Adjustable position sizing based on fixed lot size or percentage risk.
-
Filters
- Day Filter: Enable or disable trading on specific weekdays.
- Time Filter: Restrict trading to certain times of the day.
-
Alerts and Notifications
- Notifications sent for trade signals and important events.
Input Parameters
Core Indicator Settings
Moving Average 1 Settings
- MA1_TIMEFRAME: Select the timeframe for MA 1 calculation.
- Default: PERIOD_CURRENT .
- MA1_MODE: Select the MA method for MA 1 (Simple, Exponential, Smoothed, Linear Weighted).
- Default: MODE_EMA .
- MA1_PERIOD: Defines the period for MA 1 calculation.
- Default: 10 .
- MA1_SHIFT: Set the shift for the MA line.
- Default: 0 .
- MA1_APPLIED_PRICE: Select the price type for MA 1 calculation (Close, Open, High, Low).
- Default: PRICE_CLOSE .
Moving Average 2 Settings
- MA2_TIMEFRAME: Select the timeframe for MA 2 calculation.
- Default: PERIOD_CURRENT .
- MA2_MODE: Select the MA method for MA 2 (Simple, Exponential, Smoothed, Linear Weighted).
- Default: MODE_EMA .
- MA2_PERIOD: Defines the period for MA 2 calculation.
- Default: 30 .
- MA2_SHIFT: Set the shift for the MA line.
- Default: 0 .
- MA2_APPLIED_PRICE: Select the price type for MA 2 calculation (Close, Open, High, Low).
- Default: PRICE_CLOSE .
Multi-Currency Settings
- Pairs:
- A comma-separated list of currency pairs to trade.
- Example: EURUSD, GBPUSD, USDJPY .
Group Stop-Loss/Take-Profit Settings
- Group Stop-Loss (in Currency):
- Close all trades if the combined loss across all pairs reaches this value.
- Default: -100.0 .
- Group Take-Profit (in Currency):
- Close all trades if the combined profit across all pairs reaches this value.
- Default: 100.0 .
Additional Features
- Refer to the EA’s settings for additional configurations related to:
- Grid Recovery
- Hedge Strategy
- Martingale Strategy
- Day and Time Filters
- Position Sizing
- Alerts and Notifications
How It Works
- The EA compares two moving averages (MA1 and MA2) on each specified currency pair.
- A buy signal occurs when MA1 crosses above MA2, while a sell signal occurs when MA1 crosses below MA2.
- Recovery strategies (Grid, Hedge, Martingale) are applied to manage losses or risk, as configured.
- Trades are monitored for cumulative profit or loss. If the stop-loss or take-profit for all trades is met, the EA closes all positions across all pairs.