Support Board
Date/Time: Sat, 10 May 2025 17:09:20 +0000
[Programming Help] - Alert condition Rockwell Template
View Count: 850
[2016-06-13 15:09:59] |
User494206 - Posts: 44 |
What is the alert condition for the Rockwell Template, when the candles turn from black color to red or fron black to green? And in wich indicator do have to put the alert condition? |
[2016-06-13 16:50:54] |
|
We cannot help with the specific formula. However, here is the documentation for setting Study Alerts: https://www.sierrachart.com/index.php?page=doc/doc_StudyChartAlertsAndScanning.php Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2016-06-13 16:51:31
|
[2016-06-13 17:37:17] |
Sawtooth - Posts: 4214 |
The price bars turn from black to red when the MACD is below its MA, and below zero. The price bars turn from black to green when the MACD is above its MA, and above zero. So to only get the first occurrence of either, try this in the MACD study's Alerts tab: =OR(AND(SG1>SG2,SG1[-1]<0,SG1>0),AND(SG1>SG2,SG1[-1]<SG2[-1],SG1>0), AND(SG1<SG2,SG1[-1]>0,SG1<0),AND(SG1<SG2,SG1[-1]>SG2[-1],SG1<0)) |
To post a message in this thread, you need to log in with your Sierra Chart account: