Login Page - Create Account

Support Board


Date/Time: Thu, 16 May 2024 01:53:40 +0000



[User Discussion] - Color bar alert for oscillator

View Count: 498

[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: 3997
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:

Login

Login Page - Create Account