ReactiveFX Gold Scalper EA
- Experts
-
Juan Miguel Salting Patente
I specialize in developing custom Expert Advisors (EAs), indicators, and trading tools for MetaTrader 4. With a strong focus on risk management, automation, and trading efficiency, I help traders transform their strategies into fully functional trading systems.
What I Offer: - Versão: 3.30
- Atualizado: 27 agosto 2026
- Ativações: 10
🔴 To Backtest the EA, please turn ON (True) the “ForceAgressiveInTester”.
⏱️ TIME FRAME: 5-MINUTE CHART 📊
⚡ ReactiveFX — Multi-Filter XAUUSD Trading EA
ReactiveFX is an automated trading system specially designed for XAUUSD (Gold).
I built it with one simple idea in mind: don't take every market movement. Wait for multiple conditions to line up before trading.
Instead of relying on a single indicator or a basic buy/sell signal, ReactiveFX uses several layers of market filtering to help avoid lower-quality situations.
🥇 What makes ReactiveFX different?
📊 Multi-Timeframe Trend Filtering
The EA checks the broader market direction across higher timeframes before allowing new trades. This helps keep the system aligned with the larger Gold trend.
💪 Trend Strength Filter
ReactiveFX evaluates whether the current market has enough directional strength before committing to a trading direction.
🌪️ Volatility Filter
Gold can become extremely aggressive during volatility expansions. The EA monitors market volatility and can avoid entering when conditions become unsuitable.
🚀 Momentum Filter
The system also evaluates recent price movement to distinguish between normal market conditions and potentially excessive momentum.
📰 XAUUSD News Protection
One of the most important features is the built-in high-impact USD news filter.
The EA can automatically recognize high-impact economic events and temporarily prevent new entries around the news window.
This is particularly useful for Gold because major USD events can create very fast movements and unpredictable spreads.
🎯 Dynamic Profit Management
Profit targets aren't necessarily treated as completely static. The EA can adapt its basket-management behavior according to current market conditions such as volatility, momentum and volume activity.
🛡️ Basket-Based Management
Rather than looking at every position completely independently, ReactiveFX manages the overall trading basket. The objective is to close the basket when the combined result reaches its target rather than depending on one individual trade.
🔄 Recovery & Protection Logic
The EA includes additional recovery and protection mechanisms for situations where the initial trading sequence doesn't develop as expected.
The system can also adapt its position capacity when protection/recovery conditions are activated.
📈 Built for Gold
ReactiveFX was developed with XAUUSD in mind. Gold behaves very differently from major Forex pairs, especially around USD news, volatility expansions and strong directional moves.
📊 Backtest Results
The attached backtest was performed with:
- Initial Balance: $5,000
- Net Profit: $7,511.47
- Profit Factor: 1.64
- Sharpe Ratio: 3.51
- Total Trades: 1,007
- Gross Profit: $19,176.79
- Gross Loss: -$11,665.32
- Maximum Equity Drawdown: approximately 16.77%
- Maximum Equity DD: approximately $2,051.77
- Recovery Factor: 3.66
The results show that the system is designed around controlled exposure and filtering, rather than simply maximizing the number of trades.
Backtest results are historical and do not guarantee future performance. Actual results can vary depending on broker, spread, commission, execution, leverage and market conditions.
💰 Recommended Capital
| Capital | My assessment |
|---|---|
| $1,000–$2,000 | 🔴 Very aggressive |
| $3,000 | 🟠 Aggressive |
| $5,000 | 🟡 Backtest reference / minimum serious level |
| $7,500 | 🟢 More comfortable |
| $10,000+ | 🟢 Conservative relative to the backtest |
My recommendation:
Recommended starting balance: $5,000
More conservative setup: $7,500–$10,000
⏱️ TIME FRAME: 5-MINUTES CHART 📊
ReactiveFX is not designed to trade every movement in Gold. It waits for multiple market conditions to align, filters volatility and momentum, checks the broader trend, and uses dedicated XAUUSD news protection before looking for opportunities.
Designed primarily for XAUUSD (Gold).
ReactiveFX uses multiple layers of market filtering, risk management and basket management. Most users should start with the default settings and adjust only the risk-related parameters.
1. General Settings
| Parameter | Description |
|---|---|
| UseInvertedSignal | Reverses the normal trading direction. False is recommended for normal use. |
| LockDirectionOnFirst | Keeps the EA focused on the initial trading direction while a trading cycle is active. |
| MagicNumber | Unique ID used by the EA to identify its own trades. Keep it unique if running multiple instances. |
| MaxPositions | Maximum number of positions during the normal trading cycle. Higher values increase exposure. |
| MinGapPoints | Minimum market separation required before a new opportunity is considered. |
Recommended: Leave these at default unless you understand the effect of changing them.
2. Lot Management
| Parameter | Description |
|---|---|
| UseFixedLot | Uses the same lot size for each position. |
| BaseLot | Starting lot size. |
| MartingaleMultiplier | Controls how position size increases as additional positions are opened. |
| MaxLotSize | Absolute maximum lot size allowed by the EA. |
⚠️ Important
If UseFixedLot = false, position sizing can increase during a trading sequence.
For a more conservative setup, consider:
- Lower BaseLot
- Lower MaxLotSize
- Keep sufficient free margin
3. Higher Timeframe Filter
| Parameter | Description |
|---|---|
| UseHTFFilter | Enables higher-timeframe market filtering. |
| HTF_EMA_Period | Controls the sensitivity of the higher-timeframe reference. |
| RequireBothHTFAgree | Requires both monitored higher timeframes to support the same general direction. |
Recommended: Keep enabled for XAUUSD.
4. Trend Strength Module
| Parameter | Description |
|---|---|
| UseTrendModule | Enables trend-strength filtering. |
| TrendPeriod | Calculation period used by the trend-strength component. |
| TrendLevel | Minimum strength required before the filter considers the market sufficiently directional. |
| TrendTF | Timeframe used for trend-strength evaluation. |
| UseProtectionMode | Enables additional protection behavior during changing market conditions. |
| ProtectionMaxPositions | Position limit when protection mode becomes active. |
5. Volatility Filter
| Parameter | Description |
|---|---|
| UseVolatilityFilter | Helps prevent trading during unsuitable volatility conditions. |
| VolPeriod | Volatility calculation period. |
| VolAvgPeriod | Reference period for comparing current volatility. |
| VolMultiplier | Controls how much volatility expansion is tolerated. |
For Gold: Keeping this enabled is recommended.
6. Momentum Filter
| Parameter | Description |
|---|---|
| UseMomentumFilter | Enables momentum-based market filtering. |
| MomentumBars | Number of bars used for the momentum assessment. |
| MomentumMult | Controls the sensitivity of the momentum filter. |
Higher sensitivity generally means the EA becomes more selective.
7. Advanced Recovery
| Parameter | Description |
|---|---|
| UseAdvancedRecovery | Enables additional recovery management. |
| RecoveryWaitHours | Optional waiting period before recovery conditions can become active. |
| RecoveryTrigger | Floating basket result at which recovery logic may become active. |
| RecoveryMaxPositions | Maximum positions permitted during recovery management. |
⚠️ Risk Warning
Recovery settings can increase market exposure. Do not increase these values simply to make the EA recover faster.
8. Zone Filter
| Parameter | Description |
|---|---|
| UseZoneFilter | Enables an additional market-location filter. |
| ZoneLookback | Historical range used by the filter. |
For normal use, leave enabled.
9. Basket Management
| Parameter | Description |
|---|---|
| BaseProfitTarget | Base monetary target for closing the trading basket. |
| BaseTrailingStart | Profit level at which basket trailing management can begin. |
| BaseTrailingStep | Distance used by the basket trailing mechanism. |
| UseDynamicTargets | Allows basket targets to adapt to current market conditions. |
| ATR_Period | Volatility measurement period used by dynamic management. |
| ATR_Multiplier_High | Adjustment used during higher-volatility conditions. |
| ATR_Multiplier_Low | Adjustment used during lower-volatility conditions. |
| VolumeSpikeFactor | Sensitivity to unusual trading activity. |
Recommended: Keep dynamic targets enabled.
10. Stop Loss
| Parameter | Description |
|---|---|
| UseStopLoss | Enables an individual position stop loss. |
| StopLossPips | Stop-loss distance when enabled. |
| UseSLRecovery | Enables additional management after a stop-loss event. |
The EA automatically detects the appropriate pip size for different symbol/broker digit formats.
11. XAUUSD News Filter ⭐
| Parameter | Description |
|---|---|
| UseNewsFilter | Enables the high-impact economic news filter. |
| NewsHoursBefore | Blocks new entries before high-impact news. |
| NewsHoursAfter | Blocks new entries after high-impact news. |
| ForceCloseBeforeNews | Can close active EA positions before high-impact news. |
Recommended XAUUSD setting
UseNewsFilter = true
The default 2 hours before / 1 hour after provides a relatively cautious news buffer.
12. Risk Control
| Parameter | Description |
|---|---|
| UseMaxEquityDD | Enables an account equity drawdown protection. |
| MaxEquityDDPercent | Maximum equity drawdown allowed before positions are closed. |
| UseMaxFloatingLoss | Enables a monetary floating-loss limit. |
| MaxFloatingLossMoney | Maximum floating loss allowed. |
| UseDailyLossLimit | Enables daily loss protection. |
| MaxDailyLossPercent | Maximum daily loss percentage allowed. |
Recommended
For live trading, consider enabling at least one additional account-level risk protection appropriate to your account size.
⭐ Suggested Starting SetupFor users who don't want to optimize parameters:
Symbol: XAUUSD
Timeframe: Use the timeframe recommended by the product configuration
UseHTFFilter: ✅ ON
UseTrendModule: ✅ ON
UseVolatilityFilter: ✅ ON
UseMomentumFilter: ✅ ON
UseAdvancedRecovery: ✅ ON
UseZoneFilter: ✅ ON
UseDynamicTargets: ✅ ON
UseNewsFilter: ✅ ON
Start with the default parameters first.
Important: Do not increase the lot size, position limits, or recovery settings simply because a backtest produced good results. Gold can experience rapid volatility and live drawdown can differ substantially from historical testing.
💰 Capital guideline
$5,000 is a reasonable reference balance, while $7,500–$10,000+ provides more breathing room for conservative users.
Backtest performance is not a guarantee of future results. Live performance depends on broker conditions, spread, commission, execution, leverage and market behavior.
