3 Pairs Hedge2
This Old Kings expert advisor (trading robot) for MetaTrader 4 is called 3 Pairs Hedge2. In the code it works with moving averages. It can hold buy and sell positions together and handles several symbols. It has 27 settings, for example Magic (default 2012), EAcom (default 3PairHedge2012) and Lots (default 0.5). Watch it on a demo account for a while — robots can behave differently with each broker. 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 3 Pairs Hedge2
3 Pairs Hedge2 is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average. It can hold buy and sell positions at the same time (hedging) and works on several symbols at once. It has 27 settings, such as Magic, E acom and Lots. MQL source code included.
Files in the download: 3PairsHedge.mq4, 3PairsHedge.rar.
Trading robots can lose money. Check every setting and test on a demo account before using real funds.
Settings
| Setting | Default | What it does |
|---|---|---|
| Magic | 2012 | Magic number that tells this EA's orders apart |
| E acom | 3PairHedge2012 | |
| Lots | 0.5 | Trade size in lots |
| Use auto lot | true | |
| Profit pips | 25 | |
| Margin level | 600 | |
| Ibf xmini | false | |
| Auto trade | TRUE | automatic trade opening once difference is 10 |
| Negative corr | true | EURUSD - USDCHF : negative correlation |
| Pair one | ||
| Pair1 | EURUSD | |
| Pair1 buy | true | |
| Pair two | ||
| Pair2 | USDCHF | |
| Pair2 buy | true | |
| Pair three | ||
| Pair3 | EURCHF | |
| Pair3 buy | false | |
| Colors | Colour on the chart | |
| Title color | Black | Colour on the chart |
| Underline color | Blue | Colour on the chart |
| Color1 | Green | Colour on the chart |
| Color2 | Red | Colour on the chart |
| Color3 | Blue | Colour on the chart |
| Color4 | Black | Colour on the chart |
| Xoff | 400 | Offset for comments |
| Yoff | 0 |
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: Hedging · Multi-Currency · Moving Average · MT4 Expert Advisor · MQL4 Source Code