Login Page - Create Account

Support Board


Date/Time: Thu, 15 May 2025 03:44:27 +0000



Color Bar Alert with 4 variables

View Count: 177

[2024-08-08 17:08:01]
KXRCap - Posts: 64
SC -

What is the best practice for coloring a bar based on more then 2 variable (4 for is my goal). I need all 4 to be true to color the bar.

=AND(1<A,2<A,3>B,4>B) --- would be my example string of variables... but I believe =AND is only 2 variables.

K
[2024-08-08 18:42:11]
John - SC Support - Posts: 39782
AND() is not limited to two variables. So the way you have described it (comma separated conditions) will work for what you want.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-08-08 19:33:44]
KXRCap - Posts: 64
Ok, thanks, I must be getting something wrong then as I am not getting the outcome...

But will keep trying.

K

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

Login

Login Page - Create Account