Download MetaTrader 5

buy and sell one another cancel each other

To add comments, please log in or register
Thousands of developers have already published their products in the Market. Join them!
brunoneveslt
30
brunoneveslt 2012.03.07 15:15 
Good afternoon,

When I open two different ways in order, for example a buy and sell one another cancel each other. How can I do to avoid cancellation?

My goal is to open a buy order while a sell order, is this possible?How?
Tjipke de Vries
6315
Tjipke de Vries 2012.03.07 18:50  
brunoneveslt:
Good afternoon,

When I open two different ways in order, for example a buy and sell one another cancel each other. How can I do to avoid cancellation?

My goal is to open a buy order while a sell order, is this possible?How?

In mql5 you can't  no hedging

Stay with mql4 if you wanna do this... 

brunoneveslt
30
brunoneveslt 2012.06.19 23:27  
deVries:

In mql5 you can't  no hedging

Stay with mql4 if you wanna do this... 

thank you very much ;) 

Atsushi Yamanaka
5416
Atsushi Yamanaka 2012.06.20 01:54  

At least one broker I know provides this function on MT5.

The company has all the symbols double, like EURUSD and EURUSDL, USDJPY and USDJPYL for all the symbols. So if you wanna hedge, sell one and buy one with "L".


One other way is, when you have EURUSD buy  position and somehow you wanna sell same one, sell EURJPY and buy USDJPY same amount, that's gonna be the "synthesized" EURUSD.

The tool SymbolSynthesizer.mq5 for make it easy will be coming soon on CodeBase.


onewithzachy
2271
onewithzachy 2012.06.20 04:02  
alohafx:

At least one broker I know provides this function on MT5.

The company has all the symbols double, like EURUSD and EURUSDL, USDJPY and USDJPYL for all the symbols. So if you wanna hedge, sell one and buy one with "L".

One other way is, when you have EURUSD buy  position and somehow you wanna sell same one, sell EURJPY and buy USDJPY same amount, that's gonna be the "synthesized" EURUSD.

The tool SymbolSynthesizer.mq5 for make it easy will be coming soon on CodeBase.


Dear alohafx, 

Would you please mention the name of the broker ?

Thank you 

Atsushi Yamanaka
5416
Atsushi Yamanaka 2012.06.20 07:12  
onewithzachy:

Dear alohafx, 

Would you please mention the name of the broker ?

Thank you 

i'm shay enuf to put a link....

so you can gglks


all 4 eurusd bros

onewithzachy
2271
onewithzachy 2012.06.20 07:57  
alohafx:

i'm shay enuf to put a link....

so you can gglks

Right, thank you for that, I will Google, and I will ask second opinion to Yahoo!, Bing and Ask.com.

:D.

khai hoan nguyen
242
khai hoan nguyen 2013.01.29 10:54  
in mt5, you can not hedge. So you can not open order sell order buy on a pair . To hedge, you can open 2 acc. 1acc sell , 1acc buy.
Documentation on MQL5: Standard Constants, Enumerations and Structures / Trade Constants / Trade Orders in DOM
  • www.mql5.com
Standard Constants, Enumerations and Structures / Trade Constants / Trade Orders in DOM - Documentation on MQL5
To add comments, please log in or register