Unlocking EA_MALR: A Comprehensive Guide to the MetaTrader 5 Expert Advisor

Mike 2012.12.12 22:13 33 0 0
Attachments

Meet the EA_MALR, your go-to Expert Advisor for MetaTrader 5, built around the MALR indicator. This powerful tool offers features like trailing stops, lot size adjustments, position averaging, and reversal options to help you navigate the trading landscape.

The EA_MALR Expert Advisor is designed using the MALR indicator (author unknown). It triggers a sell when the price crosses below the MALRHH line (the uppermost line) and a buy when it crosses above the MALRLL line (the lowest line).

This EA comes packed with features that enhance your trading strategy:

  • Position averaging based on new signals.
  • Position reversal when the signal switches direction.
  • Trailing stop with customizable settings.
  • Lot size adjustments based on predefined equity drawdown.

Testing Results: Since 2000, on the EURUSD pair with an initial lot of 0.10 and a deposit of $10,000, using a leverage of 1:500 on a MetaQuotes-Demo account.

Below, you can see charts comparing strategies with and without lot size adjustments.

Averaging and reversal functions are not activated; only Stop Loss and Take Profit settings are in play.



Averaging function enabled (reversal function disabled).



Reversal function enabled (averaging function disabled).



Both averaging and reversal functions enabled.



The EA has built-in safeguards to protect against data loss caused by network interruptions, bond cuts, or restarts.

Main Settings:

  • sl/tp: Set after opening a trade.
  • N_modify_sltp: Number of attempts to set Stop Loss/Take Profit on unsuccessful trades.
  • use_Averaging: Enable averaging at a defined loss (loss_forAveraging) in points, with additional basic lot openings for new signals.
  • loss_forAveraging: Points in loss from the previous open price (last averaging).
  • Position_overturn: Reversal of position when the indicator signal changes. The lot size is multiplied by the reversal coefficient (koff_multiplication).
  • use_increase: Adjust lot size according to the specified drawdown (Max_drawdown) during openings and averaging.
  • Trail_StopLoss: Enable trailing stop in points (trail). The trailing stop is maintained during reversals and averaging.
  • Activate_by_profit: Enable trailing stop at a set profit in points (profit) from open price. In averaging scenarios, the open price equals the average of all openings.
List
Comments 0