Building and Optimizing a MACD and Envelopes Bounce Strategy
Summary
The article shows how to build an Expert Advisor around a trend filter and channel-boundary entries. It uses daily MACD movement over consecutive bars to determine direction, then looks for hourly price rebounds from Envelopes. Stop loss, take profit, trailing stop, and risk are configurable. The author describes optimizing stop-loss and take-profit settings first, followed by the Envelopes period and deviation, and suggests testing alternative trend indicators, bands, timeframes, and entry or exit rules.
A EURUSD Strategy Tester example reports improved results after parameter optimization, including periods with strong gains and others with losses. Tests across overlapping three-month intervals show substantial variation, including losing windows, so the reported optimization is not evidence of stability. The article encourages testing over longer intervals and frames the EA as a quick implementation template; the results depend on the sample period and selected settings.
Key ideas
- The strategy combines a daily MACD direction filter with hourly entries on rebounds from Envelopes.
- The EA includes configurable stops, targets, trailing stops, and risk settings.
- The article optimizes risk controls and Envelopes parameters in successive stages.
- Alternative indicators, timeframes, and trade conditions can be tested within the same framework.
- Results vary sharply across test intervals, so the optimized example needs validation over longer periods.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.