When each bar arrives, the strategy will go through onbarupdate again.
Suppose the strategy is very complex and takes a long time. For example, it takes 5 seconds to complete the logic in the onbarupdate.
During the 5-second calculation, I'm pressing F5 from the chart.
I want to know whether the strategy waits for the onbarupdate to complete before terminating, or Terminate immediately (for example, when a statement inside onbarupdate is run, it is terminated immediately).
Because I have txt file output as shared variable between charts, I am worried that there will be problems with F5. For example, if a part of file is output, I don't know what will happen.
Thankyou
Comment