Login Page - Create Account

Support Board


Date/Time: Wed, 12 Feb 2025 22:22:35 +0000



[User Discussion] - Moving average envelope alerts

View Count: 550

[2020-11-17 15:16:40]
User516084 - Posts: 13
I want to set an alert for when price touches the top band(SG1) and the bottom band(SG2). What do I enter into the alert condition field? Thanks
[2020-11-17 20:17:09]
Sawtooth - Posts: 4173
Do you mean OR instead of AND?

Do you want the price touch alert from inside the band or from outside the band?
[2020-11-17 20:41:27]
User516084 - Posts: 13
Sorry. Hit the bottom band from above or the top band from below.
[2020-11-17 23:01:48]
Sawtooth - Posts: 4173
Try this:

=OR(CROSSFROMBELOW(H,SG1),CROSSFROMABOVE(L,SG2))

See example #28:
Study/Chart Alerts And Scanning: Alert Formula Examples

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

Login

Login Page - Create Account