Robust robot with several configurations available,
Use with BTC on a 10-minute timeframe with the settings in the screenshot below.
When purchasing the expert robot, you have the right to request modifications to continue improving the bot.
This MetaTrader 5 (MT5) Expert Advisor (EA) script is designed to automate trading based on moving average crossovers, with additional features like Martingale, trailing stops, time management, and money/margin management. Below is a breakdown of the key components and functionality of the script:
Moving Average Crossover Strategy:
The EA uses two moving averages (fast and slow) to generate trading signals.
A crossover of the fast MA above the slow MA generates a buy signal, and a crossover below generates a sell signal.
The reverseSignal input allows reversing the signals if needed.
Martingale System:
The EA monitors the fast and slow moving averages for crossovers.
When a crossover occurs, it checks if trading is allowed based on time and day settings.
If the price touches the fast MA (if enabled), it opens a trade in the direction of the crossover.
The EA manages open positions by applying trailing stops or moving average trailing stops.
If a trade results in a loss, the Martingale system increases the lot size for the next trade.
The EA retries opening a trade if the initial attempt fails due to distance constraints.
If a trade results in a loss, the lot size is increased by the martingaleMultiplier .
The maxMartingale parameter limits the number of consecutive Martingale steps.
Trailing Stop:
The EA can apply a trailing stop to lock in profits as the price moves in favor of the trade.
The trailing stop distance and step can be configured.
Moving Average Trailing Stop:
A trailing stop based on a moving average can be applied after the trade reaches a certain profit threshold ( maTrailingStopActivation ).
Time Management:
The EA can restrict trading to specific hours and days of the week using the Time Manager Settings .
Money and Margin Management:
The EA checks available margin and resets the Martingale sequence if there are insufficient funds.
Lot sizes are adjusted to comply with the broker's minimum and maximum lot size requirements.
Price Touch MA:
The EA can wait for the price to touch the fast MA before opening a trade, ensuring confirmation of the signal.
Stop Loss and Take Profit:
Stop loss and take profit levels are adjustable and validated to ensure they comply with broker requirements.
Retry Mechanism:
If a trade is not opened due to distance constraints, the EA can retry opening the trade when the price moves a specified distance ( retryDistance ).
Error Handling:
The script includes checks for valid lot sizes, margin requirements, and trading permissions.
The script is highly customizable through input parameters, including:
Moving Average Settings: Fast and slow MA periods, method (SMA, EMA, etc.).
Trade Settings: Lot size, Martingale multiplier, stop loss, take profit, etc.
Time Manager Settings: Trading hours and days.
Trailing Stop Settings: Distance and step for trailing stops.
Money and Margin Management: Enable/disable margin checks and Martingale reset.
Price Touch MA Settings: Enable/disable price touch confirmation.
If for any reason you do not like the purchased program, you can request a refund within 30 days from the date of purchase. You can also make an exchange for any other product at an equal cost or by paying the difference.
Simply send a request for refund or exchange with your order number by email: support@fx-market.pro.
Refund requests received more than 30 days after purchase will be rejected.