Attached is an example of a minimal strategy that buys and sells at specific bar numbers.
I ran it in Playback mode.
While the Print statements in OnOrderUpdate & OnBarUpdate indicate the orders are placed and filled where intended, the actual orders on the chart are totally misplaced.
What is the explanation for this? Is it because of a setting in ControlCenter > Tools > Options maybe?
Thank you for your help.
Comment