Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 05:03:53 +0000



Post From: How to change bar color from study that on chart region 2

[2019-05-09 16:56:05]
Sierra Chart Engineering - Posts: 104368
We have tested this and definitely no problem with this:

I know that we can change the bar/candle color from a study by using DRAWSTYLE_COLOR_BAR, such as "Color Bar HH/LL"

But it seems that it only works when the study sc.GraphRegion = 0;

If I need to change to bar/candle color from a study with sc.GraphRegion = 1 (plot in region 2); what should I do?

Make sure the scale of the study which is using DRAWSTYLE_COLOR_BAR is set to Automatic and also the other study in the chart region which is displaying price bars. Another thing to check is the study display order:
Chart Studies: Study Display Order

If there is any further issue let us know. One simple test you can do is add the Heikin Ashi study to chart region 2 and then also add the Color Bar Based on Alert Condition study to the same chart region and set the formula to 1. The bars will all be colored. This is a good way to validate this functionality works. This is what we did.

And we apologize for the long delay. Just we are quite busy. Originally we were thinking of setting up a test study for this until we thought of the above .
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
Date Time Of Last Edit: 2019-05-09 16:57:28