Support Board
Date/Time: Sun, 18 Jan 2026 06:56:03 +0000
Divergence color bar alert condition
View Count: 22
| [2026-01-17 20:16:36] |
| Jethro Go - Posts: 19 |
|
Good day, I am wondering how I could create a color bar alert condition for the divergence of a swing high/low study based on CVD and its study subgraph reference based on main graph. I am currently having trouble with referencing a range of [-3] bars and making the condition also reference the swing high on my CVD. Here is my alert condition: =OR( AND( ID7.SG1 [-1] < 0, ID6.SG1 [-1] > 0), AND( ID7.SG1 [-2] < 0, ID6.SG1 [-2] > 0), AND( ID7.SG1 [-3] < 0, ID6.SG1 [-3] > 0)) Where: ID7 = Study Subgraph Reference ID6 = Swing high and Low (On CVD) SG1 = Swing High SG2 = Swing Low Date Time Of Last Edit: 2026-01-17 20:17:40
|
| |
| [2026-01-17 20:28:22] |
| Jethro Go - Posts: 19 |
|
Updated Condition: =OR( AND( ID7.SG1 > ID6.SG1, ID7.SG2 < ID6.SG2), AND( ID7.SG1 > ID6.SG1[-1], ID7.SG2 < ID6.SG2[-1]), AND( ID7.SG1 > ID6.SG1[-2], ID7.SG2 < ID6.SG2[-2]), AND( ID7.SG1 > ID6.SG1[-3], ID7.SG2 < ID6.SG2[-3])) Attached image is the result I want to get the color bar to appear in the previous post's attached image |
| |
To post a message in this thread, you need to log in with your Sierra Chart account:
