Unlock Profits with EES Hedger for MetaTrader 5

Mike 2018.07.09 19:29 22 0 0
Attachments

Idea by: eesfx.

MQL5 code by: Vladimir Karputov.

Ever found yourself wishing you could trade against the trend? Whether you're trading manually or using another EA, the EES Hedger utility is here to help. It can instantly open opposite positions based on the parameters you set. And don't worry, it keeps track of trades opened manually or by other EAs through the OnTradeTransaction function.

 

How to Use EES Hedger

Let's say you're using the SAR indicator to trade GBPUSD with a magic number of 1234. To use EES Hedger alongside SAR, simply open another GBPUSD chart (make sure it’s the same currency pair). It’s crucial that the timeframe matches or is shorter than what SAR is using.

Next, in the external variables of EES Hedger, you'll need to input the SAR magic number into Original_EA_Magic (in this case, that's 1234). Just ensure that Advocate_EA_Magic is different from Original_EA_Magic. This way, whenever SAR opens a trade, EES Hedger will automatically open an opposite position. If you’re using EES Hedger for manual trading, just set Original_EA_Magic to 0.

 

Program Parameters Explained

  • Lots - This sets the volume of the position that EES Hedger will open.
  • Stop Loss (in pips) - Sets the stop loss for the position opened by EES Hedger.
  • Take Profit (in pips) - Defines the take profit level for the position opened by EES Hedger.
  • Trailing Stop (in pips) - Enables trailing for the position opened by EES Hedger.
  • Trailing Step (in pips) - Sets the trailing step for the position opened by EES Hedger.
  • Original EA Magic Number - This is the magic number used by your first EA that the advocating EA will base its trades on.
  • Advocate EA Magic Number - This is the magic number for the advocating EA, which should remain unique to prevent conflicts.
List
Comments 0