(Bug) Freezelevel consideration for deleting BuyLimit orders - page 2

 
Rob Josephus Maria Janssen #:

Please see below for corrected code. It does not change the issue (I acknowledge the orderticket was a blunder).

 

Thanks.

So the bug is also on a live market ?

 
I cannot confirm that however it would not be possible to backtest on those brokers

I think the biggest issue currently however community wide, is the inability for anyone using limit orders to pass the EA Upload Validation.
 
Rob Josephus Maria Janssen #:
I cannot confirm that however it would not be possible to backtest on those brokers

I think the biggest issue currently however community wide, is for anyone with limit orders the inability to pass the EA Upload Validation.

Not sure about that. Is it what happened to you ?

Please write me in PM what broker/symbol you are using, so I can check live and report it to MQ.

 
Alain Verleyen #:

Not sure about that. Is it what happened to you ?

Please write me in PM what broker/symbol you are using, so I can check live and report it to MQ.

Alain, I do not have any live brokerage accounts that have freeze levels. I believe FXPRO does but I am not registered there. Also this could be detectable by creating a custom symbol however I am not near a computer that can do that.

Yes; I discovered the issue when attempting to upload an EA to MQL5 through the Seller page. I then replicated the problem in backtest by changing the symbol config file and setting freeze level to something other than zero
 
Rob Josephus Maria Janssen #:
Stanislav thank you. But then how are people with limit orders passing the MQL5 EA Upload Validation currently? And secondly; this issues makes it impossible to make an EA with limit orders work properly for brokers with freezelevels.

The automatic validation can malfunction from time to time, so uploading (of such EAs or any EA, depending from the level of the issue) is not possible until MQ fixes the ongoing problem.

We did not confirm the issue for online yet, so it could probably work normally online. I think this is a tester-specific issue (not the first one).

 
Ok thanks.
 
Alain Verleyen #:
Ok thanks.
Thanks Alan. In the meantime is there anything I can do to circumvent the issue and get my EA uploaded? Or when do you think this issue will be resolved?
 
Rob Josephus Maria Janssen #:
In the meantime is there anything I can do to circumvent the issue and get my EA uploaded? Or when do you think this issue will be resolved?
The problem is only that buy limit order can't be removed on a symbol with a freeze level, right? I suppose this can affect profits, but should not stop automatic validation.
 
Stanislav Korotky #:
The problem is only that buy limit order can't be removed on a symbol with a freeze level, right? I suppose this can affect profits, but should not stop automatic validation.
Hi Stanislav, it does prevent automatic validation as the validation will test on freeze level handling and therefore will return on the ‘invalid stops’ error
[Deleted]  
Rob Josephus Maria Janssen #Hi Stanislav, it does prevent automatic validation as the validation will test on freeze level handling and therefore will return on the ‘invalid stops’ error

With such narrow thin order management placement, in real life trading during moments of high volatility and slippage, the same issue will also occur, irrespective of now it being only a tester issue.

Pending orders should not be used this way, and many brokers will actually issue a warning when they detect too many create/cancel operations on an account, and may even block you.

Instead, monitor the condition in real-time and use market orders, not pending orders. Pending orders were meant for long-term or manual trading, not for scalping nor necessarily for automated trading.

You are using the wrong "tool" for the type of strategy you are want to implement.

I misunderstood the issue. My apologies!