[Build 137.1639 RC3] FIXED : Pending Order Doesn't exist/exist function with Any MagicNumber not working




 If we use "Pending Order Doesn't  exist" function with  Any MagicNumber (Image 0) we are getting a MagicNumber in a source code instead of "any".(image 1)

We may have the same bug with  "Pending Order exist" function . It is better to check both function.

please see attached video




Attachments
  • Votes +1
  • Project AlgoWizard
  • Type Bug
  • Status Fixed
  • Priority Normal

History

E
#1

Emmanuel

04.07.2023 09:18

Task created

E
#2

Emmanuel

04.07.2023 09:18
Voted for this task.
E
#3

Emmanuel

04.07.2023 09:23

Description changed:





 If we use Close Pending Order function with  Any MagicNumber (Image 0) we are getting a MagicNumber in a source code instead of any.(image 1)


It wont close all pending order, but only one.

(With Any MagicNumber,  it is using sqClosePendingOrder function instead of sqCloseAllPendingOrders function in the source code ?)



please see attached video




E
#4

Emmanuel

04.07.2023 11:33

Attachment Pending Order.mp4 deleted

E
#5

Emmanuel

04.07.2023 11:33

Attachment image-1.png deleted

E
#6

Emmanuel

04.07.2023 11:33

Attachment image-0.png deleted

E
#7

Emmanuel

04.07.2023 11:53

Subject changed from [Build 137.1639 RC3] Urgent : Close Pending Order with Any MagicNumber not working to [Build 137.1639 RC3] Urgent : Pending Order Doesn't exist/Exist with Any MagicNumber not working

Description changed:




 If we use "Pending Order Doesn't  exist" function with  Any MagicNumber (Image 0) we are getting a MagicNumber in a source code instead of "any".(image 1)

We may have the same bug with  "Pending Order exist" function . It is better to check both function.

please see attached video




Attachment PendingOrderExist.mp4 added

Attachment image-0.png added

Attachment image-1.png added

image-1.png
(6.77 KiB)
image-0.png
(5.24 KiB)
PendingOrderExist.mp4
(4.61 MiB)
E
#8

Emmanuel

04.07.2023 11:54

Subject changed from [Build 137.1639 RC3] Urgent : Pending Order Doesn't exist/Exist with Any MagicNumber not working to [Build 137.1639 RC3] Urgent : Pending Order Doesn't exist/exist function with Any MagicNumber not working

E
#9

Emmanuel

04.07.2023 17:49
I cloned the function and change a parameter (code below) and now I have in the MQL5 source code :


&&   (sqSelectPendingOrderByDir(0, "Current", 0, "") != true))


without "MagicNumber"


it seem that SelectionVariablesWithAny was updated, but is not working correctly


snippets :

    @Parameter(defaultValue="0", category="Order identification", showIfDefault=false)
    @Help("Magic number that can identify the order.")
    @Editor(type=Editors.SelectionVariablesWithAny)
    public int MagicNumber;
TT
#10

Tamas

25.07.2023 08:05

Status changed from New to Waiting for information

Attachment image-0.png added

Attachment image-0.png added

image-0.png
(460.28 KiB)
image-0.png
(433.20 KiB)
sqSelectPendingOrderByDir(0, "Current", 0, "")
sqSelectPendingOrderByDir(int magicNo, string symbol, int direction, string comment)
first param is 0, it means ANY in source code Can you please provide more details about the problem ? I cannot see it.

E
#11

Emmanuel

25.07.2023 15:36

Attachment image-0.png added

image-0.png
(22.64 KiB)
I did the same on Build 137.1688  RC4 , and I do not have this error anymore as well.


Excellent, It is working fine on Build 137 RC4 


This is fixed for me as well



E
#12

Emmanuel

25.07.2023 15:37

Subject changed from [Build 137.1639 RC3] Urgent : Pending Order Doesn't exist/exist function with Any MagicNumber not working to [Build 137.1639 RC3] FIXED : Pending Order Doesn't exist/exist function with Any MagicNumber not working

TT
#13

Tamas

27.07.2023 08:30

Status changed from Waiting for information to Fixed


Votes: +1

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please