Login Page - Create Account

Support Board


Date/Time: Fri, 04 Jul 2025 21:15:29 +0000



[Programming Help] - how to count numbers of bars when a condition is true?

View Count: 860

[2019-01-19 00:31:16]
User970210 - Posts: 100
Hi,
Is it possible to count numbers of bars when a condition is true? thx
[2019-01-20 16:10:24]
ForgivingComputers.com - Posts: 1076
This can be done with a spreadsheet study.
[2019-01-20 17:55:15]
Sawtooth - Posts: 4232
Here's an example formula of how to do it with a spreadsheet study:
Spreadsheet Example Formulas and Usage: Formula to Count Bars Since An Event

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

Login

Login Page - Create Account