How to refer to a trade created by a specific pending order?
-
Hello. Does anybody know how to refer to a trade that comes from a specific order?
What I mean is that you can save the ticket number of a trade or an order and keep check of it but, when a pending order turns into a trade the ticket number changes and you cannot refer to the event of an order triggering. When a trade closes you can check how it was closed but you cannot check how a trade is open, to check if it was open by a specific pending order you have a ticket number from. -
Nevermind. It seem trades do inherit the preceding pending order's ticket number after all.