I use CalculateOnBarClose = true and want my strategy to give me a trading signal (Print statement) after market close that is based on all recent historical bars. I can then place a manual order before the market opens.
The problem I am facing is that closing of yesterdays bar immediately exits the program and does not trigger any instructions any more. So, the most recent trading signals I get are based on the close of the day before yesterday and not yesterday.
What can I do to have my strategy execute instructions that include yesterdays close?
Comment