choose the order with OrderSelect
and then OrderMagicNumber
e.g.
if(OrderSelect(10,SELECT_BY_POS)==true) Print("Magic number for the order 10 ", OrderMagicNumber()); else Print("OrderSelect returned error of ",GetLastError());
Are you Chinese? I work in Beijing :)
You cant see the magic number visually but only in a script. If you wish you can code something that prints it on the chart.
Of course you can.
On the Trade tab, place your mouse (without clicking) on a open trade, you will get a tooltip with something like :
#129276126, id 1287891
#129276126 is the ticket number
id 1287891 is the magic number.
Of course you can.
On the Trade tab, place your mouse (without clicking) on a open trade, you will get a tooltip with something like :
#129276126, id 1287891
#129276126 is the ticket number
id 1287891 is the magic number.
Dear angevoyageur,
The problem is handled successfully. Many thanks for your effective reply.
Your sincerely,
taozemin.
Of course you can.
On the Trade tab, place your mouse (without clicking) on a open trade, you will get a tooltip with something like :
#129276126, id 1287891
#129276126 is the ticket number
id 1287891 is the magic number.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
May I know where to see the order's magic number? I use the following script to send an order with a magic number. The order was submitted successfully. But I cannot find the magic number...Many thanks for your time and consideration.
Your sincerely,
taozemin.