Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

EES Hedger - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 Resources

author EAcpu | 5 reads | 0 comments |

Idea from : AceForex .

MQL5 code by : Vladimir Karputov .

Do you need to trade against the trend? When trading manually or using other EAs, the utility EES Hedger can instantly open opposite positions as specified in its parameters. Positions opened manually or by other EAs are traded online at the moment.

For example, you trade GBPUSD using SAR, and SAR uses the magic number 1234. Now you want to use EES Hedger with SAR. Open another GBPUSD chart, that is using the same currency pair as the SAR trade. Here, it is important that the time range should be equal to or lower than the time range used for SAR.

Now, in the external variables of the EES Hedger: specify the SAR magic number in Original_EA_Magic; in our case it is 1234. Then make sure Advocate_EA_Magic is different from Original_EA_Magic. Once SAR opens a transaction, EES Hedger opens another opposite transaction. If you want to use EES Hedger for manual trading, just set Original_EA_Magic = 0.


Attachment download

📎ees_hedger.mq5 (35.29 KB)

Source: MQL5 #18494

Verification code Refresh