I need a way to open a spread order between 2 assetts for a price X

 
basically looking for a way to add 2 assetts to a graph  ex: ABC - (MINUS) DEF = X price  so i can buy 1 side and sell the other at the same time with a specified spread price
thank you
 
Daniel Carneiro: basically looking for a way to add 2 assetts to a graph  ex: ABC - (MINUS) DEF = X price  so i can buy 1 side and sell the other at the same time with a specified spread price
thank you

You can create a Synthetic Symbol (for the "X = ABC - (MINUS) DEF"), by using the Custom Symbol functionality.

However, you will not be able to live trade the Synthetic Symbol.

For manual trading, you will have to create a utility EA (a Trade Assistant) that will relay the trade operations to the real symbols.

Custom Financial Instruments - For Advanced Users - Trading Operations - MetaTrader 5 Help
  • www.metatrader5.com
The trading platform allows creating custom financial symbols. You can view charts of such symbols and perform technical analysis , as well as use...