Remember that code is read from top to bottom, so it will only be the first condition to be true that will launch the only one allowed trade by CumulateOrders=false.
About your point ‘2), sorry I don’t understand. If the set stop and set target are written at the bottom of the code, without been nested into a conditional statement, they will be read and executed by the server for the order launched some lines before.. Am I clear? 🙂
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue