Login Page - Create Account

Support Board


Date/Time: Thu, 26 Jun 2025 18:05:16 +0000



[Programming Help] - Alert with negative number

View Count: 441

[2021-11-05 13:19:21]
lovelivelaught - Posts: 70
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: 4231
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