Support Board
Date/Time: Fri, 07 Nov 2025 00:55:20 +0000
[Programming Help] - FORMULA FOR AN ALERT
View Count: 717
| [2020-04-17 19:54:04] |
| User918738 - Posts: 31 |
|
I will continue to look in support but is there a formula or command i can use in the study alerts section that indicates the following: there must be an indicator reading above 60 for six bars or fewer? Thanks! Date Time Of Last Edit: 2020-04-17 19:55:36
|
| [2020-04-18 22:16:37] |
| Sawtooth - Posts: 4286 |
|
Try this: =MAX(SG1[0:-6]) > 60 This will alert when SG1 is greater than 60 for any of the previous 6 bars, plus the current bar. Study/Chart Alerts And Scanning: Referencing A Range of Data |
| [2020-04-20 14:32:09] |
| User918738 - Posts: 31 |
|
Nice... Thanks for the help! |
To post a message in this thread, you need to log in with your Sierra Chart account:
