Gets the ID of Expert Advisor, opened the position.
long Magic() const
Returned value
ID of the Expert Advisor, opened the position.
Note
The position should be selected using the Select (by ticket) or SelectByIndex (by index) methods.