Download MetaTrader 5
To add comments, please log in or register
Speed up MQL5 Cloud Network. Install Strategy Tester Agent!
zifu wang
636
zifu wang 2012.12.16 05:46 

There will be an update in next Metrader 5 build:

Signals: Modified behavior for received requotes and other errors when synchronizing positions and executing signals. When requote is received, a retry of trading operation is performed with an increased allowed slippage (0.5 of current spread for the instrument). 

  

so How can I cancel current trading operation when requote is received?  I need to monitor the spread when trading.

phi nuts
2184
phi nuts 2012.12.16 10:01  
kwang1:

 

There will be an update in next Metrader 5 build:

Signals: Modified behavior for received requotes and other errors when synchronizing positions and executing signals. When requote is received, a retry of trading operation is performed with an increased allowed slippage (0.5 of current spread for the instrument). 

  

so How can I cancel current trading operation when requote is received?  I need to monitor the spread when trading.

Shutdown your MT, because AFAIK we can't. 
zifu wang
636
zifu wang 2012.12.17 08:27  
phi.nuts:
Shutdown your MT, because AFAIK we can't. 

 But this is not a best solution. Can I cancel the trades by MQL5 program ?

phi nuts
2184
phi nuts 2012.12.17 11:25  
kwang1:

 But this is not a best solution. Can I cancel the trades by MQL5 program ?

You're talking about canceling incoming mql5 trading signal right ?. AFAIK, there's nothing to stop incoming trades from MQ5 signal.

But your topic here may become good idea. There's option in MT for EA (but not for MQL5 signal), that is "Ask for manual confirmation", maybe you can ask that to Service Desk.  

 

Jinsong Zhang
15358
Jinsong Zhang 2012.12.18 06:42  
phi.nuts:

You're talking about canceling incoming mql5 trading signal right ?. AFAIK, there's nothing to stop incoming trades from MQ5 signal.

But your topic here may become good idea. There's option in MT for EA (but not for MQL5 signal), that is "Ask for manual confirmation", maybe you can ask that to Service Desk.  

 

i think the function "Ask for manual confirmation" should be coded in EA if need, but not need integrated in MT5 
phi nuts
2184
phi nuts 2012.12.18 09:12  
song_song:
i think the function "Ask for manual confirmation" should be coded in EA if need, but not need integrated in MT5 

What kwang1 wanted was to cancel incoming trade from mql5 signal, so I think "Ask for manual confirmation" can be helpful in this case.

Aren't you forgetting something song__song ?, if we want to code "Ask for manual confirmation" we can simply use MessageBox ;)

 

zifu wang
636
zifu wang 2012.12.19 15:30  

When requote is received, a retry of trading operation is performed with an increased allowed slippage (0.5 of current spread for the instrument).

But I wanna cancel the trade if the splippage is increased.

How to monitor and handle it by MQL5 code? 

phi nuts
2184
phi nuts 2012.12.20 08:33  
kwang1:

When requote is received, a retry of trading operation is performed with an increased allowed slippage (0.5 of current spread for the instrument).

But I wanna cancel the trade if the splippage is increased.

How to monitor and handle it by MQL5 code? 

Nope, there's no mql5 code for that.

You may want to use the same broker as signal provider or ask the signal provider to create signal (demo or live) using your broker. Though, you may still getting a retry but may be not as much as using different broker. 

/
To add comments, please log in or register