Loading…

Hedge EA V4

Hedge EA V4 — a MetaTrader 4 expert advisor (trading robot) kept in the Old Kings collection. Judging by its name, it is built around hedged buy / sell positions. This copy is version 4. It can hold buy and sell positions together and can size trades from your risk. It has 24 settings, for example Expert Name (default HedgeEA V.4), Magic (default 1001) and Symbol1 (default GBPJPY). 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 · v4 · Free

About Hedge EA V4

Hedge EA V4 is an expert advisor (trading robot) for MetaTrader 4. It can hold buy and sell positions at the same time (hedging) and can size trades from your balance and risk percent. It has 24 settings, such as Expert name, Magic and Symbol1. MQL source code included.

Files in the download: HedgeEA_v4.mq4.

Trading robots can lose money. Check every setting and test on a demo account before using real funds.

Settings

SettingDefaultWhat it does
Expert nameHedgeEA V.4
Magic1001Magic Number ( 0 - for All positions)
Symbol1GBPJPY
Symbol1is longtrue
Symbol2CHFJPY
Symbol2is longfalse
LotsizesSet Ratio to 1 to use equal
Lots0.1Lots
Ratio1.8
Data Input Data
Stop manage accfalseStop of Manage Account switch(Close All Trades)
Use pipsfalse
Profit target50Profit target in pips or USD
Max loss0Maximum total loss in pips or USD
Data2Correlation Settings
Use correlationfalseIf the correlation is used to check before put new Orders
Min correlation0.8
Max correlation1.0
Data3SWAP Settings
Use swaptrue
Data4Money Management
Account is microfalse
Money managementtrue
Risk1510%

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Experts.
  3. Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
  4. Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the expert advisor from the Navigator onto a chart, check the settings, allow Algo/Auto Trading and press OK.
  6. Test it first on a demo account or in the Strategy Tester.

Download the PDF guide

Tags: Hedging · Risk & Lot Size · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria