Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 09:03:57 +0000



[User Discussion] - Alert Condition when near an SG level

View Count: 572

[2020-05-27 22:00:49]
JohnnyT - Posts: 22
Hi. I'm trying to make an alert condition to trigger a 1 when +/- x ticks from an SG level. The below alert condition triggers an alert under every bar.

=OR(C >= ID19.SG1 - (5 * TICKSIZE), C <= ID19.SG1 + (5 *TICKSIZE))


Any idea where the mistake is?


Thanks,

J
[2020-05-27 22:12:49]
Sawtooth - Posts: 3992
If you want an alert when the Close is outside the +5/-5 channel:
=OR(C >= ID19.SG1 + (5 * TICKSIZE), C <= ID19.SG1 - (5 *TICKSIZE))

If you want an alert when the close is inside the +5/-5 channel:
=AND(C >= ID19.SG1 - (5 * TICKSIZE), C <= ID19.SG1 + (5 *TICKSIZE))
Date Time Of Last Edit: 2020-05-27 22:13:23
[2020-05-27 23:19:46]
JohnnyT - Posts: 22
Wow, I was oh so close ;) Much appreciated!

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

Login

Login Page - Create Account