This indicator plots horizontal lines for the high and low of each of the last x weeks (configurable from 1 to 20). Increasing this number beyond 20 is not possible due to some technical Pine limitations. I am also publishing a daily and monthly version...add them all to the same chart! Written for TV user: kvpatel
Reposting because something broke, and the first version is no longer available in my list of scripts to update (needed to fix a bug).