if (BarsInProgress == 0) (using multi assets)
{
priorClosePrice0 = PriorDayOHLC().PriorClose[0];
priorOpenPrice0 = PriorDayOHLC().PriorClose[0];
}
But checking on out windows I see that priorClosePrice0 and priorOpenPrice0 are taking values not for yesterday but the day before yestaerday.
How can I get last day parameters? what am i doing wrong?

Comment