Support Board
Date/Time: Sun, 31 Aug 2025 16:19:46 +0000
Bug in VbP VWAP standard deviation: lines reset after volume threshold
View Count: 202
[2025-07-31 04:03:19] |
joshtrader - Posts: 523 |
To reproduce: 1. Create an Intraday Only "1 day" period chart for SPY and show at least 100 days. 2. Draw or attach a VbP study, that encompasses at least 70 days. For ease of demonstration set Draw Mode to "POC, VPOC, VWAP, ... Lines only". 3. Set study input "Calculate Mean Price and Standard Deviation Bands" to Yes. 4. Set "Line" or similar for the draw type of the VWAP, Mean +/- 1, Mean +/- 2 lines. 5. Set study input "Mean and Standard Deviation Based On" to "Volume." Observe what you see in the attachment. When the cumulative volume reaches between 2.759B and 2.794B (for recent SPY volume, approximately 60 days will be sufficient to reach this threshold), the standard deviation lines cease to calculate, and they collapse onto the VWAP line. Notes: 1. Maybe this is a 32-bit integer overflow? 2. Both drawn and fixed VbP has this issue. 3. When "Mean and Standard Deviation Based On" is set to Trades instead of Volume, the issue is not present, given the amount of data I had available to test with. 4. The study Volume Weighted Average Price does not have this issue. I have attached a chartbook with the chart which can be used to demonstrate the error. |
![]() Private File Attachment Deleted. |
[2025-08-01 05:27:23] |
Sierra_Chart Engineering - Posts: 20780 |
We will work on resolving this. Thank you.
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, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2025-08-01 23:47:26] |
Sierra_Chart Engineering - Posts: 20780 |
This will be resolved in the next release. It is caused by an overflow but an overflow of a signed 64-bit integer.
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, 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: