Support Board
Date/Time: Sat, 21 Dec 2024 17:47:08 +0000
[User Discussion] - HA smoothed study - how to set up alert
View Count: 948
[2015-03-20 21:09:21] |
User11942 - Posts: 298 |
How may I set up an alert when the study turns green or red (in other words when HA switches direction). I went through the study documentation, but I'm still not sure which formula should I use in Color based on alert condition study. I know how to set up an alert for simple HA but in the smoothed HA moving averages are involved in study calculation that makes me puzzling. Thanks in advance. Date Time Of Last Edit: 2015-03-20 21:13:08
|
[2015-03-20 21:24:29] |
User11942 - Posts: 298 |
I tried to use this formula, but it doesn't seem working correctly. AND(ID1.SG4 > ID1.SG4[-1], ID1.SG4 [-1]<=ID1.SG4[-2]), where SG4 is close of HA smoothed candle. |
[2015-03-22 01:08:17] |
Sawtooth - Posts: 4141 |
Try this: =OR(AND(ID1.SG1[-1]>ID1.SG4[-1],ID1.SG1<ID1.SG4),AND(ID1.SG1[-1]<ID1.SG4[-1],ID1.SG1>ID1.SG4)) |
To post a message in this thread, you need to log in with your Sierra Chart account: