Hi guys, I got a problem with a simple EA (just few days I started in free-time).
Here below the code.
My original intention was to open first 2 pending orders and then at new bar coming modify the 2 pendings orders adjusting the price values.
Actually the program each bar open 2 new orders without closing or modify the first two and I don't understand the reason.. why do at new bar ticketB and ticketS become 0 ?
thank you very much for your help