mobaobao:
What is the most simple method to get the ticket number if I open trade as follow? Thanks.
Use ResultOrder
trade.ResultOrder()

Documentation on MQL5: Standard Library / Trade Classes / CTrade / ResultOrder
- www.mql5.com
ResultOrder - CTrade - Trade Classes - Standard Library - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
mobaobao:What is the most simple method to get the ticket number if I open trade as follow? Thanks.
Please don't normalise Bid, Ask or any other quote price returned by the system. It is already normalised!

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
What is the most simple method to get the ticket number if I open trade as follow? Thanks.