Hedg Expert V1
Hedg Expert V1 — a MetaTrader 4 expert advisor (trading robot) kept in the Old Kings collection. This copy is version 1. It can hold buy and sell positions together, places pending orders and can size trades from your risk. It has 20 settings, for example Expert Name (default ---- HedgExpert_v1 ----), Magic (default 10000) and Slippage (default 6). Before any live use, test it on a demo account and check its lot size, stop loss and trading hours. 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 · Free
About Hedg Expert V1
Hedg Expert V1 is an expert advisor (trading robot) for MetaTrader 4. It can hold buy and sell positions at the same time (hedging), places pending buy/sell stop or limit orders and can size trades from your balance and risk percent. It has 20 settings, such as Expert name, Magic and Slippage. MQL source code included.
Files in the download: HedgExpert_v1.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 |
|---|---|---|
| Expert name | ---- HedgExpert_v1 ---- | |
| Magic | 10000 | Magic number that tells this EA's orders apart |
| Slippage | 6 | Maximum slippage allowed when opening a trade |
| Trace | false | Trace Switch |
| Main parameters | Trade Volume & Trade Method | |
| Lots | 0.1 | Lot size |
| Orders mode | 1 | 1- Limit Orders; 2 - Stop Orders |
| Data | Input Data | |
| Time frame | D1 | Working period (M1,M5...H1...D1...W1) |
| Net profit | 50 | Net Profit |
| Net loss | 50 | Net Loss |
| Initial stop | 10 | Initial Stop in pips |
| Take profit | 20 | Take Profit in pips |
| First ord gap | 20 | Gap for Pending Orders from High/Low in pips |
| Number ords | 2 | Number of orders to place |
| Step size | 10 | Pips between orders |
| Mm parameters | MoneyManagement by L.Williams | |
| MM | false | Switch |
| Mm risk | 0.15 | Risk Factor |
| Loss max | 1000 | Maximum Loss by 1 Lot |
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 · Pending Orders · Risk & Lot Size · MT4 Expert Advisor · MQL4 Source Code