So say I have the 9:30time frame - I want to draw a horizontal rectangle from current high and low of the closing bar to end of session EACH day.
I can currently get it to work for the given day but I can't get it to show up for each session or prior day. How can I do this?
Curerntly I'm doing something like this and it works for the current day but I'd prefer to have this so it starts at my Time and ends at the end of the session and then only starts again on the next day at the specific time as well but I want to see it on all prior sessions also.
if(ToTime(Time[0]) == ToTime(9,0,0) ) {
Draw.Rectangle(this, "startTime", Time[0], Low[0] - TickSize, Time[0].AddHours(+8.00), High[0] + TickSize, Brushes.Blue);
}

Comment