An MQL5 Expert Advisor for scalping XAUUSD using Stochastic crossover signals with integrated risk management.
README.md | ||
StochasticScalper.mq5 |
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
- Download the
StochasticScalper.mq5
file. - Copy it to your MetaTrader 5
MQL5/Experts
directory. - Restart MetaTrader 5 or refresh the Navigator panel.
- Drag and drop the EA onto the XAUUSD M1 or M5 chart.
- 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.