stanleylo / Publications
Forum
How to get the ticket?
What is the most simple method to get the ticket number if I open trade as follow? Thanks. #include <Trade\Trade.mqh> CTrade trade; Ask= NormalizeDouble ( SymbolInfoDouble ( _Symbol , SYMBOL_ASK ), _Digits ); Bid= NormalizeDouble ( SymbolInfoDouble ( _Symbol , SYMBOL_BID ), _Digits ); trade.Buy(