Smart Gold Machine
- Experts
-
Kalpesh Agarwal
Highly profitable algorithmic trader and MQL5/MQL4 developer with 6+ years of full-time experience designing, coding, backtesting and live-trading automated systems.
Main markets I specialize in: - Version: 1.0
- Activations: 5
SMART GOLD MACHINE
Fully automatic Expert Advisor for XAUUSD (Gold)
Smart Gold Machine is a fully automatic trading robot for Gold. Every trade is opened with a stop loss and take profit from the first second, profits are protected automatically, and a complete set of account guards keeps risk under control - including prop-firm style daily limits.
The robot is self-contained: no extra indicators, files or DLLs to install. Attach it to the chart, choose a trading style, set your lot size and it is ready.
KEY FEATURES
- No grid, no martingale, no averaging. One trade per direction, always with a stop loss and take profit.
- 5 ready-made trading styles: Scalping, Balanced, High Reward, Prop Firm and Manual (your own settings).
- Automatic profit protection once a trade moves in your favour.
- Prop-firm friendly: daily profit goal, daily loss cap, daily drawdown guard, session stop/start times, Friday / weekend guard.
- Spread guard and high-impact news filter (built-in MetaTrader economic calendar, no external service).
- Fixed lot or risk-percent position sizing with automatic margin check - it never sends an order the account cannot afford.
- Automatic clean-up of unused pending orders.
- Very fast strategy tester - test years of data in seconds.
- Clean on-chart dashboard: balance, equity, today's result, floating P/L, spread, active guards and the reason if trading is paused.
- Works on hedging and netting accounts, any broker, any chart timeframe.
- Simple setup: default settings are ready to use.
INPUT PARAMETERS
Trading Style
- TradingStyle - Scalping / Balanced / High Reward / Prop Firm / Manual. Selects the ready-made parameter set.
Position Sizing
- UseRiskPercent - true = lot size calculated from risk percent, false = fixed lot.
- RiskPerTradePercent - risk per trade in % of equity (when UseRiskPercent = true).
- FixedLotSize - fixed lot size (when UseRiskPercent = false).
- MaxAllowedSpread - maximum spread in points, 0 = no limit.
- RemovePendingOnHighSpread - also remove pending orders while the spread guard is active.
Manual Style Parameters (used only when TradingStyle = Manual)
- ManualTakeProfit - take profit in points, 0 = none.
- ManualStopLoss - stop loss in points, 0 = none.
- ManualTrailingActivation - profit in points before the trailing stop starts, 0 = trailing off.
- ManualTrailingDistance - trailing stop distance in points.
- ManualPauseAfterClose - pause in seconds after a closed trade.
- ManualEntryOffset - entry offset in points.
Account Guard
- EnableAccountGuard - master switch for the guards below and the news filter.
- StopAtDailyProfit - stop trading for the day when the daily profit goal is reached.
- DailyProfitGoal - daily profit goal in account currency.
- StopAtDailyLoss - stop trading for the day when the daily loss cap is reached.
- DailyLossCap - daily loss cap in account currency.
- EnableDrawdownGuard - close all trades and stop for the day at the daily drawdown limit.
- DrawdownGuardPercent - daily drawdown limit in %.
- DrawdownBase - drawdown measured from day-start balance or day-start equity.
- AvoidHighImpactNews - pause new trades and remove pending orders around high-impact calendar events.
- NewsPauseBefore - minutes before a news event.
- NewsPauseAfter - minutes after a news event.
Session Control
- UseCustomSessionTimes - true = use your own daily stop/start times, false = follow the symbol's trading sessions.
- SessionEndHour / SessionEndMinute - daily stop time (server time).
- SessionStartHour / SessionStartMinute - daily start time (server time).
- SessionEndRemovePending - remove pending orders at the daily stop.
- SessionEndCloseTrades - close open trades at the daily stop.
- EnableWeekendGuard - Friday / weekend protection.
- UseCustomFridayTime - true = use your own Friday stop time.
- FridayEndHour / FridayEndMinute - Friday stop time (server time).
- FridayRemovePending - remove pending orders at the Friday stop.
- FridayCloseTrades - close open trades at the Friday stop.
Expert
- ExpertMagic - magic number (use a different one for each chart).
- OrderComment - comment written on every order.
- ShowInfoPanel - show / hide the dashboard.
RECOMMENDATIONS
- Symbol: XAUUSD (Gold)
- Timeframe: H1
- Broker: ECN account with low spread and fast execution
- Minimum deposit: 200 USD (0.01 lot). Scale the lot size with the account.
- Leverage 1:100 or higher, hedging or netting account
- VPS recommended for 24/5 operation
- Start with the default settings
Trading involves risk. Past performance in the strategy tester does not guarantee future results.
