
- MetaTrader 4
- Expert Advisor
- latest
- Updated: 11/10/2026
Gold Hunt EA Source Code (MQ4)
Editable MQ4 source for an MT4 gold EA built on grid, martingale and hedging, for XAUUSD on M15 and H1
- MetaTrader 4 expert advisor source
- XAUUSD on M15 and H1
- Grid, martingale and hedging strategy
- 1 compiled file, 1 source file, 1 set file
- 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 policyGold Hunt is an expert advisor for MetaTrader 4 that trades XAUUSD, and this download gives you its editable MQL4 source next to the compiled file.
- Platform: MetaTrader 4
- Symbol: XAUUSD; timeframes: M15, H1
- Strategy: grid, martingale, hedging
- Recommended minimum deposit: $1,000
- In the package: 1 compiled file, 1 source file (MQL4, editable), 1 set file
The Gold Hunt source code MQ4 package is an expert advisor (EA, a program that places trades automatically) for MetaTrader 4, supplied with the MQL4 file you can open and edit. It is designed for XAUUSD, which is gold quoted against the US dollar.
According to the listing, the logic combines a grid, martingale and hedging. A grid opens extra orders at set price steps, martingale raises the lot size after a losing trade, and hedging keeps buy and sell positions open on the same symbol. The listing marks grid and martingale as present, so open exposure and drawdown (the drop from an account's peak balance) deserve close attention.
The package suits traders and developers who want to read the code in MetaEditor, check how the orders are managed, or adjust it for their own testing. Any change you make is your own work, and nothing here promises that a modified version will behave as intended.
The download contains one compiled file, one source file and one set file (a saved list of input settings you load in MetaTrader). There is no PDF and no DLL. The listing gives no minimum build number for MetaTrader 4.
The Strategy & Settings tab covers the symbol, timeframes and deposit guidance in more detail. If you work through several gold sources, you can compare it with HFT Gold source code for MQ4 or The Gold Reaper source code for MQ4, which target the same platform. You can buy it and download the files right after payment, and it 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 listed strategy is grid, martingale and hedging. The grid element means the EA can add orders at set price steps. Martingale means the lot size grows after a loss. Hedging means opposite positions can sit open on one symbol together. The listing states that grid and martingale are used, so this is not a single-order approach.
Symbol and timeframes
The listing names one symbol, XAUUSD, and two timeframes, M15 and H1. Gold moves in large steps compared with most currency pairs, and spreads differ between brokers, so a grid on this symbol reacts to your broker's conditions. Check the symbol name your broker uses, since some add a suffix.
Deposit
The recommended minimum deposit is $1,000. Treat that as a listed starting point for the account, not as protection against losses. A strategy that adds orders while price moves against the first trade can tie up margin quickly.
Set file
The download has one set file. It is a starting configuration to load from the EA's inputs window, not a recommendation of results. Read every input before you load it, and change values only after you understand what each one controls.
General practice
Run the compiled EA on a demo account first, on XAUUSD at M15 or H1, and watch how many orders it stacks and how the lot size develops. Hedging also depends on the account type, so confirm that your broker allows opposite positions on the same symbol. Check the settings again before you trade live.
Platform
This product is for MetaTrader 4 only. The listing gives no minimum build, so use a current MT4 terminal from your broker or from metatrader4.com.
Files
The package holds one compiled file, one source file and one set file. No DLL is involved, so you do not need to change any DLL import option.
- Copy the compiled file into the Experts folder of your MT4 data directory, then restart the terminal or refresh the Navigator.
- Copy the source file into the same Experts folder. Open it in MetaEditor and compile it with the Compile button if you edit it or want a fresh build.
- Open an XAUUSD chart on M15 or H1 and attach the EA.
- Load the single set file from the Inputs tab, review each value, and enable algo trading.
Allowed symbol: XAUUSD. The set file is a starting configuration only. No help with code changes is promised with this download.
Does the Gold Hunt source work on MetaTrader 5?
No. It is MQL4 code and the listing gives MT4 as the platform. An MT5 terminal cannot compile or run it as supplied.
What is in the Gold Hunt MQ4 package besides the source file?
You get one compiled file, one source file and one set file. The listing shows no PDF and no DLL, so there is nothing extra to install.
Which timeframe should I use with the single set file, M15 or H1?
The listing names both M15 and H1 for XAUUSD but does not say which one the set file is built for. Open the set file's inputs, then test each timeframe separately on a demo account and compare how the grid behaves.
How should I test Gold Hunt's grid and martingale on XAUUSD M15 and H1 before trading live?
Trading is risky, and a grid with martingale can build large open positions when gold trends against the first order. Use a demo account first, watch the lot sizes and the number of open orders, and read the risk notice in the Overview. The listed minimum deposit is $1,000.
Can I change the code, and what happens if I need help?
You can open the MQL4 file in MetaEditor and edit it. Changes are your responsibility, and you should retest after each one. For questions about orders or refunds, see the refund policy.
- Platform
- MetaTrader 4
- Type
- Expert Advisor
- Category
- Source Code
- Version
- latest
- Updated
- 11/10/2026
| Role | File name | Size | Version |
|---|---|---|---|
| Executable file | Gold_Hunt_EA_Source_Code__MQ4_.zip | 308.4 KB | latest |
Related products
Reviews
No reviews yet.
Tags: EA Source Code





