I can't figure out why this happens, any help will be appreciated:
I open a new buy_stop order and store the ticket nr in : int LongOrderNr
The following alert shows my the correct order nr.
Alert("New long order ticket : "+LongOrderNr);
On the next tick I try to select the order with the LongOrderNr but my LongOrderNr value is now 0 (zero) and not the ticket nr anymore???
I open a new buy_stop order and store the ticket nr in : int LongOrderNr
The following alert shows my the correct order nr.
Alert("New long order ticket : "+LongOrderNr);
On the next tick I try to select the order with the LongOrderNr but my LongOrderNr value is now 0 (zero) and not the ticket nr anymore???