An MQL5 Expert Advisor for scalping XAUUSD using Stochastic crossover signals with integrated risk management.
Find a file
2025-09-07 23:40:45 +00:00
README.md Add README.md 2025-08-31 23:28:12 +00:00
StochasticScalper.mq5 Update StochasticScalper.mq5 2025-09-07 23:40:45 +00:00

Stochastic Scalper EA for XAUUSD (MQL5)

A MetaTrader 5 Expert Advisor designed for scalping XAU/USD (Gold) using Stochastic Oscillator crossover signals with integrated risk management and a Kanban system to prevent over-trading.

Features

  • Strategy: Stochastic Crossover (%K crossing %D) with overbought/oversold filters.
  • Risk Management: Fixed stop-loss, take-profit, and money management based on account percentage.
  • Kanban System: Limits the number of concurrent open trades to prevent over-leveraging.
  • Filters: Includes basic time and spread filters.

Input Parameters

  • MagicNumber - Unique identifier for EA trades.
  • MaxOpenTickets - The core Kanban limit. (Default: 1)
  • RiskPerTrade - Risk percentage per trade. (Default: 1.0%)
  • K_Period, D_Period, Slowing - Stochastic settings.

Installation

  1. Download the StochasticScalper.mq5 file.
  2. Copy it to your MetaTrader 5 MQL5/Experts directory.
  3. Restart MetaTrader 5 or refresh the Navigator panel.
  4. Drag and drop the EA onto the XAUUSD M1 or M5 chart.
  5. Configure input parameters (especially MagicNumber and RiskPerTrade) and enable Automated Trading.

Disclaimer

This EA is provided for educational purposes only. Use it at your own risk. Past performance is not indicative of future results. Always test thoroughly on a demo account before considering live use.