if (ToTime(Time[0]) >= ToTime(9, 45, 01) && ToTime(Time[0]) <= ToTime(16, 15, 00)){
DrawRegion("OpenRangeRegion" + Time[0].Date.ToString(), CurrentBar - rangeEndBar, 0, RangeHigh,
RangeLow, Color.Transparent, Color.White, 2);
}
The Region draws exactly as it should with one exception. When I scroll back on the chart to the previous day it has today's region not yesterday's. I know the "tag" property is the issue, but I don't know how to fix it. Is there a simple solution?
Thanks
Comment