It seems that the handling of "Calculate On Bar Close" is not intuitive for historical data.
See this post for past reference:
Currently if "Calculate On Bar Close" is set to true with historical data, the last bar is not actually computed.
So charts, counts, & indicators aren't actually getting the last bar value computed into the indicator.
Because this is for historical data (such as a yahoo feed), we know the number of bars that we're going to use ( as referenced from the Count variable), so utilizing all the bars should be a nearly trivial change to implement.
Conceptually, the idea would be to recognize the real end of a day, and not looking for the beginning of the next day.
This will allow for cleaner charts, without gaps, and timely information being processed and displayed.
Comment