
- MetaTrader 4
- Expert Advisor
- v3.0
- Updated: 11/03/2026
ClevrFx EA Source Code (MQ4)
Editable MQ4 source for a martingale EA on EURUSD and GBPUSD (M5, H1), version 3.0, supplied with 3 set files for MetaTrader 4.
- MetaTrader 4 source code, version 3.0
- Martingale strategy on EURUSD and GBPUSD
- Timeframes M5 and H1
- 5 source files and 3 set files in the download
- Recommended 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 download gives you the editable MQ4 source code of the ClevrFx expert advisor for MetaTrader 4, together with three set files. It is aimed at traders who want to read and adjust the logic in MetaEditor.
- Platform: MetaTrader 4 · Version 3.0
- Symbols: EURUSD, GBPUSD · Timeframes: M5, H1
- Strategy: martingale (grid/martingale: yes)
- Recommended minimum deposit: $1,000
- In the package: 5 source files, 3 set files
- Prop firm: built with prop-firm challenge rules in mind
This ClevrFx source code MQ4 package is the editable program text of an expert advisor (EA, an automated trading program) written for MetaTrader 4. Because it is source code and not a compiled EA, you open it in MetaEditor, read how it works, and compile it yourself before it can run on a chart.
The listing describes the strategy as martingale, which means the lot size is increased after a losing trade. It names EURUSD and GBPUSD as the symbols and M5 and H1 as the timeframes. The current version is 3.0.
The download suits traders and MQL4 programmers who want to study the code, change inputs or logic, and compile their own build in MetaEditor. It does not suit anyone who expects a ready-to-attach file: the Files fact lists no compiled version. Any change you make is your own work and may behave differently from the code as supplied.
The download contains five source files and three set files (saved lists of input settings you load in MetaTrader). It has no PDF manual. The Strategy & Settings tab explains what the listing says about deposit, symbols and prop-firm use, and the Installation tab covers compiling.
If you want to compare it with another MQ4 package, Waka Waka MQ4 source code is another EA source download for the same platform. For background on working with source files, see 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 states the strategy as martingale and marks grid/martingale as yes. In a martingale system each losing trade is followed by a larger lot, so a run of losses can grow the open position and the drawdown (the drop from the account's peak balance) quickly. Before going live, read how the code sizes each new position after a loss.
Symbols, timeframes and deposit
- Symbols: EURUSD, GBPUSD
- Timeframes: M5, H1
- Recommended minimum deposit: $1,000
- Version: 3.0
A minimum MetaTrader 4 build is not stated in the facts, so check that your platform opens and compiles the files without errors.
Set files
The download includes three set files. Each is a starting configuration for the EA's inputs, not a recommendation of results. The facts do not say what separates the three, so open each one in the inputs window and compare the values before choosing one.
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 an evaluation). Rules on EAs and on martingale-style position sizing differ by firm, so check your firm's terms before using it in a challenge.
Testing
Run the compiled EA on a demo account first, on one symbol and timeframe at a time, and watch how position size behaves during a losing sequence. Check the settings again before you trade live.
Platform
This package is for MetaTrader 4 only. It is MQ4 source code, so it will not compile in MetaTrader 5. The facts give no minimum build.
Steps specific to this download
- Extract the zip. It holds five source files and three set files.
- Copy the source files into the MQL4 folder of your MetaTrader 4 data folder (File, Open Data Folder), or open them directly in MetaEditor.
- Open the main EA file in MetaEditor and compile it. Fix any error the compiler reports before continuing.
- Attach the compiled EA to an EURUSD or GBPUSD chart on M5 or H1, the symbols and timeframes the listing names.
- In the EA's inputs window use Load to pick one of the three set files, then check each value.
The package is listed as not using a DLL.
For general platform steps, MetaTrader 4 can be downloaded from MetaTrader 4 download page.
Do I get a compiled ClevrFx EA, or only MQ4 files?
You get five source files and three set files. The Files fact lists zero compiled files, so you must compile the code in MetaEditor before you can attach it to a chart.
Can I load the ClevrFx source code in MetaTrader 5?
No. It is written in MQL4 for MetaTrader 4 and is listed for that platform only. The facts do not describe an MT5 version.
How should I test the martingale logic before using a $1,000 account?
Compile the code, then run it on a demo account on EURUSD or GBPUSD, using M5 or H1. Watch how lot size grows after losses and how large the open exposure becomes. Trading is risky, and the notice at the end of the Overview tab applies; see also the risk warning.
Was it built with prop-firm challenge rules in mind?
The listing says it was built with prop-firm challenge rules in mind. A prop firm is a company that funds traders who pass an evaluation. That is not a pass guarantee, and firms differ in what they allow, so read your firm's rules on EAs first.
Are the set files included with the source code?
Yes, the download includes three set files next to the five source files. Load one from the EA's inputs window after you compile.
What if I need help or a refund?
Read the refund policy for the terms. The product is a digital download, and it is also included in the membership.
- Platform
- MetaTrader 4
- Type
- Expert Advisor
- Category
- Source Code
- Version
- v3.0
- Updated
- 11/03/2026
| Role | File name | Size | Version |
|---|---|---|---|
| Executable file | ClevrFx_EA_Source_Code__MQ4_.zip | 30.2 KB | v3.0 |
Related products
Reviews
No reviews yet.
Tags: EA Source Code





