OPEN-SOURCE SCRIPT
Diupdate Day Separator

Title: Professional Day Separator & Custom Session Labels
Description: This indicator is a clean and essential tool for intraday traders (M1, M5, M15) who need a clear visual separation between trading days. Unlike the standard TradingView period breaks, this script allows full control over the appearance and the exact timing of the separators to match your broker's server time.
Key Features:
Deep Black Vertical Lines: High-contrast separators for better chart clarity.
Customizable Thickness: Adjust the line width to suit your visual preference and chart background.
Custom Session Start: Perfect for traders whose "day" starts at a specific time (e.g., 23:00) due to broker offsets or specific session focus.
Centered Day Labels: Day-of-the-week labels (M O N, T U E, etc.) are placed at the bottom of the chart and can be perfectly centered between the separators.
Stability: Built using Pine Script V5 with absolute vertical alignment logic to prevent "leaning" or horizontal line glitches.
How to use:
Line Thickness: Adjust the "Linien Dicke" in the settings to make separators more or less prominent.
Align to Broker Time: If your broker starts the new daily candle at 23:00, simply set the "Tagesbeginn" to 23. The separator will then snap to that exact candle.
Perfect Label Centering: Use the "Label Stunde" slider to move the day labels left or right until they are centered between your lines (usually around 11:00 or 12:00 depending on your offset).
Why use this? Standard session breaks often look cluttered or don't align with local time zones/broker sessions. This script keeps your chart professional and ensures you always know exactly which day of the week you are trading.
Description: This indicator is a clean and essential tool for intraday traders (M1, M5, M15) who need a clear visual separation between trading days. Unlike the standard TradingView period breaks, this script allows full control over the appearance and the exact timing of the separators to match your broker's server time.
Key Features:
Deep Black Vertical Lines: High-contrast separators for better chart clarity.
Customizable Thickness: Adjust the line width to suit your visual preference and chart background.
Custom Session Start: Perfect for traders whose "day" starts at a specific time (e.g., 23:00) due to broker offsets or specific session focus.
Centered Day Labels: Day-of-the-week labels (M O N, T U E, etc.) are placed at the bottom of the chart and can be perfectly centered between the separators.
Stability: Built using Pine Script V5 with absolute vertical alignment logic to prevent "leaning" or horizontal line glitches.
How to use:
Line Thickness: Adjust the "Linien Dicke" in the settings to make separators more or less prominent.
Align to Broker Time: If your broker starts the new daily candle at 23:00, simply set the "Tagesbeginn" to 23. The separator will then snap to that exact candle.
Perfect Label Centering: Use the "Label Stunde" slider to move the day labels left or right until they are centered between your lines (usually around 11:00 or 12:00 depending on your offset).
Why use this? Standard session breaks often look cluttered or don't align with local time zones/broker sessions. This script keeps your chart professional and ensures you always know exactly which day of the week you are trading.
Catatan Rilis
Day Separator & Centered LabelsDescription:
This indicator is a clean, high-performance utility designed for intraday traders who need clear visual boundaries between trading days. Unlike the standard "Period Breaks" in TradingView, this script offers full customization of line thickness, colors, and exact session start times to match your specific broker's server time.
Key Features:
Custom Session Start: Perfect for Forex or Crypto traders whose days start at specific times (e.g., 23:00 or 00:00).
Automatic Centered Labels: Displays the day of the week (M O N, T U E, etc.) exactly at midday (12:00) or any other hour you choose, ensuring your chart stays organized.
Deep Black Design: Optimized for high visibility with solid vertical lines that remain perfectly vertical on all intraday timeframes (M1, M5, M15, etc.).
Smart Future Projection: Includes a "Future Line" that predicts and draws the next day's separator based on your last active session, keeping you prepared for the next trading day.
How to use:
Line Settings: Adjust the thickness and color to fit your chart theme.
Session Start: Set the "Session Start Hour" to the time your daily candle opens (default is 23:00).
Label Placement: Use "Label Centering" to move the text horizontally. Setting this to 12:00 usually puts the label right in the middle of the day.
Why this script? Many standard separators glitch during Daylight Saving Time (DST) shifts or create messy horizontal lines. This script uses stable Pine Script V5 logic to ensure clean, vertical separators at all times.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.