Login Page - Create Account

Support Board


Date/Time: Sat, 20 Apr 2024 14:12:59 +0000



Post From: How to shut off a study alert after n bars.

[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?
Thanks