Login Page - Create Account

Support Board


Date/Time: Mon, 10 Mar 2025 02:22:44 +0000



Post From: Syntax error when combing alerts with OR Statement

[2022-03-10 13:27:20]
User505884 - Posts: 11
When I'm running the following alerts on their own, they work perfectly fine:

Alert 1:
AND(C <= H, C >= ((H - L) * .80 + L), L < L[-1])

Alert 2:
AND(H <= H[-1], L >= L[-1])

But, when I try to combine the 2 with a OR statement, I get a syntax error. I've tried now for hours and can't see the issue. Can someone please have a look and let me know where I'm going wrong?

Combined Alert:
AND(AND(C <= H, C >= ((H - L) * .80 + L), L < L[-1]), OR (AND(H <= H[-1], L >= L[-1])))