
- MetaTrader 4
- Expert Advisor
- latest
- Updated: 11/10/2026
Gold Trade Pro EA Source Code (MQ4)
Editable MQL4 source for a breakout and grid EA on XAUUSD and GBPUSD, supplied with two set files for MetaTrader 4
- MetaTrader 4 source code in MQ4 format
- Symbols: XAUUSD and GBPUSD
- Timeframes: D1 and M15
- Breakout, grid and martingale logic
- Download holds 1 source file and 2 set files
Choose how to get it
Digital product — download after payment
Free to try: edit it in the Builder, backtest, download the EA.
Builds an MT5 version
Download right after payment
Refund policy
Refunds within 7 days of purchase for a broken or mismatched file, a duplicate charge, or a paid order without download access. No refund once a working file is downloaded, and no profit guarantee.
Read the refund policyThis download is the editable MQL4 source code of Gold Trade Pro, an expert advisor for MetaTrader 4 that trades gold and a major currency pair. You open it in MetaEditor, read or adjust it, and compile it yourself.
- Platform: MetaTrader 4
- Symbols: XAUUSD, GBPUSD; timeframes: D1, M15
- Strategy: breakout, grid, martingale
- Recommended minimum deposit: $200
- In the package: full MQL4 source code (editable), 2 set files
- Prop firm: built with prop-firm challenge rules in mind
Traders who want to see how a gold breakout system is put together can study the Gold Trade Pro source code MQ4 in this package. It is the written program of an expert advisor (an EA, software that places trades automatically) for MetaTrader 4, not a compiled file you attach straight to a chart.
The logic combines breakout entries, which trigger when price leaves a range, with a grid (extra orders opened at set price steps) and martingale (a lot size that grows after a losing trade). The listed symbols are XAUUSD and GBPUSD, and the listed timeframes are D1 and M15.
This source suits MQL4 programmers and traders who are comfortable in MetaEditor and want to read the code, change inputs or test their own edits. Nothing here promises that a modified version will behave as the unmodified one does. If you would rather run a ready EA than edit code, the catalogue also lists Gold Trade Pro for MT4 as an EA product. Other gold sources for MetaTrader 4 in the catalogue are the HFT Gold MQ4 source code and the Gold Reaper MQ4 source code.
The download holds one source file and two set files (saved lists of input settings you load in MetaTrader). It has no compiled file, no PDF and no DLL. Details on strategy, deposit and the set files are in the Strategy & Settings tab. Like every product here, it is a digital download and is also included in the membership.
Trading foreign exchange and CFDs carries a high level of risk and may not be suitable for all investors. Past performance does not guarantee future results; only trade with money you can afford to lose.
Strategy type
The listing describes three building blocks: breakout, grid and martingale. A breakout entry waits for price to leave a range, and false breakouts do happen, so a move that looks decisive can reverse. The grid and martingale parts mean the strategy can add positions and raise lot sizes while price moves against the first trade, so open exposure and drawdown (the drop from the account's peak balance) can grow quickly. The facts do not describe the exact step sizes or multipliers; read them in the source before you use any set file.
Symbols, timeframes and deposit
- Symbols: XAUUSD and GBPUSD
- Timeframes: D1 and M15
- Recommended minimum deposit: $200
The facts do not say which symbol pairs with which timeframe, so check the code and the set files rather than assuming. Gold spreads and contract specifications differ between brokers, so compare your broker's values with whatever the inputs expect.
Set files
There are two set files. Each is a starting configuration to load from the EA's inputs window once you have compiled the program, not a recommendation of results. Open both, compare the values and decide which suits your test. Run the EA on a demo account first and check every setting before you consider a live account.
Prop-firm use
The listing marks it as built with prop-firm challenge rules in mind. That does not mean any firm accepts it or that a challenge can be passed. Rules on EAs, grids and martingale differ by firm, so read your firm's rules first.
Platform and files
This product is for MetaTrader 4. The minimum build is not listed. The package contains one MQ4 source file and two set files; no compiled file and no DLL are included, and the Files fact lists DLL: no.
- Extract the downloaded ZIP and copy the MQ4 file into the Experts folder of your MetaTrader 4 data folder (File, Open Data Folder, MQL4, Experts).
- Open the file in MetaEditor, review the code, and compile it. Compiling produces the EX4 file that MetaTrader 4 runs. Restart the platform or refresh the Navigator so the EA appears.
- Open an XAUUSD or GBPUSD chart. The listing names these two symbols only.
- Attach the EA, open its inputs window, and load one of the two set files with the Load button.
Compile errors can appear if you edit the code. Keep a copy of the untouched file before you edit.
Test on a demo account before any live use. You can download the platform from metatrader4.com if needed.
Can I attach this download to a chart straight away?
No. The package holds one MQ4 source file and no compiled file, so you must open it in MetaEditor and compile it first. After that it runs on MetaTrader 4 only.
What are the two set files for?
They are two starting configurations of the EA's inputs for you to load and compare. The facts do not say which symbol or timeframe each one targets, so read the values and test both on a demo account.
Does this EA need a DLL?
The Files fact lists DLL: no, so the package does not include one. Anything you add yourself is your own responsibility.
How should I test the grid and martingale behaviour before going live?
Run it on a demo account with XAUUSD or GBPUSD and watch how many positions open and how lot sizes grow when price moves against the first trade. Trading is risky and this strategy type can raise drawdown quickly, so read the risk notice at the end of the Overview first. The listing recommends a minimum deposit of $200.
Is it suitable for a prop-firm challenge account?
The listing says it was built with prop-firm challenge rules in mind. Rules on grids and martingale differ by firm, so check yours before you trade. Nothing here promises a pass.
Where can I read the refund policy?
Read the refund policy for how requests are handled.
- Platform
- MetaTrader 4
- Type
- Expert Advisor
- Category
- Source Code
- Version
- latest
- Updated
- 11/10/2026
| Role | File name | Size | Version |
|---|---|---|---|
| Executable file | Gold_Trade_Pro_EA_Source_Code__MQ4_.zip | 34.8 KB | latest |
Related products
Reviews
No reviews yet.
Tags: EA Source Code





