Benom b / Publications
Forum
I need help to Get Last Open Trade Ticket for a specific type and Open price of that ticket
I am new in MQL5. I am struggling with writing a function to get last open trade ticket for a specific type and Open price of that ticket. Appreciate any help. // Function to get the ticket of the last trade of a specific type ulong LastTradeTicket( ENUM_ORDER_TYPE orderType) { ulong lastTicket