Labels for HH, HL, LH, LL:
The labels for Higher High (HH), Higher Low (HL), Lower High (LH), and Lower Low (LL) are displayed only on the last bar where the condition was met (bar_index).
Horizontal Lines for Support and Resistance:
Horizontal lines are drawn at the last detected support (low) and resistance (high) levels.
The lines extend across the chart until a new level is detected.