Variable HIGH_LOW_52_WEEKConst

HIGH_LOW_52_WEEK: IndicatorDescriptor = ...

52 Week High/Low: the highest high and the lowest low of the 52 weeks ending with each bar, as two step lines.

The window is calendar time, not a bar count: the 364 days, counted in the chart's zone, that end on the bar's own day. On daily bars that is the bar and the 52 weeks of sessions before it, so a high made on a Friday leaves the window on the Friday 52 weeks later; on intraday bars it is every bar of those days.

The warmup is pinned to the history: a bar prints only once the loaded bars begin before its window's first day, so no bar of the window can be missing. A chart with less than a year loaded therefore draws nothing rather than a shorter range under a 52 week name, and on an intraday chart the study needs a year of that interval's history to start. A bar with no high or low is skipped and costs the window nothing else.