Skip to content
All library documents

A GBP/USD Trend EA Using Moving Averages, MACD, and CCI

Article MQL5 code base

Summary

This description outlines a MetaTrader expert advisor for GBP/USD that enters trades using two moving averages together with MACD and CCI. After opening a position, it sets take-profit and stop-loss levels, moves the stop to breakeven as the trade develops, and then uses a trailing stop. The system allows indicator settings to be adjusted and includes an option to restrict entries by weekday and terminal-time hours.

The EA holds only one market position at a time and ignores new signals until that position closes. The page refers to historical tests and a short live cent-account period but gives no numerical results in the text, so performance cannot be assessed from this description. It warns of losses during prolonged flat markets, volatility changes, and exceptional events, and notes that behavior may vary across account types. Its parameters and stated results are specific to the listed pair and settings.

Key ideas

  • The EA combines two moving averages with MACD and CCI to generate trend trades.
  • It uses take-profit and stop-loss orders, then may move the stop to breakeven and trail it.
  • Only one market order is held, so later signals are skipped until it closes.
  • Entry permissions can be filtered by weekday and terminal-time hours.
  • The author warns that flat markets, volatility shifts, and exceptional events can cause substantial losses.

Tags

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