You guess wrong 🙂 It should also work perfectly in live trading, this trailing stop code use pending STOP orders which are put at price levels calculated each bar. Of course, like any other ProOrder program it is only read once per bar.
Spread and order distance from current price should also be considered when using this code.
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