Loading…

Hedge EA V6.5 2 2

This Old Kings expert advisor (trading robot) for MetaTrader 4 is called Hedge EA V6.5 2 2. Its name points to hedged buy / sell positions. The file name marks it as version 6.5.2. In the code it works with moving averages and Bollinger Bands. It can size trades from your risk and handles several symbols. It has 34 settings, for example eaname (default [6.3]), Magic (default 1001) and Autotrade (default true). 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 · v6.5 · Free

About Hedge EA V6.5 2 2

Hedge EA V6.5 2 2 is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average and Bollinger Bands. It can size trades from your balance and risk percent and works on several symbols at once. It has 34 settings, such as Eaname, Magic and Autotrade. MQL source code included.

Files in the download: HedgeEA_v6.5(Bullforyou.com).mq4.

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

Settings

SettingDefaultWhat it does
Eaname[6.3]Expert Name and first part of comment line
Magic1001Magic Number ( 0 - for All positions)
AutotradetrueSet to false to prevent an entry after an exit
Symbol1GBPJPY
Symbol1is longtrueSet to true to put long orders on the second pair
Symbol2CHFJPY
Symbol2is longfalseSet to true to put long orders on the second pair
LotsizesSet Ratio to 1 to use equal
Lots0.1Lots for first pair if MM is turned off
Use auto ratiotrue
Ratio1.8Ratio between the two pairs
Sma value for range200
Data Input Data
Stop manage accfalseStop of Manage Account switch(Close All Trades)
Max loss0Maximum total loss in pips or USD
Data2Correlation Settings
Use correlationtrueSet to true if you want to use correlation as an entry signal
C period20If the correlation is used to check before put new Orders
Min correlation0.8
Max correlation1.0
Data3Bollinger Band Settings
Use bollingerfalseSet to true to use Bollinger bands as an entry signal
Bollinger symbolGBPCHF
Bollinger period20Period must be in minutes
Bollinger tf60
Bollinger dev2
Data4SWAP Settings
Use swaptrueSelect true if you want to use swap on profit calculation
Data5Money Management
Profit target50Profit target in pips or USD
Money managementtrue
Risk20Risk
Auto profittrueWhen the price of Bolliner pair passes the Upper Bollinger close all trades
Email reportfalseTurn this alert on or off

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 · Multi-Currency · Moving Average · Bollinger Bands · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria