the below is the code, but when I try to print out the Close of ES. The number is very different from the close. Can you advise on any setting? FYI, my default session ends 04:15.
thx
Add("ES 09-10", PeriodType.Minute, 5);
if (BarsInProgress == 1)
{
//ES_INT = Close[CurrentBar - Bars.GetBar(new DateTime(4,15,0))];
ES_INT =PriorDayOHLC().PriorClose[0];
Comment