letailong

Time Vertical Line

letailong 已更新   
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
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?