Support Board
Date/Time: Sat, 01 Feb 2025 15:43:27 +0000
[Programming Help] - How to modify this alert formula
View Count: 574
[2019-07-17 19:53:23] |
User929084 - Posts: 60 |
Hi. Right now I use color bar based on alert condition with this formula : =AND(ID1.SG1[0] > ID1.SG1[-1],ID1.SG1[-1] < ID1.SG1[-2],ID1.SG1 > ID1.SG2,ID1.SG1<0) where ID1 is MACD and it gives me signal when MACD changes slope while above its AVG. Alert is green arrow up. I would like to modify this formula to give me signal after MACD changes slope and is above its AVG or slightly below AVG with not too much separation. I put blue arrows in those spots in the attached img. And I don't want a signal where there is too much separation and slope change - red arrows. How can I specify that distance in the formula. Thank you. |
slope_change.png / V - Attached On 2019-07-17 19:51:49 UTC - Size: 9.71 KB - 259 views |
To post a message in this thread, you need to log in with your Sierra Chart account: