OPEN-SOURCE SCRIPT
מעודכן Customizable Vertical Lines

Customizable Vertical Lines (CVL) Indicator
Version 2.0 (November 2023)
Description:
The Customizable Vertical Lines (CVL) indicator is a powerful tool for traders who want to mark specific times on their charts with vertical lines. This indicator allows users to customize the appearance of these lines, including their color, line style, and width, providing a flexible and visually intuitive way to highlight key time points.
Key Features:
User-Friendly Inputs: Easily set up to five distinct times, each associated with a unique color for the vertical lines.
Color Customization: Choose from a wide range of colors for each vertical line, allowing for clear differentiation.
Line Style Options: Tailor the appearance of the lines with three selectable styles: solid, dotted, or dashed.
Adjustable Line Width: Modify the thickness of the lines to suit your preferred visual style.
Timezone Offset: Account for different time zones by adjusting the timezone offset parameter.
How to Use:
Simply input the desired times, colors, and other parameters in the script settings. The CVL indicator will then automatically plot vertical lines at the specified times on the chart with the chosen customization.
Version 2.0 (November 2023)
Description:
The Customizable Vertical Lines (CVL) indicator is a powerful tool for traders who want to mark specific times on their charts with vertical lines. This indicator allows users to customize the appearance of these lines, including their color, line style, and width, providing a flexible and visually intuitive way to highlight key time points.
Key Features:
User-Friendly Inputs: Easily set up to five distinct times, each associated with a unique color for the vertical lines.
Color Customization: Choose from a wide range of colors for each vertical line, allowing for clear differentiation.
Line Style Options: Tailor the appearance of the lines with three selectable styles: solid, dotted, or dashed.
Adjustable Line Width: Modify the thickness of the lines to suit your preferred visual style.
Timezone Offset: Account for different time zones by adjusting the timezone offset parameter.
How to Use:
Simply input the desired times, colors, and other parameters in the script settings. The CVL indicator will then automatically plot vertical lines at the specified times on the chart with the chosen customization.
הערות שחרור
Customizable Vertical Lines (CVL) Indicator: Advanced Time MarkingThe Customizable Vertical Lines (CVL) indicator is a powerful tool for marking specific times on your charts, now featuring enhanced labeling to make your time-based analysis permanent and clean.
הערות שחרור
Added minutes optionהערות שחרור
Added Minutesהערות שחרור
Adding setting if there if DST Month since there need to offset the time. הערות שחרור
Updated short titleהערות שחרור
Added Time 7הערות שחרור
Plot vertical time markers locked to your local timezone — no matter which broker or exchange you use. The script auto-detects the broker's timezone and converts your target times correctly.What's New in v6
> Auto-detect broker timezone — no more guessing offset or DST toggles. Set your own GMT and CVL handles the conversion.
> "Show Broker Server Time" toggle — displays the detected exchange offset as a label (Broker: UTC+1) so you always know which timezone your chart is aligned to. Toggle it on/off anytime.
> Clean vertical stems — anchors sit outside the visible price range, so only the vertical line shows — no horizontal dash artifacts cluttering your support/resistance zones.
> Hardened defaults — line style fixed to solid, anchor logic locked. Fewer knobs, cleaner chart.
> Pine Script v6
How to Use
1. Set Target Timezone (GMT) to YOUR local timezone (e.g., 8 for Singapore, -4 for New York).
2. Configure up to 7 time slots with your key hours (session opens, news events, entry windows).
3. Check Show Broker Server Time to verify the detected exchange offset.
4. Lines will fire at those times every day, locked to YOUR clock, on any broker chart.
Use Cases
> Mark session opens (London, New York, Asia) on any instrument
> Highlight news event times (FOMC, NFP, CPI)
> Intraday time-based strategies — entry windows, session close warnings
> Verify chart timezone alignment at a glance
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.