For instance, how would I reference the Open of the one minute bar that closed at 9:31 am?
Problem:
I wish to plot the 9:30 Open a horizontal line on a 1 minute chart on YM, but I am running a premarket session and CurrentOpen[0] plots the first opening price that appears on my chart and not the opening price of the regular session and I it is important to keep the premarket session.
This is what I have now:
DrawHorizontalLine("CurrentOpen", CurrentDayOHL().CurrentOpen[0], Color.White, DashStyle.Dot, 2);
Any solutions?
Comment