Fast M1 Gold Scalper MT5, full source code
FAST M1 GOLD SCALPER, FULL SOURCE CODE
PLATFORM: MT5
PAIR-TF: XAUUSD (Gold) - M1
MIN DEPOSIT: $100
ACCOUNT: ECN / RAW / low spread
Complete .mq5 source file, no licence system inside, no DLLs, compiles with 0 errors. Live account result: +10.6% in 33 minutes, 25 trades, 0.18% drawdown.
This is the complete, unencrypted source code of Fast M1 Gold Scalper for MetaTrader 5. One .mq5 file, ready to open in MetaEditor, read, modify and compile.
It is one of our best selling robots, and this is the same code we run on our own live accounts. Nothing is hidden, nothing is locked and there is no licence check inside: what you buy is what runs.
What this robot does on a live account
August 18, 2026. Live account, Global Prime. We funded it with $10,000, switched the robot on and let it work while we watched the screen. Half an hour later we switched it off.
The session was recorded on MetaTrader 5. The MT4 and MT5 sources run the same strategy with the same settings.
| Starting balance | $10,000.00 |
| Final balance | $11,064.61 |
| Net profit | $1,064.61 (+10.6%) |
| Time running | 33 minutes |
| Trades | 25 |
| Winning trades | 21 (84%) |
| Commissions paid | $172.72 (already deducted above) |
| Maximum drawdown | 0.18% |
| Profit factor | 11.00 |
The net profit is what was left after paying the broker. This robot trades often, so commissions matter and we would rather show them.
What you get
- One .mq5 file with the complete source code, commented in English.
- No licence system inside. No account whitelist, no online check, no expiry. Compile it and it runs.
- No DLL calls and no external dependencies. It compiles with the standard MetaTrader 5 libraries.
- Compiled clean: 0 errors.
What you can change
Everything, and that is the point of buying the source. The parts traders usually adjust first:
- Risk, the lot size as a share of the balance. It ships at 1, which is roughly 1.00 lot on a $10,000 account, 0.10 on $1,000 and 0.01 on $100.
- MinProfit, the profit percentage that closes the group. It ships at 0.1, which is 0.1% of the balance.
- Dist and Step, how close the entry levels follow price and how far price has to move before a second position is added.
- TimeStart and TimeEnd, the trading window.
- UpLot, the multiplier for the added position. It ships at 1, meaning the same lot as the first one.
How it works inside
The robot places two invisible price levels on the chart and follows the market with them. When price reaches one of them and the candle agrees with the direction, it enters.
Stop loss and take profit stay at zero in the terminal. The robot decides when to close in real time, so there is no fixed level sitting on the broker side.
If the trade moves in your favour, it follows the price and locks the gain. If it moves against you, it waits a wide distance before adding a second position, and closes the whole group together once the combined result reaches the profit target.
It is not a martingale. The added position uses the same lot size as the first one, not a doubled one.
How it is meant to be traded
Use it supervised. Let it run 30 to 60 minutes while you watch, and the moment you hit your target, switch off Algo Trading and stop until the next day. This is not a set and forget robot.
Requirements
- Platform: MetaTrader 5.
- Symbol and timeframe: XAUUSD (gold), M1.
- Account: ECN, RAW or any genuine low spread account. A standard high spread account will not work: the spread eats a scalper alive.
- Deposit: from $100.
- Execution: fast execution and a stable connection. A VPS is optional.
Looking for the ready to run robot instead of the code? Get the compiled version on binaryforexea.com. The MT4 source code is also available here.
Trading leveraged products carries a high level of risk to your capital. Past results do not guarantee future results. You trade at your own risk.


























