
- MetaTrader 4
- Expert Advisor
- v3.3
- Updated: 11/08/2026
EA Studio XAUUSD Source Code (MQ4)
Editable MQ4 source plus a compiled file for a version 3.3 H1 gold scalping EA on MetaTrader 4, with unlimited live and demo accounts.
- MetaTrader 4, version 3.3
- XAUUSD on the H1 timeframe
- Scalping strategy, editable MQ4 source
- 1 compiled file and 1 source file, no DLL
- Unlimited live and demo accounts
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 gives you the editable MQL4 source code of a gold scalping expert advisor, together with its compiled file, for MetaTrader 4.
- Platform: MetaTrader 4, version 3.3
- Symbol: XAUUSD, timeframe H1
- Strategy: scalping; grid/martingale not mentioned
- Recommended minimum deposit: $500
- In the package: 1 compiled file and 1 source file, DLL: no
- Licence: unlimited live and demo accounts
- Prop firm: built with prop-firm challenge rules in mind
The ea studio xauusd source code mq4 package is the MQL4 source of an expert advisor (EA, a program that places trades automatically) built for gold, quoted as XAUUSD, on MetaTrader 4. The listing states version 3.3 and a scalping approach on the H1 chart.
Scalping means many short trades that aim at small price moves, so spread and execution speed matter more than they do for slower styles. The listing does not say how the entries are chosen, and this page does not guess at it. Reading the source in MetaEditor is the way to see the logic for yourself; see our guide to MQ4 and MQ5 source code for background.
The package suits traders and developers who use MT4, trade gold on H1 and want to read or adjust the code rather than only run a compiled file. Changes you make are your own work, and nothing here promises that an edited version will behave as intended.
The download contains one compiled file and one source file. It contains no set files (saved lists of input settings) and no PDF guide. The Strategy & Settings tab covers the deposit, symbol and prop-firm details, and the Installation tab explains compiling.
The EA is also part of the membership, which includes every product in the catalogue. Looking for a comparable MT4 package? Two other gold source-code downloads are HFT Gold source code (MQ4) and The Gold Reaper source code (MQ4).
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 and symbol
The listing describes a scalping strategy for XAUUSD on the H1 timeframe. Gold quotes can move quickly and spreads differ between brokers, which is worth keeping in mind for any short-trade approach. The listing does not mention grid or martingale behaviour, so check the source before you assume anything either way.
Deposit and licence
The recommended minimum deposit is $500. The licence line says unlimited live and demo accounts, and nothing beyond that is stated.
Prop-firm accounts
The listing says it was built with prop-firm challenge rules in mind (a prop firm is a company that funds traders who pass its evaluation). Rules on EAs differ between firms, so read your firm's terms before you use it. This is not a promise of passing any challenge.
Set files and inputs
The download has 0 set files. Because no ready-made configurations ship with it, you start from the input values in the EA's inputs window or in the source. Open the inputs list in MetaEditor, note each setting, and test any change on a demo account before a live one.
Platform and files
This product is for MetaTrader 4 only. No minimum build is listed. The zip holds one compiled file and one source file, and no set files.
Compile and attach
- Extract the zip and copy the source file into the MQL4 Experts folder of your terminal (File, Open Data Folder).
- Open it in MetaEditor, press Compile, and fix any message shown there.
- Restart MetaTrader 4, or refresh the Navigator, and drag the EA onto an XAUUSD chart set to H1.
- Turn on algo trading and review the inputs before you trade.
Use only XAUUSD, the symbol listed. Your broker may name gold with a suffix, so confirm the exact symbol name in Market Watch. The facts list DLL as no, so no DLL setting is part of this package. If you do not have the platform yet, the MetaTrader 4 website has the download.
Can I compile and edit the gold scalping logic in MT4 myself?
Yes. The package includes the source file in MQL4, and MetaEditor, which comes with MetaTrader 4, opens and compiles it. Any edit you make is your own work and may change how the EA behaves.
Why does the download have no set files for XAUUSD H1?
The Files fact lists 0 set files, so you get one compiled file and one source file only. You choose the inputs yourself, so test them first on a demo account.
How should I test a scalping EA on gold before going live?
Run it on a demo account with the settings you plan to use, and watch how spread and fills affect short trades on XAUUSD. Trading is risky, and the recommended minimum deposit of $500 is not a safety margin. Read the risk notice in the Overview first.
Can I use it on a prop-firm challenge account?
The listing says it was built with prop-firm challenge rules in mind. Firms set their own rules on EAs, so check yours before you attach it. No pass rate is implied.
How many accounts can I use it on, and does it need a DLL?
The licence line states unlimited live and demo accounts. The facts list DLL as no.
What if I need help or a refund?
Read the refund policy for the terms.
- Platform
- MetaTrader 4
- Type
- Expert Advisor
- Category
- Source Code
- Version
- v3.3
- Updated
- 11/08/2026
| Role | File name | Size | Version |
|---|---|---|---|
| Executable file | EA_Studio_XAUUSD_Source_Code__MQ4_.zip | 26.7 KB | v3.3 |
Related products
Reviews
No reviews yet.
Tags: EA Source Code





