Login Page - Create Account

Support Board


Date/Time: Thu, 16 May 2024 12:50:39 +0000



Post From: Cumulative Sum of Study

[2018-04-10 19:12:38]
Sierra Chart Engineering - Posts: 104368
This is a calculation precedence issue. The Color Bar Based on Alert condition has a lower calculation precedence than Cumulative Sum of Study. You can modify Cumulative Sum of Study to have a very low calculation precedence which will solve the issue. Refer to:
How to Build an Advanced Custom Study from Source Code


Another way to approach this problem would be to use the Spreadsheet Study. You can enter your condition in Column K to get the 1s and 0s, and then add them up in another column.

How to setup the rest of the formulas is beyond the scope of our support, so you will need to work with the data to determine how to sum up the data as you want.
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: 2018-04-10 19:12:53