Login Page - Create Account

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
imageScreenshot 2026-01-18 041534.png / V - Attached On 2026-01-17 20:16:28 UTC - Size: 126.44 KB - 3 views
[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
imageScreenshot 2026-01-18 042801.png / V - Attached On 2026-01-17 20:28:16 UTC - Size: 116.02 KB - 7 views

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account