Login Page - Create Account

Support Board


Date/Time: Sun, 21 Dec 2025 12:30:36 +0000



[Programming Help] - Alert with negative number

View Count: 502

[2021-11-05 13:19:21]
lovelivelaught - Posts: 71
Hello
I need help to place an alert with negative number. I am placing an alert on True Strength Index =OR(CROSSFROMBELOW(SG1, 0), CROSSFROMBELOW(SG1, -0.1)) but it does not trigger -0.1 instead it triggers positive 0.1. I also tried =OR(CROSSFROMBELOW(SG1, 0), CROSSFROMBELOW(SG1, -0.1) <> 0) but it also triggers positive 0.1. What I am doing wrong?
Thank you in advance for your help
[2021-11-05 14:58:42]
Sawtooth - Posts: 4300
Add two instances of the Line study, then reference their ID#.SG#s.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account