Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 05:42:03 +0000



Post From: Time Line Study or Other

[2024-09-13 13:46:18]
John - SC Support - Posts: 36238
You could do this with just a few instances of the "Color Bar Based on Alert Condition" study, but you would only have different colors, there is not a way to get different line styles. You need one instance of the study for each particular interval at which you want the lines. You just have to be a bit careful with the order in which they are drawn to ensure that you get the particular one you want at a particular interval.

To do this, use an Alert Condition like the following to get a line every 30 minutes:
=FRACTIME(BARTIME * 24) * 60 = 30

Then set the "Color Bar" subgraph to have a "Draw Style" of "Background" and set the color and Width as you want.

Refer to the following:
Color Bar Based on Alert Condition

Chart Studies: Subgraphs Tab >> Color

Chart Studies: Background (ACSIL: DRAWSTYLE_BACKGROUND)
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing