Skip to content
All library documents

Synthetic Hedge Positions from Two Currency Pairs

Article MQL5 code base

Summary

This document describes an Expert Advisor that creates a synthetic position in one symbol by opening two component positions. For example, a long EUR/USD exposure can be approximated by buying EUR/GBP and GBP/USD in adjusted lot sizes. The same idea can combine other available instruments, such as gold priced in dollars with a dollar-yen pair to form a gold-yen exposure. This can be useful in platforms or account setups that do not support holding opposing positions in the same symbol.

The post gives conceptual examples but no sizing formula, execution details, tests, or performance results. It explicitly cautions that using two legs normally incurs the spreads of both instruments, which can make the synthetic exposure more costly than trading the direct symbol. Practical results also depend on lot conversion, quote availability, and the behavior of both legs. The author presents the tool as a convenience for constructing exposure, not as a demonstrated arbitrage or return-enhancing strategy.

Key ideas

  • A synthetic symbol exposure can be assembled from two component instruments.
  • The component lot sizes must be adjusted to approximate the target exposure.
  • The method can provide directional exposure where a platform does not support opposing positions in one symbol.
  • Trading both legs generally incurs costs from both spreads.
  • The post provides examples but no sizing method or performance evaluation.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.