
- MetaTrader 4
- Expert Advisor
- v3.0
- Updated: 11/11/2026
Ouro Hedge Scalping EA Source Code (MQ4)
MetaTrader 4 source code for a scalping, hedging and martingale EA, listed for EURUSD, GBPUSD, USDCHF and GBPJPY on M1 and M5.
- MetaTrader 4, version 3.0
- One compiled file and one MQ4 source file
- EURUSD, GBPUSD, USDCHF, GBPJPY on M1 and M5
- Scalping, hedging and martingale logic
- Minimum deposit $1,000
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 is the editable MQ4 source code of the Ouro Hedge Scalping expert advisor, version 3.0, for MetaTrader 4. It lets you read and adjust the logic in MetaEditor.
- Platform: MetaTrader 4, version 3.0
- Symbols: EURUSD, GBPUSD, USDCHF, GBPJPY
- Timeframes: M1, M5
- Strategy: scalping, hedging, martingale (grid/martingale: yes)
- Minimum deposit: $1,000
- In the package: one compiled file and one source file, full MQL4 source code (editable)
Ouro Hedge Scalping source code MQ4 is the editable code behind an expert advisor (EA, a program that trades automatically on a MetaTrader chart) built for MetaTrader 4. The listing describes version 3.0 and a strategy that combines scalping, hedging and martingale.
Scalping here means many short trades aimed at small price moves. Hedging means holding buy and sell positions on the same symbol at the same time. Martingale means increasing the lot size after a losing trade, which the listing states as part of this EA.
The package suits traders and developers who use MT4 and want to study or change the logic in MetaEditor instead of only running a compiled file. It is listed for EURUSD, GBPUSD, USDCHF and GBPJPY on the M1 and M5 timeframes. A change you make is your own work, and nothing here promises that an edited version will behave in a particular way.
The download contains one compiled file and one source file. There are no set files and no PDF guide. If you prefer a different scalping base for MT4, the XMT Scalper source code is another MQ4 scalping package, listed for M5, and the Euro Scalper source code is another MQ4 scalper. The Strategy & Settings tab covers the listed strategy, symbols and timeframes, and the product 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 names three elements: scalping, hedging and martingale, and it marks the product as using grid or martingale logic. Because the lot size grows after a loss in a martingale approach, drawdown (the drop from an account's peak balance) can rise quickly when several losing trades follow each other. Read the lot-sizing code before you run it.
Symbols and timeframes
Listed symbols are EURUSD, GBPUSD, USDCHF and GBPJPY, on M1 and M5. Short timeframes like these make spread and execution speed matter, so the quotes and conditions of your broker affect how a scalping EA behaves.
Hedging and your account
Hedging opens opposing positions on one symbol. Check that your broker and account type allow it before you test, because some accounts net or reject opposing orders.
Deposit and set files
Minimum deposit: $1,000. The download has no set files (saved lists of input settings). Prop-firm suitability is not stated, so do not assume it.
Test before you trade
Compile the code, attach it to a demo account on M1 or M5 and watch several sessions before any live use. Check each input in the code, especially anything that controls lot size, against your own risk limits.
Platform
This package is for MetaTrader 4 only. No minimum build is listed, so use a current MT4 build from metatrader4.com if you need to update.
Files
The zip holds one source file and one compiled file, and no set files. Put the source file in the MQL4 Experts folder (File, Open Data Folder in MT4), open it in MetaEditor and compile it with F7 so you have a fresh build from the code you read. The compiled file also goes in the Experts folder, and a restart or a refresh of the Navigator shows it.
Before you run it
Open a chart for one of the listed symbols (EURUSD, GBPUSD, USDCHF or GBPJPY) on M1 or M5, enable algo trading in the toolbar, and attach the EA to a demo account first. If you edit the code, compile again and test the edited version separately from the one you downloaded. No help with code changes is promised with this download.
Does Ouro Hedge Scalping source code work on MetaTrader 5?
No. The listing shows MT4 only, and the code is MQ4. MT5 uses MQL5, so this package is for MetaTrader 4 accounts.
What do I get besides the MQ4 file?
The package contains one compiled file and one source file, with no set files and no PDF. The source file is the full MQL4 code, version 3.0, that you can open and edit in MetaEditor.
Does a martingale scalper need a larger account than $1,000?
The listing shows a minimum deposit of $1,000 and states martingale as part of the strategy. It does not say what is enough for your lot sizes or broker, so test the inputs on a demo account and size your risk yourself. Trading is risky, as the risk notice in the Overview says; see also the risk warning.
Can I run it on symbols other than EURUSD, GBPUSD, USDCHF and GBPJPY?
The listing shows only those four symbols and the M1 and M5 timeframes. Other symbols are not stated, so anything beyond the list is your own experiment and should be tested on a demo account first.
Do I need a DLL for this EA?
The listing shows DLL: no, so the package does not ship a DLL.
What if I need help or a refund?
Read the refund policy for the conditions. The product is a digital download.
- Platform
- MetaTrader 4
- Type
- Expert Advisor
- Category
- Source Code
- Version
- v3.0
- Updated
- 11/11/2026
| Role | File name | Size | Version |
|---|---|---|---|
| Executable file | Ouro_Hedge_Scalping_EA_Source_Code__MQ4_.zip | 28.0 KB | v3.0 |
Related products
Reviews
No reviews yet.
Tags: EA Source Code





