Backtesting results will be the same with CalculateOnBarClose set to false or true. All signal processing is done on a complete bar and orders are placed on the next bar.
Backtesting can fill differently than what will be filled in real-time therefore there are potential differences
Please see the article below which discuss some of the reasons for this:



Please help! Thank you. Have a Great week.
Comment