I'm using the following code:
protected override void OnBarUpdate()
{
if (CurrentBar < 0) return;
if (BarsInProgress == 0)
{
if (IsFirstTickOfBar)
{
Print( Open[0] + High[0] + Low[0] + Close[0])
}
However, when looking at output live the platform gives me the same value for everything - presumably the first tick of the 11:10 bar.
How can I harmonize this? Historical acts precisely as I want it. But if I use Open[1] for historical I would get the data from the 11:08 bar and my strategy is one bar late all the time.
Thanks in advance!

Comment