Skip to content
All library documents

A MACD and Parabolic SAR Expert Advisor with Weighted Signals

Article MQL5 code base

Summary

The document describes an MQL5 Wizard Expert Advisor that combines MACD signals with the Parabolic SAR trend indicator. The system evaluates signals when a new bar appears and assigns the two indicators different weights: MACD receives the larger weight in the listed configuration. Inputs include thresholds for opening and closing positions, trade price offsets, stop loss and take profit distances, pending order expiration, and the periods and parameters used by each indicator. Price offsets determine whether the order is placed at market or as a pending stop or limit order.

The source identifies a EURUSD, 15 minute test period and starting deposit, but it gives no readable performance statistics or account curve in the supplied text. It therefore does not establish profitability, robustness, or suitability for live trading. The configuration values are examples rather than universal settings, and outcomes would depend on execution assumptions, costs, market regime, and parameter choices. The document gives a strategy structure and inputs, not enough evidence to judge its results.

Key ideas

  • The Expert Advisor combines MACD signals with Parabolic SAR trend signals.
  • The described system checks for signals at the start of a new bar.
  • Its listed configuration gives MACD a greater signal weight than Parabolic SAR.
  • Inputs control entry and exit thresholds, order placement, protective levels, and pending order lifetime.
  • The source mentions a historical EURUSD test but provides no performance results in the supplied text.

Tags

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