• last week
utorial 212 explains how to draw a rectangle on a chart each day between the highest high and the lowest low set the PREVIOUS day.

The rectangles for days in the past are drawn in arrears. The present day is drawn forward. When the next days begins this rectangle is deleted and replaced with a rectangle drawn in arrears.

The tutorial also shows how to convert dates and time to DateTime format and how to created DateTime points.

The tutorial program is able to draw rectangles for historical times that have already passed as well as future bars.

The color of the rectangles is based on the highest high and lowest low of the current and previous days as follows:

Current day H-L > Previous Day H-L Color1
Current day H-L Previous Day H and Current day L

Recommended