Hi Net Hedge
From the Old Kings archive: Hi Net Hedge, an expert advisor (trading robot) for MetaTrader 4. Its name points to hedged buy / sell positions. In the code it works with moving averages, Bollinger Bands and ATR. It works with a grid of orders, moves the stop behind price and can size trades from your risk. It has 26 settings, for example Emergency Exit (default === Emergency Exit ===), Manual Shut Down (default FALSE) and HGM Parameters (default === iHGM(EXP) Parameters). Watch it on a demo account for a while — robots can behave differently with each broker. Inside: 2 EA files with source code (.mq4) you can open and edit in MetaEditor and a PDF guide. 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 Hi Net Hedge
Hi Net Hedge is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average, Bollinger Bands and ATR. It opens a grid of orders at fixed price steps, moves the stop loss behind price (trailing stop / break-even) and can size trades from your balance and risk percent. It has 26 settings, such as Emergency exit, Manual shut down and Hgm parameters. MQL source code included.
Files in the download: HGMS EA Configuration Manual.pdf, Hi-Net_iHGM_v7.8(EXP-D).ex4, Hi-Net_iHGM_v7.8(EXP-D)~.mq4, Optimized HG EA Lot Size settings.xls.
Trading robots can lose money. Check every setting and test on a demo account before using real funds.
Settings
| Setting | Default | What it does |
|---|---|---|
| Emergency exit | === Emergency Exit === | |
| Manual shut down | FALSE | |
| Hgm parameters | === iHGM(EXP) Parameters ===== | |
| Magic number | 1234 | Magic number that tells this EA's orders apart |
| Anchor space in pips | 50 | |
| Grid size in pips | 20 | |
| Fixed lot size settings | ==== Lot Size for each level ===== | |
| Fixed lot size1 | 0.1 | |
| Fixed lot size2 | 0.2 | |
| Fixed lot size3 | 0.4 | |
| Fixed lot size4 | 0.4 | |
| Fixed lot size5 above | 0.4 | |
| Ea entry period setting | ==== Trading hour ==== | Number of bars in the calculation |
| Ea entry period start | 00:00 | Number of bars in the calculation |
| Ea entry period end | 23:59 | Number of bars in the calculation |
| Profit target setting | ==== EA closes-all when equity is > ==== | |
| Profit target to close cycle | 35.0 | |
| Send email on hitting profit | FALSE | Turn this alert on or off |
| Hibernate after equity close | FALSE | |
| Equity stop loss | ==== EA closes-all orders when Floatloss | Stop loss distance |
| Floating loss protection | FALSE | |
| Max floating loss | 0.0 | |
| Hibernate after floating | FALSE | |
| Break even option | ==== EA look to close-all at Maxlevel == | Move the stop to break-even |
| Max level trigger break even | 2 | Move the stop to break-even |
| Hibernate after break even | FALSE | Move the stop to break-even |
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 · Grid · Trailing Stop & Break-even · Risk & Lot Size · Moving Average · Bollinger Bands · ATR · MT4 Expert Advisor · MQL4 Source Code