I have a strategy which I'm running tick-by-tick, meaning Calculate on Bar Close = False.
However, I have some calculations I would like to perform only on bar close, so is there a way to tell if OnBarUpdate is called when the bar closes?
Also, I would like to add another entry to my strategy, but I would like to avoid 2 entries on the same bar (and still keep Calculate on Bar Close = False). What is a good way of achieving that?
Thanks.
Comment