Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 11:53:53 +0000



Post From: Vertical line on a chart at certain hour

[2023-12-14 20:34:22]
John - SC Support - Posts: 36286
There is the "Date-Time Line" study, but this will only give you one line.

If this is something that you want to have for each day at a particular time, then use the Spreadsheet Study and use a formula like the following in cell K3:
=IF(AND(HOUR(A3) = 9, MINUTE(A3)=30), 1, 0)

Set the "Draw Style" for the K column to "Background" and you can control how thick the line is using the "Width/Size" of the Subgraphs.

Refer to the following:
Using the Spreadsheet Study

Chart Studies: Background (ACSIL: DRAWSTYLE_BACKGROUND)

Chart Studies: Subgraphs Tab >> Line Width
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing