Login Page - Create Account

Support Board


Date/Time: Mon, 23 Dec 2024 17:00:50 +0000



How to test for a color

View Count: 737

[2015-10-13 04:30:23]
User35326 - Posts: 57
SC or anyone who knows the code:

How do I test for a color when I am writing an alert? For example, I have this so far:

=and(id5.sg1 > 80, id5.sg1 = "0,240,120,255,0,0" )

where 0,240,120,255,0,0 is the color I am trying to test for. I just don't know the proper syntax in the language that sierra uses and I couldn't find an example.

Thanks in advance.
[2015-10-13 21:34:54]
Sierra Chart Engineering - Posts: 104368
This is not supported. You can only make comparisons to the actual numeric values in Study Subgraphs.
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

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

Login

Login Page - Create Account