dear traders, i have installed 3 MT5 terminals and trade with 3 different accounts with the same EA with differenct magic numbers. my problem is that they seem to be interfere with each other. For example, the EA is set to allow only maximum 1
My trading strategy is martingale that if there is deficit and next order is ready to open based on signal. I coded some functions for handling buy and sell orders seperately. Problem 1. if I change the cindition from "if (ticketBuy[position]
I create a function for open orders as below and shows only buy orders. The EA allows both buy and sell orders and others remains no difference. However, if I remove the words in red (i.e. orderType == OP_BUY and