Login Page - Create Account

Support Board


Date/Time: Sun, 11 May 2025 20:47:22 +0000



Color Bars based on alert condition strange result

View Count: 208

[2024-08-29 03:49:45]
joshtrader - Posts: 510
See attached screenshots. The bars themselves are not being colored, but I'm seeing a value of 1.0. This worked briefly but somehow I cannot get it to work again. I'm sure it's something simple I'm not understanding. Using "=TRUE" to debug.

When I set the draw type to "Background" it works. It does not work when using "Color Bar".
Date Time Of Last Edit: 2024-08-29 03:59:43
imagecolorbar1.png / V - Attached On 2024-08-29 03:49:21 UTC - Size: 29.6 KB - 61 views
imagecolorbar2.png / V - Attached On 2024-08-29 03:49:26 UTC - Size: 96.34 KB - 58 views
[2024-08-29 13:49:54]
John - SC Support - Posts: 39699
Everything looks good and it should be coloring the bars.

Please get us that chart by following these instructions and we will take a look:
Support Board Posting Information: Providing Chartbook with Only a Single Chart
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-08-29 23:36:04]
joshtrader - Posts: 510
I discovered the issue today. I have a custom study which was calling sc.SetStudyVisibilityState on study ID 0, the main price graph (main graph was the default input when another study was not selected). Apparently doing so hides bar coloring. So, I just modified the code to ensure that it would only try to hide studies which were not ID 0. Apologies for creating this thread and thank you.

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

Login

Login Page - Create Account