OPEN-SOURCE SCRIPT

Time Vertical Line

מעודכן
This indicator is designed to plot vertical lines at specified hourly intervals on a trading chart. The indicator includes default settings to draw vertical lines at every hour of the day and provides users with the flexibility to customize up to six additional vertical lines at specified times.

Traders can use the vertical lines to segment the trading day, making it easier to analyze market movements within specific hours.

Customizable lines allow traders to mark important times such as market openings, closings, and economic news releases.

This indicator is a powerful tool for traders who need to keep track of specific times and events during the trading day, providing a clear and customizable visual representation of time on their charts.

The indicator allows you to easily customize the appearance of the 24 default vertical lines that mark each hour of the day. You can change the color by adjusting the Color input, modify the transparency using the Transparency input, and set the line width with the Line Width input.

Each of custom lines can have its own color, transparency, and line width, giving you full control over their appearance. By default, these custom vertical lines are turned off. To activate them, go to the "Style" tab in the settings menu of the indicator.

The time for each vertical line is based on the exchange's timezone. You can set the time for each of the 6 custom vertical lines using decimal notation. For example:

Input 9.1 to display a vertical line at 9:10.
Input 9.15 to display a vertical line at 9:15.

The indicator should only be displayed in time frames less than 15 minutes. Go to "Visibility" in settings for options.
הערות שחרור
Update Note:

Default Vertical Lines:
·Timeframe Threshold: Users can set a timeframe threshold in minutes. Vertical lines will be shown only if the chart's timeframe is less than this threshold.
·By default, the default vertical lines are only displayed on time frames less than 15 minutes.

Custom Vertical Lines:
·User-Defined Timeframe: A separate timeframe threshold for custom vertical lines.
·Custom Time Inputs: Up to six customizable times to plot vertical lines, with individual toggles to enable or disable each line.

Session Break Line:
·Like Custom Vertical Line, but it is completely separate from the 6 custom lines above
·The settings in TradingView also have Session Break, but they are displayed on time frames smaller than 1 day, which is sometimes quite annoying in H4 or H12. Users can select the Session Break display threshold
LINEPine utilitiesTIMEvertical

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

כתב ויתור