Idea by: Scriptor.
MQL5 Code by: barabashkakvn.
Are you looking to enhance your GBPUSD trading strategy? The Alexav D1 Profit Expert Advisor (EA) for MetaTrader 5 might just be the tool you need. This EA opens up four positions with varying Take Profit levels. Once one position is closed by Take Profit, the remaining positions are automatically adjusted to breakeven. This cycle continues until all positions are closed with profit.
Input Parameters
- Lots - This defines the volume of each position.
- Moving Average: Averaging Period - Sets the period for the Moving Average indicator.
- RSI: Averaging Period - Configures the period for the RSI indicator.
- ATR: Averaging Period - Determines the period for the ATR indicator.
- Coefficient SL - This coefficient is used to calculate the Stop Loss (multiplied by the ATR value).
- Coefficient TP - This coefficient is used to determine the Take Profit (also multiplied by the ATR value).
RSI Levels
- RSIUpperLimit - BUY positions can be initiated when the RSI is between the RSIUpperLevel and RSIUpperLimit, ensuring that the RSIUpperLevel exceeds the RSIUpperLimit.
- RSIUpperLevel - Similar to the RSIUpperLimit, this parameter helps define the range for opening BUY positions.
- RSILowerLevel - This sets the range for opening SELL positions, ensuring the RSILowerLevel surpasses the RSILowerLimit.
- RSILowerLimit - Defines the lower boundary for SELL positions in conjunction with the RSILowerLevel.
MACD Settings
- Period for Fast Average Calculation
- Period for Slow Average Calculation
- Period for Averaging Their Difference
- MacdDiffBuy - The minimum difference required between the two bars to trigger a BUY signal.
- MacdDiffSell - The minimum difference required between the two bars to trigger a SELL signal.
Additional Settings
- Magic Number - This is the unique identifier for the EA, allowing you to manage multiple EAs without confusion.
Here's a sneak peek of the EA in action on the GBPUSD H1 chart:

Related Posts
- Unlocking the Potential of e_OnMA_004: A MetaTrader 4 EA for Smart Trading
- MAMACD: A Game-Changer for MetaTrader 5 Traders
- Harnessing MQL5 Wizard for Trading Signals: 3 Black Crows & 3 White Soldiers with MFI
- RRS Impulse: Your Go-To Scalping EA for MetaTrader 4
- Mastering NirvamanImax: Your Go-To EA for MetaTrader 4