order ticket
-
How can I have all the order tickets???
-
@mhmd I guess you mean you need just one only specific ticket number, right? You can find the most recently open one this way:

-
@l-andorrà said in order ticket:
@mhmd I guess you mean you need just one only specific ticket number, right? You can find the most recently open one this way:

No, I don't want the last order ticket, I want the ticket of all opened orders to be placed in buttons on the chart that I can do something with.
-
@l-andorrà
I want the tickets to be placed in the buttons and a button to be made for each order, of course, it only fetches the ticket of the last transaction and does not recognize the ticket of other orders.
![25118481-945f-44a6-a532-89b1df71e3c8-61267182_ RoboForex-Demo - Demo Account - RoboForex Ltd - [GBPUSD,M5] 08_06_2024 6_44_59 pm.png](/forum/assets/uploads/files/1717859995414-25118481-945f-44a6-a532-89b1df71e3c8-61267182_-roboforex-demo-demo-account-roboforex-ltd-gbpusd-m5-08_06_2024-6_44_59-pm.png)
-
But trades will be eventually closed. Do you want buttons popping up and down as new trades open and close? I don't see the point of that.