Login Page - Create Account

Support Board


Date/Time: Sat, 20 Apr 2024 04:45:28 +0000



Different bar colors for RTH

View Count: 232

[2023-01-25 20:36:49]
User564828 - Posts: 2
Hi,
I have on my charts the entire intraday session, from 00:00:00 to 23:59:59. And I would like to have bars in the RTH session in different colors. How can I do this? Please help.
Best,
BSDTrader
[2023-01-25 22:46:29]
John - SC Support - Posts: 30976
If you want to color the entire bar a single color then this is relatively straightforward. To do this, you would use the Color Bar Based on Alert Condition study and set the alert to be that the BarTime is within the RTH session times. Refer to the following for the Color Bar Based On Alert Condition Study:
Color Bar Based on Alert Condition

And refer to the information for example #6 at the following link for information on how to setup a Time alert:
Study/Chart Alerts And Scanning: Alert Formula Examples

If you are wanting different colors for up/down bars, then you would have to add a second Color Bar Based on Alert Condition and check the up/down state for the bar as part of the Color Bar alert option.
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