The author of the idea:Β
MQL5 code author:
The EA is based onΒ Β MAMy v3 indicator and implements the following conditions:
- If MA Close exceeds MA (H+L+O+C)/4, while MA (H+L+O+C)/4 exceeds MA Open – BUY.
- 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.
- If MA Close exceeds MA (H+L+O+C)/4 – CLOSE SHORT POSITION.
- If MA Close is less than MA (H+L+O+C)/4 – CLOSE LONG POSITION.
Example for EURUSD H1: