Loading…

Sure Forex Hedging

Sure Forex Hedging is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. Its name points to hedged buy / sell positions. It raises the lot size after losses (martingale — high risk), can hold buy and sell positions together and places pending orders. It has 27 settings, for example initial deal (default 0), stoploss (default 60) and takeprofit (default 30). 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 · v1.0 · Free

About Sure Forex Hedging

Sure Forex Hedging is an expert advisor (trading robot) for MetaTrader 4. It increases the lot size after a losing trade (martingale), can hold buy and sell positions at the same time (hedging) and places pending buy/sell stop or limit orders. It has 27 settings, such as Initial deal, Stoploss and Takeprofit. MQL source code included.

It also can size trades from your balance and risk percent.

Files in the download: SureForexHedging.mq4.

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

Settings

SettingDefaultWhat it does
Initial deal0Direction of initial deal: 0 - buy deal, 1 - sell deal, other values - new opening disabled
Stoploss60Stoploss for all deals
Takeprofit30takeprofit for all deals
Fixed lot0.1If > 0, the initial deal will be opened with this lot
Deposit lot0If fixed_lot is 0 and deposit_lot > 0, initial deal will be opened with volume Balance / deposit_lot
Martin koeff13Lot multiplier for first hedging deal
Martin koeff22Lot multiplier for second, third and further hedging deals
Enable daily profit0Enable option to stop trading if a daily profit exceeds following values (it considers profit for AL
Daily profit0Daily profit in the account currency
Daily profit percent0Daily profit as a percent to Balance of start of the day
Distance030If > 0, distance for placing 1-st hedging deal
Distance10If > 0, distance for placing 2-nd hedging deal
Distance20If > 0, distance for placing 3-rd hedging deal
Distance30If > 0, distance for placing 4-th hedging deal
Distance40If > 0, distance for placing 5-th hedging deal
Distance50If > 0, distance for placing 6-th hedging deal
Distance60If > 0, distance for placing 7-th hedging deal
Distance70If > 0, distance for placing 8-th hedging deal
Distance80If > 0, distance for placing 9-th hedging deal
Distance90If > 0, distance for placing 10-th hedging deal
Normal spread0This value in pips is substracted from SELL takeprofit and added to SELL stoploss to consider the sp
Sep0 common EA settings
Params digits4If = 4, then stoploss, takeprofit and distances are specified in 4-digit points, if = 5, then in 5-d
Initial magic123000Initial magic number for 1-st deal. Hedging deals add 1 to this number
Market execution0Set to 1 for ECN and STP accounts (stoploss and takeprofit are modified only after an order is sent)
Command attempts5Number of simultaneous attempts of sending broker requests (if some error occurs)
Max slippage10Maximum slippage

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 · Martingale · Pending Orders · Risk & Lot Size · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria