Login Page - Create Account

Support Board


Date/Time: Mon, 21 Apr 2025 04:50:10 +0000



Color Bar Based on Alert Condition not Working for CL

View Count: 73

[2025-03-06 22:06:55]
Rich_B - Posts: 34
On my ES chart, I have the alert set so that when the High-Low Range of any 5 minute bar exceeds 10, the bar color changes. The formula I use is ... =ID6.SG41>10 ... this works exactly as expected. ID6.SG41 is the relevant row on the Numbers Bars Calculated Values study.

When try to use the same logic on CL, the formula is ... =ID6.SG41>0.1 ... however, this does not change the bar colour as expected. I assume this must be because the values are decimals as opposed to integers. Is there any way to make this work?

Thank you in advance.
[2025-03-06 22:28:41]
John - SC Support - Posts: 39362
It is related to the fact that the number is a decimal, but this is about how the Numbers Bars Calculated Values data is stored and accessed for Alerts. Refer to the following:
Numbers Bars: Referencing Numbers Bars Calculated Values Subgraphs in Alert Formulas

Also, just in case, make sure that the ID of the Numbers Bars Calculated Values Study in the CL chart is 6.
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