Skip to content
All library documents

Forex Trend-Consolidation Strategy with Moving-Average Signals

Article ProRealCode

Summary

This post describes a EUR/USD and GBP/USD strategy that seeks entries during pullbacks within an established intraday trend. It uses 5-period and 8-period Wilder averages alongside an 89-period simple average. During an early-day window, the averages must be ordered and sloping in the same direction; later, a close crossing the 8-period average triggers an entry in the trend direction. Positions are closed at 21:00, with a stated stop loss and profit target of 0.0030. Position size is fixed by default, with an optional formula tied to accumulated strategy profit.

The author says the approach was modified after an initial version did not work and reports that it was effective over the prior ten years, but supplies no backtest results, dates, costs, or validation method. The post also says it did not work before that period. The code’s short-entry order appears to use a buy instruction, so the implementation may not match the stated short logic. The claims therefore need independent testing, including checks of order direction, time-zone assumptions, and trading costs.

Key ideas

  • The strategy uses moving-average ordering and slope to identify an intraday trend.
  • Entries are triggered by a later close crossing the 8-period average against the trend direction.
  • The stated markets are EUR/USD and GBP/USD, with positions closed at 21:00.
  • The author reports a limited period of effectiveness but provides no supporting performance data.
  • The short-side order instruction may not implement the described selling logic.

Tags

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