The text label is not showing on the rectangle because I am using OBJ_LABEL, which positions text relative to the chart window (not within the chart's price-time coordinates). To make the label appear at a specific position within the chart (aligned with the rectangle), I should use OBJ_TEXT instead of OBJ_LABEL.