Pure Martingale
Pure Martingale is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. As the name suggests, the idea behind it is martingale money management (bigger lots after a loss — high risk). It raises the lot size after losses (martingale — high risk) and has a trading-hours filter. It has 25 settings, for example separator1 (default ------ Martingale settin), sl tp (default 20) and lots Multiplier (default 1.5). Run it in the Strategy Tester and then on a demo account to see how it opens and closes trades. Inside: 1 EA file with source code (.mq4) you can open and edit in MetaEditor. Old Kings are classic community tools shared as-is. Not tested by PolyMaria. Try it on a demo account first. Are you the author of this tool? Message us on Telegram (@abumarket_support) and we will credit you or take it down.
Expert advisor · MT4 · v1.0 · Free
About Pure Martingale
Pure Martingale is an expert advisor (trading robot) for MetaTrader 4. It increases the lot size after a losing trade (martingale) and trades only in the hours you set (time filter). It has 25 settings, such as Separator1, Sl tp and Lots multiplier. MQL source code included.
Files in the download: Pure_Martingale.mq4.
Trading robots can lose money. Check every setting and test on a demo account before using real funds.
Settings
| Setting | Default | What it does |
|---|---|---|
| Separator1 | ------ Martingale settings ------ | |
| Sl tp | 20 | stop loss and take profit |
| Lots multiplier | 1.5 | How much the lot size grows after a loss |
| Distance multiplier | 1.5 | How much the lot size grows after a loss |
| Lots | 0.03 | fixed lot size |
| Max slippage | 3 | Maximum slippage allowed when opening a trade |
| Magic number | 1212123 | Magic number that tells this EA's orders apart |
| Separator2 | ------ Trading Hours ------ | |
| Use trading hours | false | |
| Start time | 06:00 | |
| Stop time | 18:00 | |
| Gmt offset | 0 | |
| Separator3 | ------ Trading Days ------ | |
| Monday | true | |
| Tuesday | true | |
| Wednesday | true | |
| Thursday | true | |
| Friday | true | |
| Saturday | true | |
| Sunday | true | |
| Separator4 | ------ Wiew settings ------ | |
| Show menu | true | |
| Menu color | Yellow | Colour on the chart |
| Variables color | Red | Colour on the chart |
| Font | 10 |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Experts.
- Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
- Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the expert advisor from the Navigator onto a chart, check the settings, allow Algo/Auto Trading and press OK.
- Test it first on a demo account or in the Strategy Tester.
Tags: Martingale · Time Filter · MT4 Expert Advisor · MQL4 Source Code