I'm having an issues with a strategy. this is the error i keep getting. An order placed at '11-5-2021 06:07:32' has been ignored since the order was submitted before the strategy property BarsRequiredToTrade had been met.
I have saw in an other post that this code could resolve the issue:
if (CurrentBar < BarsRequiredToTrade) { return; }
but i'm not quite sure how to edit the strategy with in the wizard and add this line fo code.
Hope some one could give me some more clarity regarding this.
Thanks in advance.
Comment