Weekly Range on a Daily Chart

Q:  I want to overlay a weekly bar over the daily bars.  Any suggestions?

A:   This clever DYO that will show a weekly range on a daily bar chart.

On the first bar of each week, ie Monday, the DYO will look in the forward direction for the other bars in the week, find the Maximum High and Minimum Low, and plot these values. The key to this is the Offset used for the comparison. For example,  Line C compares the current bar’s high on the top row with Offset = 0 with the High on the 2nd row of the entry boxes where Offset = 1.  The +1 offset references tomorrow’s bar. High[2] is the High 2 bars in the future from the evaluation bar, and High[3] is 3 bars into the future.