Login Page - Create Account

Support Board


Date/Time: Tue, 22 Apr 2025 17:52:23 +0000



Post From: debug alert condition

[2025-01-11 19:43:20]
User970210 - Posts: 100
Hi,
during debug alert condition, I have several questions
1. since one of alert condition does not return correct value for an alert condition like following
=AND(
OR(conditon1[-1],condition2[-1]),
OR(conditon1,condition2),
)
from chart I can see both conditon1[-1],condition2[-1] are not true, and conditon1,condition2 are true, so the above alert should return 0 for false, correct?
2. alert condition of color background study will return 1 for true, and 0 for false, color bar will a price for true and 0 for false. my question is whether is better to change 0 to -1 for false in certain situations?
3. can I use ! in the place of not for NOTAND(condition1,condition2) in sierra chart
thx
Song