Support Board
Date/Time: Wed, 02 Jul 2025 04:21:10 +0000
[Programming Help] - Writing an alert for the Divergence Detector
View Count: 841
[2021-09-20 16:12:03] |
C_Money - Posts: 83 |
Hello, I'm looking to set an alert on the Divergence Detector but I'm not sure how. I just want the alert to happen when any signal prints on the chart. Any help would be appreciated |
[2021-09-20 16:55:25] |
Sawtooth - Posts: 4231 |
You'll want to reference SG4 and SG5 of the Divergence Detector study: Try this on its Alert tab: =OR(SG4>0,SG5>0) Study/Chart Alerts And Scanning |
[2021-09-20 20:52:42] |
C_Money - Posts: 83 |
Thanks, that worked. How can I determine from the source code what is SG4 and SG5? I don't see anything with those variables.
|
[2021-09-20 22:48:19] |
Sawtooth - Posts: 4231 |
How can I determine from the source code what is SG4 and SG5? I don't see anything with those variables.
This might help:Divergence Detector |
To post a message in this thread, you need to log in with your Sierra Chart account: