Skip to content
All library documents

MAMy Expert: Moving-Average Signals from Close, OHLC4, and Open

Article MQL5 code base

Summary

MAMy Expert is an expert advisor based on the MAMy v3 indicator. It compares moving averages calculated from the close, the average of open, high, low, and close (OHLC4), and the open. It opens a long position when the close-based average is above the OHLC4 average and the OHLC4 average is above the open-based average; it opens a short position when that ordering is reversed. The rules close an existing position when the close-based average crosses the OHLC4 average in the opposing direction.

The document gives an EUR/USD hourly-chart example but reports no backtest, returns, risk controls, position sizing, or execution details. It is therefore a description of indicator-based entry and exit logic rather than evidence of a profitable strategy. The calculation periods and other operational parameters are not specified in the text, limiting how precisely the rules can be reproduced.

Key ideas

  • The expert advisor uses moving averages of close, OHLC4, and open prices to generate signals.
  • A long signal requires the close average to exceed the OHLC4 average, which must exceed the open average.
  • A short signal uses the reverse ordering, and a close average crossing the OHLC4 average can exit a position.
  • The post gives an EUR/USD hourly example but no performance evaluation or key operating parameters.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.