Login Page - Create Account

Support Board


Date/Time: Sun, 29 Mar 2020 21:57:24 +0000



Barssince Function in Alert Condition Formula

[2019-03-03 20:30:57]
jayn1321 - Posts: 4 | Ending Date: 2019-03-17 [Expired]
I'm wondering if there is a "barssince" function, similar to TradingView, where you can get a count of the number of bars/candles since a condition was true.

Sorry in advance if I missed it within the help sections.

Jay
[2019-03-06 23:11:31]
Sierra Chart Engineering - Posts: 82826 | Ending Date: 2020-06-09
This can be done by using the Spreadsheet Study:
https://www.sierrachart.com/index.php?page=doc/OverviewOfSpreadsheetStudies.php

And specifically refer to:
https://www.sierrachart.com/index.php?page=doc/SpreadsheetExampleFormulasAndUsage.php#CountBarsSinceAnEvent
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.

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

Login

Login Page - Create Account