Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Expert Advisor | Triangle Hedge

Description:

I, myself, hardly understand the benefit of "Hedging" (Buy one Sell the same symbol), but since not many brokers follow the American style, at least certain number of traders don't like that in MetaTrader 5 multi-directional positions are not supported. So, maybe it will be cool for some people.

This EA will open 2 component positions to synthesize the hedge symbol. For example, if you want to make "synthesized" EURUSD Buy position, you can buy EURGBP and GBPUSD with adjusted lots.

I have added 12 symbols from 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 normally it takes double spread and affects your deposit. Sometimes it is better than "real" symbol like below.

Image:

MetaTrader Experts, Indicators, Scripts and Libraries

It should be a script, but I don't know how to make dialog-box from script so far. That's the only reason I made it EA.

The files are;

  • EA: SymbolSynthesizer.mq5
  • Class: SymbolSynthesizerDialog.mqh (put in "/Include" folder)
  • Class: SpinEditDouble.mqh (put in "/Include" folder, modified from SpinEdit.mqh, to use for double value)
909

Best MetaTrader Indicators + Profitable Expert Advisors