Login Page - Create Account

Support Board


Date/Time: Wed, 04 Dec 2024 09:01:40 +0000



Study shading

View Count: 138

[2024-11-15 18:11:03]
User585104 - Posts: 142
Hi,

This pic is 2 Bollinger band studies, how can I shade the 2 bands that have been created?

Thank you
imageScreenshot 2024-11-15 180729.png / V - Attached On 2024-11-15 18:10:34 UTC - Size: 82.02 KB - 26 views
Attachment Deleted.
[2024-11-15 19:59:50]
John - SC Support - Posts: 36442
Refer to the following for how to color between two subgraphs:
Chart Studies: Filling the Area Between Two Study Subgraphs within Same Study
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-11-15 20:08:02]
User585104 - Posts: 142
Hi there,

I have tried numerous ways to do what I want but with no success. I believe the issue is because it isnt within same study, it is 2 studies. I have tried using the Subgraphs Reference study but to no avail.

I am trying to fill/shade the area between the top band (Standard deviation 2) of the BB and the top band (Standard deviation 3)of the second BB, and the same for the lower bands. Creating 2 ribbons lets say.

Thank you
[2024-11-15 20:27:05]
John - SC Support - Posts: 36442
You would definitely need to use the "Study Subgraphs Reference" to this. Once you enter those subgraphs into that study, it should automatically show up, as that is how the Study Subgraphs Reference is setup. The one thing you may need to do is to change the "Scale" for the "Study Subgraphs Reference" to either "Automatic" or "Same as Region". Refer to the following:
Chart Scale and Scale Adjusting: Opening the Scale Settings Window For a Study
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-11-15 20:45:14]
User585104 - Posts: 142
Hi,

So I've done the top ribbon here for you too see, this is all I can ever manage. So it kind of works but for some reason it shades the entire chart not just the ribbon and I can make it not shade the entire chart. I'm using transparent fill to do this. I do this with automatic scale but I for this demo I just tried same as region with the same result. Any further guidance would be awesome

Thanks
imageScreenshot 2024-11-15 204107.png / V - Attached On 2024-11-15 20:45:05 UTC - Size: 108.52 KB - 20 views
[2024-11-15 21:03:39]
John - SC Support - Posts: 36442
Attached is a Study Collection that does what you are wanting. Use it directly or as a guide. Refer to the following for how to use it:
Study Collections: Using a Study Collection Provided by Sierra Chart Support

With regards to the issue you are seeing, it would imply that you have the Top and Bottom fill options reversed, or if you can think of it as having the subgraphs reversed. But again, take a look at our Study Collection to help you figure it out.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
attachmentFilledBollingerBands.StdyCollct - Attached On 2024-11-15 21:03:37 UTC - Size: 64.31 KB - 30 views
[2024-11-15 21:27:52]
User585104 - Posts: 142
Amazing thank you!

Looking at the study collection I can see where I was going wrong now, awesome thanks!
[2024-11-16 07:53:51]
User585104 - Posts: 142
Yep so your collection works perfectly =]

I was trying to reproduce it myself for future reference and it wouldn't work, then I realised that all along I was using study subgraph reference and the not study SubgraphS reference. All good now thanks

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

Login

Login Page - Create Account