Login Page - Create Account

Support Board


Date/Time: Tue, 25 Feb 2025 07:27:33 +0000



wanting to cap the volume display and still use automatic scaling

View Count: 623

[2021-04-04 22:18:44]
MMX - Posts: 119
I have my volume bars in chart region 2 and I would like to limit or cap the volume that's displayed. Because I'm constantly changing the time frame of this specific chart, the volume scale has to be set to automatic, using constant or user defined ranges is not going to be effective when you're constantly changing the time frame. The Bar Time Duration study has the perfect solution, you can cap the minutes to stop the overnight bars from distorting the graphics and still have the automatic scaling. The Chart Settings/Advanced Settings 2/Volume Filter is not getting the job done, I'm setting it to filter at 5000 and the big volume bars will still print the 10,000 15,000 value. Maybe it's limiting the volume to 5000 somewhere else, but it certainly isn't impacting/affecting the display of my volume bars in chart region 2. I've read the Volume Filter documentation numerous times, what am I missing here?
[2021-04-05 15:51:32]
John - SC Support - Posts: 38150
The Volume Filter is not working for you as it does not cap the volume, it is removing any trades that are larger than the value you enter.

To do what you want you would need to use the Spreadsheet Formula and enter the following equation:
= IF(V > 5000, 0, V)

Then you just display the Spreadsheet Formula study instead of the Volume study. You may want to change the Spreadsheet Formula to also display as a Bar rather than a line.

Refer to the following:
Spreadsheet Formula

And refer to the following for changing the Draw Style:
Chart Studies: Subgraphs Tab >> Draw Style
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-04-06 14:20:15]
Sierra Chart Engineering - Posts: 104368
Really we recommend that you just modify the Volume study and add an Input to limit the volume:
How to Build an Advanced Custom Study from Source Code
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2021-04-06 14:21:33
[2021-04-06 23:56:34]
MMX - Posts: 119
I appreciate the thought, I did read the included link, and that is something that's way beyond anything I'm capable of. The results of the above Spreadsheet Formula just totally blew me away, it's everything I wanted, and the new graphics are every bit as revealing as I thought they would be. Thank you so much.

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

Login

Login Page - Create Account