Login Page - Create Account

Support Board


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



Vertical line on a chart at certain hour

View Count: 392

[2023-12-14 20:10:51]
OriolCasas - Posts: 163
Hello,

I would like to create a vertical line in a chart at a certain time (Initial Balance) is created. Usually after the first RTH hour.

How can I create that?

Thank you
[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
[2023-12-14 22:33:52]
User719512 - Posts: 264
The Sierra study Time Line or Time Range Highlight - Transparent should do this. For the second one, specify a start/end 1 second apart.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account