Skip to content
All library documents

Puria Method: Moving Average Alignment with MACD Confirmation

Article MQL5 code base

Summary

This expert advisor implements a Puria-style system using one fast moving average, two slower moving averages, and MACD confirmation. Its described sell setup occurs when the fast average moves above both slower averages, subject to a minimum separation measured in points, and MACD confirms the signal. The advisor can evaluate on every tick or only when a new bar appears, and it allows just one open position at a time.

The implementation also supports partial position closure, moving the stop to breakeven after a minimum profit threshold, and calculating an initial lot size for a specified risk. The document mentions an EURUSD, 30-minute test but supplies no results or details sufficient to assess it. It describes sell logic and does not establish profitability, robustness across markets, or the rationale for the indicator thresholds.

Key ideas

  • The system combines a fast moving average, two slower averages, and MACD confirmation.
  • Its stated sell signal requires the fast average to exceed both slower averages by a minimum point distance.
  • The advisor can process every tick or wait for a new bar and permits one position at a time.
  • Partial exits, breakeven adjustment, and risk-based initial lot sizing are included.
  • The cited EURUSD test has no reported performance results.

Tags

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