The Expert Advisor is based on the standard MACD indicator.
It uses Martingale, but deals are closed not by the total profit, but by the indicator signals to avoid long holding of open positions and limit losses.
The EA is a scalper. It is configured to trade AUDUSD H1.
Settings for different pairs are available in comments.
- MACD - Fast_ema_period
- MACD - Slow_ema_period
- MACD - Signal_period
- HighLevel - Level to calculate the virtual stoploss
- LowLevel - Level to calculate the virtual stoploss
- LotsMM - Volume of orders
- DepositForLot - LotsMM is added to each value. For example DepositForLot = 500, LotsMM = 0.1, so for every $500 earned (if the deposit currency is USD) 0.1 lot will be added
- MaxOrders - The maximum number of orders in a series
- MinDistance - The minimum distance between orders
- StopLoss - Stop Loss Level
- TakeProfit - Take Profit Level
- lot coefficient - Lot multiplier