Skip to content
All library documents

Gold Expert Advisor Combines Neural Signals with Adaptive Risk Controls

Article MQL5 code base

Summary

The document describes an Expert Advisor for XAUUSD that combines a price dynamics filter, an online-learning neural network, and volatility-based risk management. Its market-state component derives velocity from price changes and an entropy-like measure from spread and volume, then smooths a causal-direction score to determine when the system should stand aside. The neural component is described as confirming direction and guiding take-profit and stop-loss levels, though its inputs and training procedure are not fully specified.

Risk and trade management include lot sizing by fixed amount or risk percentage, ATR trailing stops, early exits when neural confidence falls, and automatic closing at a configured reward-to-risk threshold. Spread limits, cooldowns, and a one-position-per-bar rule are intended to constrain entries. The document offers implementation excerpts and configuration claims but no backtest, live record, or independent evidence of effectiveness. Its stated timeframe and capital suggestions do not establish suitability or expected returns.

Key ideas

  • The EA targets gold and combines price dynamics measures with an online neural network for trade direction and exit guidance.
  • Its risk controls include ATR-based trailing stops and lot sizing based on stop distance and account risk settings.
  • Positions may close at a configured reward-to-risk target or when neural confidence weakens.
  • Spread, cooldown, and entry-frequency filters are designed to limit unnecessary trades.
  • The document provides no performance testing or independent evidence that the approach is profitable.

Tags

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