
- MetaTrader 4
- Expert Advisor
- v9
- Updated: 11/03/2026
FX CORE GOLD EA Source Code (MQ4)
Editable MQ4 source of a MetaTrader 4 grid and martingale EA for XAUUSD and three AUD pairs on M5, with 29 set files
- MetaTrader 4 (MQ4), version 9
- Editable MQ4 source plus 7 compiled files
- 29 set files in the download
- Grid and martingale strategy on M5
- DLL: no
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 policyFX CORE GOLD is a grid and martingale expert advisor for MetaTrader 4, and this download gives you its editable MQ4 source code. Version 9 is the version listed.
- Platform: MetaTrader 4, version 9
- Symbols: XAUUSD, AUDCAD, AUDCHF, AUDJPY
- Timeframe: M5
- Strategy: grid, martingale
- Recommended minimum deposit: $1,000
- In the package: full MQL4 source code (editable), 7 compiled files, 29 set files
- DLL: no
This FX CORE GOLD source code MQ4 download is the editable program text of an expert advisor (an EA, a program that trades automatically) for MetaTrader 4. The listing names XAUUSD, AUDCAD, AUDCHF and AUDJPY on the M5 timeframe, and the logic combines a grid with martingale.
A grid strategy opens extra orders at set price steps. Martingale means the lot size grows after a losing trade. Together they can let open exposure and drawdown (the drop from an account's peak balance) build up quickly when price keeps moving against the first order, so it helps to read how this EA sets its steps and lot growth before you trade it.
The package suits traders and developers who want to open the code in MetaEditor, read how the grid and lot logic work, and adjust inputs or structure for their own testing. Nothing in the listing says a change will work, so treat every edit as something to test yourself.
The download contains one source file, seven compiled files and 29 set files (saved lists of input settings you load in MetaTrader). The listing gives $1,000 as the recommended minimum deposit and states that no DLL is involved. The Strategy & Settings tab explains the set files and testing in more detail.
It is a digital download, and it is also included in the membership. If you want another MetaTrader 4 source package for comparison, there are the HFT Gold MQ4 source code and the The Gold Reaper MQ4 source code. For background on the file types, read the MQ4 and MQ5 source code guide.
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 FX CORE GOLD as a grid and martingale EA, and it states grid/martingale as yes. Grid trading adds orders at fixed price distances, so a trend against the first position keeps adding exposure. Martingale raises the lot size after a loss, which makes the account swing more sharply in a losing run. Prop-firm suitability is not stated in the listing, so do not assume it.
Symbols, timeframe and deposit
Version 9 lists XAUUSD, AUDCAD, AUDCHF and AUDJPY, all on M5. The recommended minimum deposit is $1,000. Gold and the AUD crosses behave differently in spread and volatility, so check the quotes your broker gives on each symbol before running a test.
The 29 set files
The download includes 29 set files. A set file stores a full list of EA inputs, and you load it from the inputs window of the EA. The listing does not describe what each of the 29 files is for, so open each one and read its values before use. Treat them as starting configurations, not as a promise of any result.
Working with the source
With the MQ4 source you can see exactly where the grid distance and lot multiplier are applied. If you change either, run the Strategy Tester and a demo account first, because small edits to martingale lot growth can change drawdown a lot. Keep a copy of the unchanged source so you can compare.
Platform and files
This package is for MetaTrader 4 only. The source file is an MQ4 file: open it in MetaEditor and compile it before use, which produces the EX4 file the platform runs. The download also holds seven compiled files.
Set files
There are 29 set files. Attach the EA to a chart of one of the listed symbols (XAUUSD, AUDCAD, AUDCHF or AUDJPY) set to M5, open the inputs window, choose Load and select a set file. Each set file is a starting configuration, so review its values yourself.
Checks
The listing states DLL: no, so no DLL import setting is part of this product. Enable algo trading in the platform, confirm the symbol name at your broker matches the listed one (some brokers add suffixes), and run it on a demo account before any live account. The listing gives no minimum build number.
You can download MetaTrader 4 from the MetaTrader 4 website if you do not have the platform yet.
Does FX CORE GOLD version 9 run on MetaTrader 5?
No. The listing gives the platform as MT4, and the source is MQ4 code. It is meant for MetaTrader 4 and will not compile for MetaTrader 5 without a rewrite.
What do I get besides the MQ4 source file?
The download lists one source file, seven compiled files and 29 set files, with no PDF guide. The listing states DLL: no.
How should I test the martingale and grid settings of FX CORE GOLD before going live?
Load one set file on a demo account on M5 and watch how the EA adds orders and raises lot size when price moves against it. Since grid and martingale logic can grow exposure fast, trading is risky; read the risk notice in the Overview and the risk warning first. Only move to a live account after you understand the drawdown you saw.
Which symbols can I use with the 29 set files?
The listing names XAUUSD, AUDCAD, AUDCHF and AUDJPY on M5. It does not state which of the 29 files belongs to which symbol, so read each file's inputs before you load it.
What deposit does the listing recommend for FX CORE GOLD?
The recommended minimum deposit is $1,000. For a martingale grid EA that figure is a starting reference, so check your own lot sizes against your account balance.
What is the refund policy?
See the refund policy for the shop's terms. The package is also included in the membership.
- Platform
- MetaTrader 4
- Type
- Expert Advisor
- Category
- Source Code
- Version
- v9
- Updated
- 11/03/2026
| Role | File name | Size | Version |
|---|---|---|---|
| Executable file | FX_CORE_GOLD_EA_Source_Code__MQ4_.zip | 779.2 KB | v9 |
Related products
Reviews
No reviews yet.
Tags: EA Source Code





