OPEN-SOURCE SCRIPT

Time Vertical Line

Cập nhật
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.
Phát hành các Ghi chú
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

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Thông báo miễn trừ trách nhiệm