OPEN-SOURCE SCRIPT
Time-Based Vertical Lines

Features:
8 Customizable Lines: Each line can be individually enabled/disabled
Time Selection: Set specific times for each line (e.g., 9:30 AM)
Daily Repetition: Lines automatically repeat at the same time every trading day
Color Customization: Choose any color for each line
Additional Options: Width and style (solid, dashed, dotted) for each line
How to Use:
Copy the entire script
In TradingView, open the Pine Editor (at the bottom of the chart)
Create a new indicator and paste the code
Click "Add to Chart"
Configure your lines by clicking the settings gear icon:
Enable/disable each line
Set the time using the time picker
Choose colors
Adjust width and style as desired
Default Setup:
Line 1 is enabled by default at 9:30 AM (blue)
Lines 2-8 are disabled by default but can be enabled
Each line has a different default color for easy identification
The indicator will draw vertical lines that extend across the entire price range at your specified times, repeating every day. The lines use your chart's timezone settings, so they'll appear at the correct local time for your market.
8 Customizable Lines: Each line can be individually enabled/disabled
Time Selection: Set specific times for each line (e.g., 9:30 AM)
Daily Repetition: Lines automatically repeat at the same time every trading day
Color Customization: Choose any color for each line
Additional Options: Width and style (solid, dashed, dotted) for each line
How to Use:
Copy the entire script
In TradingView, open the Pine Editor (at the bottom of the chart)
Create a new indicator and paste the code
Click "Add to Chart"
Configure your lines by clicking the settings gear icon:
Enable/disable each line
Set the time using the time picker
Choose colors
Adjust width and style as desired
Default Setup:
Line 1 is enabled by default at 9:30 AM (blue)
Lines 2-8 are disabled by default but can be enabled
Each line has a different default color for easy identification
The indicator will draw vertical lines that extend across the entire price range at your specified times, repeating every day. The lines use your chart's timezone settings, so they'll appear at the correct local time for your market.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。