Login Page - Create Account

Support Board


Date/Time: Sat, 20 Apr 2024 04:44:58 +0000



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

View Count: 691

[2019-01-19 00:31:16]
User970210 - Posts: 83
Hi,
Is it possible to count numbers of bars when a condition is true? thx
[2019-01-20 16:10:24]
bradh - Posts: 853
This can be done with a spreadsheet study.
[2019-01-20 17:55:15]
Sawtooth - Posts: 3976
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