Santiago scf / Publications
Forum
Issue with Obtaining Ticket Number When Executing a Buy Order mql5
Hello everyone! I'm facing an issue with an MQL5 script that executes a buy order but returns the ticket number as 0. I have verified that the order is executed correctly, but when printing the value of ticket , I always get 0. Here is my code: #include <Trade\Trade.mqh> CTrade m_trade;