int barsAgo = CurrentBar - Bars.GetBar(new DateTime(Time[0].Year, Time[0].Month, Time[0].Day, 9, 30, 0));
how can i get the close for yesterday at 1600??
int barsAgo = CurrentBar[1] - Bars.GetBar(new DateTime(Time[0].Year, Time[0].Month, Time[0].Day, 16, 00, 0)); // doesnt compile
basically im trying to create a gapup/down strat. and priordayohl doesnt work b/c for emini those are not based on rth
Comment