edit : new topic from https://www.prorealcode.com/topic/why-is-backtesting-so-unreliable/ According to IG Status Page … all trading platforms are now sorted!! See attached. This Renko code is the only code I am still getting Rejects / Stoppages on (up to now anyway!?). Only major difference I can see between this System and my others is the use of While, Wend? Maybe While. Wend has recently become a non-approved term anymore?? @Nonetheless would it be easy for you to re-code without While, Wend? I know the code is a DocTrading code so maybe it not easy for you either? If one of our coding wizards might be able to help it would be much appreciated? Below is the code of the System that is showing +£1.8K profit since October (see attached). //------------------------------------------------------------------------- // Main code : Nneless Renko DJI 1M v1 //------------------------------------------------------------------------- //https://www.prorealcode.com/topic/why-is-backtesting-so-unreliable/#post-110889 // Definition of code parameters DEFPARAM CumulateOrders = False // Cumulating positions deactivated // The system will cancel all pending orders and close all positions at 0:00. No new ones will be allowed until after the "FLATBEFORE" time. //DEFPARAM FLATBEFORE = 143000 // Cancel all pending orders and close all positions at the "FLATAFTER" time //DEFPARAM FLATAFTER = 210000 boxSize = 110 //50 once renkoMax = ROUND(close / boxSize) * boxSize once renkoMin = renkoMax - boxSize IF high > renkoMax + boxSize THEN WHILE high > renkoMax + boxSize renkoMax = renkoMax + boxSize renkoMin = renkoMin + boxSize WEND ELSIF low < renkoMin - boxSize THEN WHILE low < renkoMin - boxSize renkoMax = renkoMax - boxSize renkoMin = renkoMin - boxSize WEND ENDIF buy 1 CONTRACT at renkoMax + boxSize stop sellshort 1 CONTRACT at renkoMin - boxSize stop // Stops and targets SET STOP PLOSS 75 SET TARGET PPROFIT 150