Login Page - Create Account

Support Board


Date/Time: Wed, 12 Feb 2025 01:34:07 +0000



Color Background at certain time intervals

View Count: 639

[2020-09-30 15:57:07]
MichaelZ - Posts: 12
Hello,

Is it possible to repeatedly color the background of a bar at certain time intervals? I am thinking for example the first or the last 5sec bar of a whole minute, or the 5sec bar at 45-50 sec for every minute etc.

Thanks!
[2020-09-30 16:10:16]
John - SC Support - Posts: 37891
You would need to use the Color Background Based on Alert Condition study and then create an alert based on the time condition that you want. Refer to the documentation for this study here:
https://www.sierrachart.com/index.php?page=doc/StudiesReference.php&ID=245#Color_Bar_Based_on_Alert_Condition

And refer to the information here for referencing bar times in alerts:
Study/Chart Alerts And Scanning: Available Main Price Graph Identifiers/Variables
For the most reliable, advanced, and zero cost futures order routing, use 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