Login Page - Create Account

Support Board


Date/Time: Fri, 21 Feb 2025 09:33:58 +0000



Zig Zag Study display

View Count: 180

[2025-02-15 18:45:00]
user_xyz - Posts: 446
Is there anyway to display the zigzag cum vol study with all values above zero?

Meaning I use zigzag study to display accumulated volumes. These will rise overtime (positive values and color coded) then will flip and turn negative (negative values and different color) showing below the zero line.

Can this all be displayed above the zero line with positive/negative values being accumulated and color coded to show the difference. Similar to standard volume chart that is zero based.
Date Time Of Last Edit: 2025-02-15 19:12:59
[2025-02-15 20:53:42]
user_xyz - Posts: 446
Getting close. Ultimately I don't want the zigzag study in region 2 and I want all values zero based, showing positive bars.

I added the Study Absolute Value, set it based on zigzag, zero based in region 1 and works perfectly, except I need coloring to be based off the study subgraph.

I changed coloring based on base graph (which is set to the zigzag study) but it is coloring from the Region 1 base candles.

This seems like it should be simple and either missing something or over complicating it.
Date Time Of Last Edit: 2025-02-15 20:56:15
image20250215_124457-SierraChart_64.png / V - Attached On 2025-02-15 20:48:58 UTC - Size: 193.39 KB - 64 views
[2025-02-17 16:13:52]
John - SC Support - Posts: 38101
What are the rules by which you want the coloring of the "Zig Zag Cumulative Volume" bars (actually, Absolute Value bars)?
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-02-17 17:00:19]
user_xyz - Posts: 446
In that picture I want the Absolute Value bars to mirror the colors of the ZigZag in region 2.

Ultimately what I need is the ZigZag to be zero-based with the 'negative accumulated volume' showing a different color than positive, in Region 1

I achieved this with the Absolute value study of the ZigZag but can't get the coloring.
Date Time Of Last Edit: 2025-02-17 17:27:51
[2025-02-17 17:13:51]
User438057 - Posts: 51
In scale settings did you try: User Defined, with bottom of the range set to 0?
[2025-02-17 17:27:17]
user_xyz - Posts: 446
Yes that doesn't work. Might be because the values are negative, which led me down the ABS value study.
[2025-02-17 18:42:33]
John - SC Support - Posts: 38101
If you just want the coloring based on the actual Cumulative Volume being negative or positive, then set the default color for the "Absolute Value" study to be the Positive situation (i.e. green, if that is what you want) so all bars are the same color.

Then add the "Color Bar Based on Alert Condition" study and set it to be based on the "Absolute Value" study. The Alert condition you enter would be the following:
=ID1.SG5 < 0

Where ID1 is the ID of the "Zig Zag Accumulated Volume" study and SG5 is the "Accumulated Volume" subgraph of the "Zig Zag Cumulative Volume" study. You need to change these for your particular setup.

Then refer to the following for how to use the Color Bar Based on Alert Condition to color subgraphs of other studies:
Color Bar Based on Alert Condition: Coloring Subgraphs of Other Studies
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-02-17 19:59:09]
user_xyz - Posts: 446
So very close. Previously I tried all the Color Bar Based... (they only color main price graph) except on Alert.
Thought this would do it once I saw your post, but strangely it's not coloring the Bars of the ABS Study Subgraph it's creating it's own bar.

See image - also attached chartbook. Just your default Example Chartbook with these three studies.
image20250217_115256-ZoomIt64.png / V - Attached On 2025-02-17 19:56:36 UTC - Size: 217.27 KB - 17 views
attachmentExampleChartbook.cht - Attached On 2025-02-17 19:58:18 UTC - Size: 8.21 KB - 8 views
[2025-02-18 15:22:22]
John - SC Support - Posts: 38101
Make sure you have the scale for the "Color Bar Based on Alert Condition" set to be the same as the "Absolute Value" study.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-02-18 18:26:34]
user_xyz - Posts: 446
It is, see attached.

Also attached chartbook in previous post because this should work with those settings.

Somehow the Color Bar Based on Alert is it's own independent set of bars (screenshot I slid up the right scale on ES and you can see red bars by themselves)
image20250218_102052.png / V - Attached On 2025-02-18 18:26:27 UTC - Size: 123.01 KB - 12 views
[2025-02-18 22:55:57]
John - SC Support - Posts: 38101
You cannot use the "Use Left Side Scale" option in this case. Only one study can use the left side scale, which means that you cannot line up the "Absolute Value" study with the "Color Bar Based on Alert condition.

Set both studies to use the scale option for "Automatic Zero-Based" and make sure both do NOT use the option for "Use in Left Side Scale".
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-02-19 11:14:07]
user_xyz - Posts: 446
This worked, however, is there a way to adjust the scale or size the Absolute Study bars will take up? The Abs Study is now locked with main price graph and no way to adjust

BTW the Absolute Study path is just the direction I was brainstorming on if there is another / easier way please let me know.

Thanks!
image20250219_031214.png / V - Attached On 2025-02-19 11:12:34 UTC - Size: 91.19 KB - 11 views
[2025-02-19 17:17:00]
John - SC Support - Posts: 38101
The only option would be to move the "Absolute Value" and "Color Bar Based on Alert Condition" to their own region (so not in the same region as the Main Price Graph).
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