Login Page - Create Account

Support Board


Date/Time: Mon, 27 Jun 2022 01:57:26 +0000



[User Discussion] - Divergence visual between HA Candle and CDV

View Count: 144

[2022-05-19 20:10:34]
User576648 - Posts: 26
How could I have a visual divergence marker (verticle shaded line between the 2 chart regions or arrows or dots) between the top chart (HA volume-based candle) and the bottom chart (Cumulative Delta volume Divergence)? Referring to the picture, after the verticle white line, HA was pink (red) meanwhile CDV was light blue (green) in that specific candle I want some marker. I get to choose which one either verticle shaded line in both regions or a dot. basically marking the difference of color between both candles.
image1.JPG / V - Attached On 2022-05-19 20:10:32 UTC - Size: 22.8 KB - 24 views
[2022-05-19 20:50:52]
John - SC Support - Posts: 16924
You could use two copies the Color Background Based On Alert Condition study and set one up for the condition in Region 1 and the other for the condition in Region 2. You will have a break in the background coloring at the region transition, just like the vertical line drawing in your image.

Refer to the following for the Color Background Based on Alert Condition study:
https://www.sierrachart.com/index.php?page=doc/StudiesReference.php&ID=252&Name=Color_Background_Based_on_Alert_Condition
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-05-19 21:11:17]
User576648 - Posts: 26
How to set up the alert codes? I'm not familiar with this approach if you could give me an example with any ID and I would match it with mine. I use HA volume candle and CDV.
[2022-05-19 21:17:04]
John - SC Support - Posts: 16924
Is your condition just when you have a "Down" candle in the main graph and an "Up" candle in the Cumulative Delta - Volume?

We suspect there is more to it, in which case we need the exact conditions for when you would want to mark that bar.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-05-19 21:28:36]
User576648 - Posts: 26
just when a candle from both Heiken Ashi and Cumulative Delta volume are the opposite color. HA doesn't have up or down I'm after the color difference. what should be the code in the alert? and how could I have the color background in one region or both?
[2022-05-19 21:48:17]
John - SC Support - Posts: 16924
Your alert condition would look like the following:
=OR(AND(ID0.SG1 < ID0.SG4, ID2.SG1 > ID2.SG4), AND(ID0.SG1 > ID0.SG4, ID2.SG1 < ID2.SG4))

Where ID0 is the main price graph and ID2 is the Cumulative Delta. SG1 in both cases is the Open and SG4 is the Close.

The colors in both for both of these candles are determined in the same way as up and down candles - is the Close less than or greater than the Open.

You would need to use 2 versions of the Color Background Based on Alert Condition that are the same as each other, but one is for Region 1 and the other for Region 2.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account