Login Page - Create Account

Support Board


Date/Time: Mon, 20 May 2024 19:33:26 +0000



[Programming Help] - Alert condition

View Count: 366

[2020-08-23 13:56:51]
User525965 - Posts: 153
Hello I currently have this color bar alert study on my chart that is working correctly:

=AND(WEEKDAY(BARDATE)=5, C < O)

I want to add an additional filter (%R below -20) but I am getting an error. Can you please assist?

=AND(ID8.sg1 < -20), (WEEKDAY(BARDATE)=5, C < O)
[2020-08-23 17:24:29]
Sawtooth - Posts: 4001
Remove two parenthesis to correct the syntax:

=AND(ID8.SG1 < -20, WEEKDAY(BARDATE)=5, C < O)

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

Login

Login Page - Create Account