Support Board
Date/Time: Tue, 22 Apr 2025 16:47:35 +0000
[Programming Help] - debug alert condition
View Count: 112
[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 |
[2025-01-11 23:21:35] |
Sawtooth - Posts: 4209 |
1. Yes 2. No 3. Yes Study/Chart Alerts And Scanning: Operators |
To post a message in this thread, you need to log in with your Sierra Chart account: