Gold Automated Trading Bot
- Experts
- Juan Vial Ruiz Tagle
- 버전: 4.10
- 업데이트됨: 19 3월 2026
- 활성화: 10
🇬🇧 ENGLISH
GoldMicroScalper v4.1 M1 — Professional Ultra-High Frequency Scalper
GoldMicroScalper is a fully automated Expert Advisor engineered for ultra-high frequency scalping on the 1-minute timeframe. It was developed and refined through extensive backtesting on ECN broker environments, with a focus on minimizing false entries while maintaining a high trade frequency. The core philosophy is simple: only enter the market when multiple independent technical signals agree at the same moment.
Strategy Overview
The EA does not rely on a single indicator. Instead, it runs five independent signal layers simultaneously and assigns a numerical score to each bar. A trade is only opened when the total score exceeds a configurable minimum threshold and one direction has a clear advantage over the other. This multi-confirmation approach dramatically reduces noise entries compared to single-indicator systems.
The five signal layers are:
EMA Trend Layer: Three exponential moving averages (periods 8, 21, and 50) are evaluated on every bar. The EA checks whether the fast EMA is above or below the medium EMA, whether price is above or below the slow EMA, and whether the fast EMA is accelerating in a consistent direction across the last three bars. Each condition contributes points to the buy or sell score independently.
RSI Momentum Layer: A 7-period RSI is used to detect momentum direction and exhaustion. The EA awards points when RSI is trending in the expected direction, and assigns bonus points when RSI crosses out of oversold or overbought territory — a classic momentum reversal signal particularly effective on short timeframes.
Stochastic Crossover Layer: An 8-3-3 Stochastic oscillator detects crossovers between the %K and %D lines. A fresh crossover in either direction generates significant score contribution, while extreme readings below 30 or above 70 add confirmation weight.
Bollinger Band Layer: A 14-period Bollinger Band with 2.0 standard deviation is used to detect price bounces from the bands, breakouts, and mean-reversion crosses through the midline. Each of these conditions generates independent score contributions, making this layer particularly powerful during ranging market conditions.
Price Action Layer: The EA analyzes the most recently closed candle for bullish or bearish body strength, engulfing patterns, and pin bar formations. Momentum candles — those with a range significantly larger than the ATR — receive additional confirmation weight.
After all five layers are scored independently, the EA compares the buy score against the sell score. A trade is only opened if the winning direction scores above the minimum threshold AND has at least a 5-point advantage over the opposite direction. This prevents entries during genuinely indecisive market conditions.
Risk and Money Management
GoldMicroScalper includes a complete risk management framework. When dynamic lot sizing is enabled, the EA calculates the appropriate lot size based on a percentage of the current account balance and the configured stop loss distance, ensuring consistent risk per trade regardless of account size. A hard cap on the maximum lot size per trade prevents excessive exposure on any single entry.
In netting account mode — which is standard on most regulated brokers — the EA tracks total accumulated volume across all open positions and blocks new entries once the maximum exposure limit is reached. This is critical because netting brokers merge multiple orders into a single position, which can silently multiply exposure if not explicitly controlled.
The trailing stop system activates only after the trade has moved a configurable number of points in profit, and then maintains a dynamic stop at a fixed distance behind the current price. This allows winners to run while protecting accumulated profits, without the trailing stop triggering prematurely on normal market noise.
Daily protection limits include a maximum daily loss in dollars — which halts all trading for the remainder of the day once reached — and a daily profit target that locks in gains and stops new entries. Both limits reset automatically at the start of each new trading day.
Session Filtering
The EA includes an optional session filter that restricts trading to a configurable time window on the server clock. Weekend trading and late Friday sessions are automatically excluded regardless of the session filter setting. This prevents entries during low-liquidity periods where spreads widen and price action becomes unreliable.
Spread Protection
Before any trade is evaluated, the current spread is checked against a configurable maximum. If the spread exceeds the limit, the analysis is skipped entirely for that bar. This is particularly important for M1 scalping where spread costs represent a larger proportion of the expected profit per trade.
On-Chart Panel
A real-time information panel is displayed directly on the chart, showing current balance, equity, daily P&L, lot size, estimated TP and SL values in dollars, current spread, session status, today's trade count, open position count, the current signal direction and strength score, the active signal reasons, and cumulative win/loss statistics including win rate, total profit, best trade, worst trade, and maximum consecutive win streak.
Input Parameters
Micro Lots group:
- Lot Size: Fixed lot size used when dynamic sizing is disabled. Default 0.01.
- Max Lot Size: Hard ceiling on lot size per trade and total exposure. Default 0.05.
- Use Dynamic Lot: Enables automatic lot calculation based on risk percentage. Default true.
- Risk Percent: Percentage of account balance risked per trade when dynamic sizing is active. Default 0.5%.
Ultra-Micro Targets group:
- TP Points: Take profit distance in points from entry. Default 200.
- SL Points: Stop loss distance in points from entry. Default 200.
- Max Profit Per Trade: Dollar amount at which an open position is closed regardless of TP. Default $5.
- Use Fixed Dollar TP: Enables dollar-based TP/SL management instead of points. Default false.
- Dollar TP / Dollar SL: Dollar thresholds used when fixed dollar mode is active.
Frequency group:
- Max Open Trades: Maximum number of simultaneously open positions. Default 3.
- Max Trades Per Day: Hard limit on total trades opened per calendar day. Default 500.
- Min Bars Between: Minimum number of M1 bars that must elapse between consecutive entries. Default 1.
- Min Score To Enter: Minimum score required to open a trade. Lower values increase frequency. Default 50.
Fast Indicators group: Periods and thresholds for all five indicator layers as described above.
Micro Trailing group:
- Use Trailing: Enables the trailing stop system. Default true.
- Trail Start Points: Profit in points that must be reached before the trail activates. Default 30.
- Trail Step Points: Distance in points the trailing stop maintains behind current price. Default 20.
Protection group:
- Max Daily Loss: Maximum dollar loss allowed per day before trading halts. Default $5.
- Max Daily Profit: Dollar profit target per day after which trading halts. Default $50.
- Max Spread Points: Maximum allowed spread before skipping a bar's analysis. Default 35.
Session group: Start and end hour for the active trading window.
Advanced group: Magic number for order identification and comment string for trade labels.
Backtesting Methodology
The EA was validated using MetaTrader 5's Strategy Tester in every-tick mode with real spreads enabled. Testing was conducted on EURUSD H1 data across multiple months to verify signal generation, lot normalization, daily limit behavior, trailing stop mechanics, and netting account compatibility. All known compilation errors, invalid volume errors, invalid stop errors, and infinite loop conditions were identified and resolved through iterative testing before release.
Recommended Setup
Broker: ECN with raw spreads, ideally below 15 points on XAUUSD or 8 points on EURUSD. Timeframe: M1. Recommended symbols: XAUUSD, EURUSD, GBPUSD. VPS: strongly recommended for consistent execution on M1. Account type: both netting and hedging are fully supported.
