Login Page - Create Account

Support Board


Date/Time: Mon, 03 Mar 2025 17:35:53 +0000



[Programming Help] - Alert with negative number

View Count: 394

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