jvanwalleghen1 / Publications
Forum
OrderModify changing all open orders reguardless of ticket#
Hello, I am working on an EA in MQL4 that can have multiple open orders. When the EA creates a new order it then uses OrderModify to set TP & SL. When that happens, all open tickets get changed. Here is my code: bool modok = OrderSelect(pTicket,SELECT_BY_TICKET); if (!modok) {