Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 17:47:03 +0000



[User Discussion] - Delta Bars on a Range Chart

View Count: 1791

[2022-05-24 14:07:27]
User13051990 - Posts: 26
Good Afternoon,

I am new to Sierra Chart and I hope to find help here: I am using "Ask/Bid Volume Difference Bars" to display delta candles under my M5 chart.

Is there an option to display only the candlesticks where there is a divergence between M5 candlestick color and delta candlestick color?

For example: I only want to see a green delta candle, when there is a red candle in the M5 chart. The other delta candles should be hidden.

Greetings
Date Time Of Last Edit: 2022-05-24 14:43:50
[2022-05-24 15:07:55]
John - SC Support - Posts: 37827
You would have to use the Color Bar Based on Alert Condition study and base it on the Ask/Bid Volume Difference Bars and then set the alert for when you do NOT want to see the bars. Then set the color of the bar to be the same as the background. That way the bars will not be viewable. Refer to the information here:
Color Bar 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-25 07:47:28]
User13051990 - Posts: 26
Nice! Thank you.

Would it be possible to give me a little hint about the command-structure I have to type in using this alert condition?

Greetings
[2022-05-25 12:59:12]
Sawtooth - Posts: 4173
Try this:

1. Add the Color Bar Based On Alert Condition study, and move it below the Ask/Bid Volume Difference Bars study.
- Set the Based On to the Ask/Bid Volume Difference Bars study.
- Set the Chart Region to the same as the Ask/Bid Volume Difference Bars study.
- On the Subgraphs tab, set the Color Bar color to green.
- Use a formula like this on the Alerts tab:
=AND(C<O,ID1.SG4>0)
where ID1 is the Ask/Bid Volume Difference Bars study.

2. Duplicate the color bar study.
- On the Subgraphs tab, set the Color Bar color to red.
- Use a formula like this on the Alerts tab:
=AND(C>O,ID1.SG4<0)

3. In the Ask/Bid Volume Difference Bars study's settings, Subgraphs tab:
- Set all 4 SGs to the same color as the chart background.
This will hide the bars you don't want to see.
[2022-05-25 15:37:58]
User13051990 - Posts: 26
Thank you so much! Everything worked perfect! Nice!
[2022-05-25 15:44:25]
User13051990 - Posts: 26
Is it possible to add a black boarder around the candles?
[2022-05-25 16:37:47]
John - SC Support - Posts: 37827
Refer to the Candlestick color options starting here:
Graphics Settings: Candlestick Up Outline
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-05-25 16:57:53]
User13051990 - Posts: 26
Thank you for your answer.

Yes - I know this option. But it does not effekt the border of the delta candles based on the alert condition.

I uploaded a screenshot for you.

I think it is something to add on in the alert condition.
Date Time Of Last Edit: 2022-05-25 16:58:36
imageScreenshot_3.png / V - Attached On 2022-05-25 16:57:05 UTC - Size: 12.18 KB - 224 views
[2022-05-25 17:58:24]
John - SC Support - Posts: 37827
You can have the graphics settings apply to the Ask/Bid Volume Difference Bars by enabling the option for Use Chart Graphics Settings for Subgraph Colors on the Subgraph tab for the study. Refer to the following:
Chart Studies: Subgraphs Tab >> Use Chart Graphics Settings for Subgraph Colors
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