Fractal HTF Lines The indicator “Fractal HTF Lines” draws time‑based vertical lines that mark where higher‑timeframe periods start on your chart. It adapts its behavior to the timeframe you are currently viewing.
4‑hour timeframe
On a 4‑hour chart, the indicator draws a vertical line on the first 4‑hour bar of each new trading day. This lets you quickly see where one day ends and the next begins without turning on session breaks.
Daily timeframe
On a daily chart, the indicator draws a vertical line on the first trading day of each new week. Visually, this separates weeks so you can see weekly structure while still trading and analyzing on the daily timeframe.
Weekly timeframe
On a weekly chart, the indicator draws a vertical line on the first trading week of each new month. That way you can identify monthly boundaries directly on the weekly chart and better align your analysis with monthly cycles.
Customization
The indicator includes settings to control:
Line color: You can choose any color from the palette.
Line width: You can adjust the thickness to make lines more or less prominent.
Line opacity: You can make lines more transparent or more solid, depending on how strong you want the visual emphasis.
Pine Script® indicator






















