
- MetaTrader 4
- Expert Advisor
- v4.0
- Updated: 11/08/2026
Mansa Musa Flipping Robot EA Source Code (MQ4)
Editable MQL4 source and compiled file of a martingale and breakout gold EA for MetaTrader 4, built for XAUUSD on the M30 chart.
- MetaTrader 4, version 4.0
- XAUUSD on the M30 timeframe
- Martingale, breakout and trend following
- 1 compiled file and 1 editable MQ4 source file
- No DLL needed, no set files included
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 policyMansa Musa Flipping Robot is an expert advisor for MetaTrader 4, and this download gives you its full MQL4 source code next to the compiled file. It is designed for XAUUSD on the M30 chart.
- Platform: MetaTrader 4, version 4.0
- Symbol: XAUUSD, timeframe: M30
- Strategy: martingale, breakout, trend following; grid/martingale: yes
- Recommended minimum deposit: $100
- In the package: 1 compiled file and 1 editable source file, no set files, no DLL
- Prop firm: built with prop-firm challenge rules in mind
The mansa musa flipping robot source code mq4 package is an expert advisor for MetaTrader 4 (MT4) that you can read and edit, not only run. It is listed as version 4.0 and is designed for gold, traded as XAUUSD, on the M30 chart.
The listing describes its logic as a mix of martingale, breakout and trend following. Martingale means the lot size grows after a losing trade. A breakout entry is taken when price leaves a recent range. Trend following means trading in the direction the market is already moving. The listing also marks the EA as built with prop-firm challenge rules in mind.
This page suits MT4 traders who work with XAUUSD and want the MQ4 file open in MetaEditor, so they can study how the entries and the lot sizing are written. It also suits people who prefer to adjust the code themselves. Any change you make is your own work, and nobody can promise that an edited version behaves as the listed one does. Related source code in the shop includes The Gold Reaper EA source code for MT4 and HFT Gold EA source code for MT4.
The download is one zip file with two files inside: one compiled file and one MQ4 source file. There are no set files, no PDF guide and no DLL. For the difference between the two file types, read the MQ4 and MQ5 source code guide. The Strategy & Settings tab explains the strategy type and the recommended minimum deposit of $100, and the Installation tab covers compiling and loading the EA. Every product in the shop 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 facts list three strategy types: martingale, breakout and trend following. The listing states that grid or martingale logic is used, so you should expect the position size to grow after losing trades. In a sequence of losses the drawdown (the drop from the account's peak balance) can rise quickly, and a small account can run out of margin.
Breakout entries react when price moves out of a range. On a volatile symbol such as XAUUSD, a move that looks like a breakout can reverse, so false signals are part of this approach.
Symbol, timeframe and deposit
- Symbol: XAUUSD (gold)
- Timeframe: M30
- Recommended minimum deposit: $100
- Set files: none are included, so you work with the EA's own input settings
The minimum deposit is the figure given in the listing, not a statement about how any account will perform. With martingale logic, a higher balance and a lower starting lot give more room, so check the lot-related inputs before you attach the EA to a chart.
Prop-firm accounts
The listing says it was built with prop-firm challenge rules in mind (accounts from a company that funds traders who pass its evaluation). Rules on EAs, lot sizing and martingale differ by firm, so read your firm's rules before using it there.
Testing first
Run the EA on a demo account with a XAUUSD M30 chart and read through the inputs before trading live. Because you have the source, you can also read how the lot size is calculated in MetaEditor.
Platform and files
This product is for MetaTrader 4 only. No minimum build is stated in the listing. The zip contains one compiled file and one MQ4 source file. No set files are included, so there is nothing to load from the inputs window. The listing shows no DLL, so you do not need to change any DLL setting.
Steps
- Extract the zip on your computer.
- In MT4, choose File, then Open Data Folder, and open MQL4, then Experts.
- Copy the compiled file into the Experts folder. To edit the logic, copy the MQ4 file there as well and open it in MetaEditor.
- In MetaEditor, press Compile after any change. A source file must be compiled before MT4 can run it.
- Restart MT4 or refresh the Navigator, open an XAUUSD chart, set it to M30 and drag the EA onto it with algo trading enabled.
Use only XAUUSD, as listed. Your broker may name gold with a suffix, so check the symbol name in Market Watch. For help with MetaTrader itself, see the MetaTrader 4 website.
Do I get an editable file or only a compiled EA with this Mansa Musa Flipping Robot package?
You get both. The zip holds one compiled file and one MQ4 source file, so you can run the EA and also open the code in MetaEditor. Remember to compile again after any edit.
Can I run this XAUUSD M30 martingale EA on MetaTrader 5?
No. It is an MQ4 product for MetaTrader 4 only. The listing gives XAUUSD on M30 as the symbol and timeframe.
How should I test the martingale lot sizing before I trade live?
Attach it to a demo XAUUSD M30 chart and watch how the lot size changes after losing trades. Martingale logic can raise drawdown fast, so understand that before using real money. Trading is risky, as the risk notice in the Overview states.
Is the $100 recommended minimum deposit enough to use it?
It is the minimum the listing recommends, not a promise about results. Because martingale increases position size after losses, check the lot inputs against your own balance on a demo account first.
Can I use it on a prop-firm account?
The listing says it was built with prop-firm challenge rules in mind. Firms differ in what they allow, so check your firm's rules on EAs and martingale before you use it.
What if I need help or a refund?
Read the refund policy for the terms. This shop sells the files and is not the developer of the EA.
- Platform
- MetaTrader 4
- Type
- Expert Advisor
- Category
- Source Code
- Version
- v4.0
- Updated
- 11/08/2026
| Role | File name | Size | Version |
|---|---|---|---|
| Executable file | Mansa_Musa_Flipping_Robot_EA_Source_Code__MQ4_.zip | 212.7 KB | v4.0 |
Related products
Reviews
No reviews yet.
Tags: EA Source Code





