trying to test for prior open and close of the previous day
config section
AddDataSeries(BarsPeriodType.Day, 1);
OnBarUpdate secion
if ( BarsinProgress ==1)
{
if ( Close[1] > Open[1]) PrevDayUp = 1; else PrevDayUp =0;
}
I've tried to search for another similar post but did not find.
This never fires even though many days the bool is true
My strategy needs to evaluate the previous open close each trading day
So for example testing Aug 16-Aug 20, I on the 16 iteration it would look at trading day Aug 13 and on 17th look at Aug 16 open/close etc..

Comment