Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 02:09:03 +0000



Draw vertical line on chart at specific time

View Count: 2185

[2015-10-18 04:59:42]
KhaosTrader - Posts: 128
Hi,

There are certain times in certain markets I like to trade, I would like to draw a vertical line on the chart at particular times, using code. Can you point me in the right direction please.

I don't want to change the background color of the chart, I use that to indicate another thing. I just to be able to draw the lines, I enclosed a screenshot

Thanks.
imagetrade time lines.png / V - Attached On 2015-10-18 04:59:12 UTC - Size: 50.42 KB - 433 views
[2015-10-18 05:57:28]
Sierra Chart Engineering - Posts: 104368
Have a look at the source code for the Time Line study. This is in the /ACS_Source folder.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2015-10-18 07:35:09]
KhaosTrader - Posts: 128
Thanks I loaded it, interestingly, if i want to make the line dotted, and make it a bigger width than 1, it will be always solid, so it seems only solid line vertical is supported size 2 and above, is this correct?

Thanks.
[2015-10-18 08:46:06]
Sierra Chart Engineering - Posts: 104368
We would not know this without testing. There probably is some operating system behavior which affects this.

In any case, it is up to you to determine what is possible and what is not possible for something like this.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account