Hi all, i got a problem and i post a picture to show what happens with this procedure.
let' s say I need to open a buy and a sell position every day if there are not active positions: i used the code in picture to make this happen. when i use vjforex, or the local tester it correctly opens 1 position short and 1 position long every day. when i run it on remote server it doesn't work the same way, it opens 2 or more positions long and 2 or more short. Is there an error in my code or is it a bug of the system? i just need to open ONE Long and 1 Short position, not more. Can you help me pls?