OPEN-SOURCE SCRIPT
Day of Week and HTF Period Separator

Day of Week & HTF Period Separator
A minimalist Pine Script indicator that adds clear, time-based separators and labels to intraday charts for better structure and analysis.
Key Features
• Day Labels
• Displays abbreviated weekday names (MON, TUE, WED, etc.) at a user-defined hour
• Custom text color and position
• Limits display to the most recent 28 days for a clean view
• Time Separators
• Daily: Vertical line at 00:00 each trading day
• 4-Hour: Lines at 00:00, 04:00, 08:00, 12:00, 16:00, 20:00
• Hourly: Divisions at every hour for detailed timing
• Customization
• Individual color picker for each separator type
• Choose line style: Solid, Dashed or Dotted
• Enable or disable any separator or label independently
• Smart limits to avoid clutter on extended history
• Smart Behavior
• Active only on intraday timeframes
• Projects upcoming separators into the future for planning
• Automatically caps historical plotting for performance
• Lines extend across full visible price range
Perfect for traders who need distinct session breaks, precise time-based zoning and an organized chart layout.
Inputs
• Show Day Labels (true/false)
• Label Hour (0–23)
• Day Label Color
• Show Daily Separators (true/false)
• Show 4H Separators (true/false)
• Show 1H Separators (true/false)
• Daily Line Color, Style
• 4H Line Color, Style
• Hourly Line Color, Style
• Max Days to Display
Enhance your intraday analysis with clean, customizable time markers. 👁
A minimalist Pine Script indicator that adds clear, time-based separators and labels to intraday charts for better structure and analysis.
Key Features
• Day Labels
• Displays abbreviated weekday names (MON, TUE, WED, etc.) at a user-defined hour
• Custom text color and position
• Limits display to the most recent 28 days for a clean view
• Time Separators
• Daily: Vertical line at 00:00 each trading day
• 4-Hour: Lines at 00:00, 04:00, 08:00, 12:00, 16:00, 20:00
• Hourly: Divisions at every hour for detailed timing
• Customization
• Individual color picker for each separator type
• Choose line style: Solid, Dashed or Dotted
• Enable or disable any separator or label independently
• Smart limits to avoid clutter on extended history
• Smart Behavior
• Active only on intraday timeframes
• Projects upcoming separators into the future for planning
• Automatically caps historical plotting for performance
• Lines extend across full visible price range
Perfect for traders who need distinct session breaks, precise time-based zoning and an organized chart layout.
Inputs
• Show Day Labels (true/false)
• Label Hour (0–23)
• Day Label Color
• Show Daily Separators (true/false)
• Show 4H Separators (true/false)
• Show 1H Separators (true/false)
• Daily Line Color, Style
• 4H Line Color, Style
• Hourly Line Color, Style
• Max Days to Display
Enhance your intraday analysis with clean, customizable time markers. 👁
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.