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

Triangle Hedging - MetaTrader 5 Expert | Gold EA Download - MT4/MT5 Resources - MetaTrader 5 Resources

author EAcpu | 2 reads | 0 comments |

Triangle Hedge - expert for MetaTrader 5

I personally have a hard time understanding the benefits of "hedging" (buying one and selling the same symbol), but since not many brokers follow the American style, there is at least a certain number of traders who dislike the fact that MetaTrader 5 does not support multi-directional positions. So, maybe that would be cool for some people.

The EA will open 2 component positions to synthesize the hedging code. For example, if you wanted to create a "synthetic" EURUSD buy position, you would buy EURUSD and GBP/USD in adjusted lots.

I added the 12 symbols ATC and AUDJPY into the selection list, but you can synthesize any symbol if you have the necessary components. For example, if you have XAUUSD and USDJPY, then we can synthesize XAUJPY etc.

However, we all know that spreads are often doubled and impact your deposit. Sometimes it's better than the "real" symbol, as shown below.

Triangle Hedge - expert for MetaTrader 5

It should be a script but so far I don't know how to make a dialog from a script. This is the only reason why I made it an EA.


Attachment download

📎 symbolsynthesizer.mq5 (3.69 KB)

📎 spineditdouble.mqh (10.46 KB)

📎 symbolsynthesizerdialog.mqh (23.33 KB)

Source: MQL5 #909

Verification code Refresh