Pauls MACD EA
Logic:
- Trend-Following:
- The EA uses the MACD indicator to determine the trend and entry points. The EA calculates the MACD values on both the current and higher timeframes to confirm the trend direction.
- Buys are executed when the MACD line crosses above a certain threshold, indicating a bullish trend. Sells are executed when the MACD line crosses below a certain threshold, indicating a bearish trend.
- Martingale:
- The EA has an option to use a lot size multiplier, increasing the lot size for subsequent trades if the previous trade was not profitable. This strategy is known as Martingale and aims to recover losses from previous trades by increasing exposure.
- Level Trading:
- The EA sets multiple levels for trade entries, using either a fixed increment or a multiplier to determine the lot sizes for these levels. The EA also considers the range between these levels to decide when to enter additional trades.
Order Management:
- The EA manages trades with optional stop loss and take profit levels, either in standard mode or in stealth mode where these levels are not visible to the broker.
- It can also use a daily profit target to stop trading once the profit goal is reached.