Login Page - Create Account

Support Board

Date/Time: Thu, 07 Jul 2022 16:37:39 +0000

[User Discussion] - How to shut off a study alert after n bars.

View Count: 640

[2014-02-19 23:16:57]
djcurcio - Posts: 236
I have a Color Bar Based on Alert to try to generate an alert if the price is down after the daily high.
The code is =and(o[-1]<id12.sg1,o<id12.sg1) Where ID 12 is the High/Low for Time Period Extended.
But obviously this alert continues to generate as long as a new high is not made.
I would like to have this alert shut off / reset after n bars.
How can I achieve this?

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


Login Page - Create Account