Skip to content
All library documents

Gold Recovery EA Combining RSI Filters, ATR Spacing, and Basket Management

Article MQL5 code base

Summary

This document outlines an expert advisor intended for XAUUSD on a 15-minute chart. It combines RSI entry filtering with recovery entries spaced according to ATR, plus market-structure checks based on lower lows, lower highs, and support conditions. Position sizing can use fixed lots or balance-based compounding. The described controls include basket profit targets, trailing of basket profits, and an optional trimming feature.

Risk and operating protections include spread and slippage checks, equity-loss limits, pauses after crash-like movements, and optional news filtering from a calendar, a CSV file, or both. A chart dashboard reports recovery and system status, and many parameters are configurable. The document provides a feature description rather than code, test results, or evidence of profitability. Recovery approaches can accumulate exposure as positions are added, and the description does not quantify drawdown or other risks; it explicitly makes no guarantees and recommends testing in a strategy tester and on a demo account before live use.

Key ideas

  • The EA filters entries with RSI and adapts recovery spacing to ATR.
  • It checks market structure and support conditions before recovery entries.
  • Sizing options include fixed lots and balance-based compounding.
  • Basket targets, trailing, and optional trimming manage groups of positions.
  • Spread, slippage, equity-loss, crash-movement, and news controls are described, but no performance evidence is provided.

Tags

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