Login Page - Create Account

Support Board


Date/Time: Sat, 20 Apr 2024 08:33:39 +0000



OHLC Bar Colors (Day session vs. evening session)

View Count: 1427

[2019-09-06 20:23:37]
User326940 - Posts: 23
Is it possible to make evening session bars one color and make the day session bars a different color on intraday OHLC bar charts?

I'd like to be able to visually see the difference between the sessions.

Thanks,

Michael
[2019-09-07 04:58:47]
Ackin - Posts: 1863
Hi,

Try this, study from default Sierra chart list:
Time Range Highlight

settings of study / tabs Subgraphs -> change Drawstyle to ColorBar
[2019-09-07 06:55:44]
Sierra Chart Engineering - Posts: 104368
Use this study:
Time Range Highlight

If you really want to color bars, you would have to use the Color Bar Based on Alert Condition study and then check the time of the bar for the Alert Condition. Refer to the following for the study:
Color Bar Based on Alert Condition

Refer to the following for specific identifiers that are available to get the time of the bar, specifically the BARTIME identifier and how to use it:
Study/Chart Alerts And Scanning: Available Main Price Graph Identifiers/Variables
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
[2019-09-07 09:43:44]
User343901 - Posts: 66
This formula in the colour bar alert study will shade the globex session in ES. Times are CTS.

=OR(BARTIME >= TIME(15, 14, 59), BARTIME <= TIME(8, 29, 59))
[2019-09-07 17:26:09]
User326940 - Posts: 23
Thanks everybody for the timely and thoughtful responses! I'll try to make these work!

Michael
[2019-09-07 18:42:45]
User326940 - Posts: 23
Using the time range highlight study and setting the drawstyle to colorbar worked like a charm.

Thanks!

Michael

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

Login

Login Page - Create Account