Support Board
Date/Time: Sun, 23 Feb 2025 13:41:35 +0000
[User Discussion] - Color bar alert for oscillator
View Count: 569
[2021-02-10 12:53:06] |
User238343 - Posts: 20 |
oscillator 1 --- id1.sg3 oscillator 2------id2.sg3 how can i write alert for when : for current bar- id1.sg3 and id2.sg3 are both above zero and previous bar one of the above are not true.(not above zero) also when current bar below zero, previous bar one of them are not below zero. |
[2021-02-11 03:37:05] |
Sawtooth - Posts: 4174 |
Try this: =OR( AND(OR(ID1.SG3[-1]<0,ID2.SG3[-1]<0),ID1.SG3>0,ID2.SG3>0), AND(OR(ID1.SG3[-1]>0,ID2.SG3[-1]>0),ID1.SG3<0,ID2.SG3<0)) |
To post a message in this thread, you need to log in with your Sierra Chart account: