Support Board
Date/Time: Wed, 26 Feb 2025 09:57:06 +0000
Bars Since?
View Count: 668
[2021-05-17 23:53:17] |
RonW - Posts: 105 |
I recently came across a very useful function in another platform. Is there a way to do this in Sierra? Or perhaps you can add a function? "Bars Since"... counts the number of bars since a condition has happened, such as the number of bars since a fast moving average crossed above a slow moving average, for example. Thanks! |
[2021-05-18 13:38:05] |
John - SC Support - Posts: 38172 |
You can do this using the Spreadsheet study. Refer to the following exammple: Spreadsheet Example Formulas and Usage: Formula to Count Bars Since An Event 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: