At present that piece of code does not work in the same manner as the IG one that is executed in Live on their servers. Hence it is advised for people to not use it for the time being when running backtests. PRT are aware of the issue and they are working on a fix that will be released soon. Then hopefully we will be able to resume using it. I am not saying that you cannot use that built-in function, you can and it will work but your backtest results may not be the same as live if you do so, hence you need to be aware of that.
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