I've written a piece of code to implement a strategy and now I would like to backtest it with the strategy analyzer. I did a backtest and found strange results in the strategy analyzer, so I went to run it in real-time using the Playback connection. Surprisingly I got a different result in real-time execution, which was more like the result I was expecting compared to the result in Strategy analyzer. I suppose it has to do with the way strategy analyzer implements the tick replay and builds the bars, but after searching the documentation and reading the "managed approach
2 and "advanced managed approach" I haven't found any solution yet. Can anyone help me with this issue? I'm attaching the results from both strategy analyzer and real-time executions. I've tried to upload also a short video showing how the relevant bar is built in real-time but it failed due to file size. In case it was needed I would provide the file through any other means. Thanks so much in advance.

. Unfortunately, the issue is still there. Let me share with you the files from both executions. From strategy analyzer execution you can see the trade info export to excel and also the chart picture. From real-time execution you can see the trade info export excel, the chart picture and also a short video with the bar building process (the bar where the entershortlimit order, the stop loss and the profit are submitted).
Comment