Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Expert Advisor | MAMy Expert

The author of the idea: Victor Chebotariov

MQL5 code author: barabashkakvn

The EA is based on  MAMy v3 indicator and implements the following conditions:

  1. If MA Close exceeds MA (H+L+O+C)/4, while MA (H+L+O+C)/4 exceeds MA Open - BUY.
  2. If MA Close is less than MA (H+L+O+C)/4, while MA (H+L+O+C)/4 is less than MA Open - SELL.
  3. If MA Close exceeds MA (H+L+O+C)/4 - CLOSE SHORT POSITION.
  4. If MA Close is less than MA (H+L+O+C)/4 - CLOSE LONG POSITION.

Example for EURUSD H1:

MetaTrader Experts, Indicators, Scripts and Libraries

22578