Login Page - Create Account

Support Board


Date/Time: Wed, 02 Jul 2025 05:21:29 +0000



Please add those to Number Bars Calculated Values

View Count: 750

[2020-12-20 16:12:08]
gomifromparis - Posts: 244
Hi,

Could you please add those ?
*Time since price last touched bar High
*Time since price last touched bar Low

It would be useful to calculate momentum on the closing of the bar ; ie if we use range bars or renko bars and we exit the bar with a short time since we touched the opposite side, it means we are exiting with nice momentum, it's not just a random tick higher on a kind of rangy slow move.

I thought doing it myself (see Accessing the full historical intrabar tick stream in ACSIL ) but it seems rather complex (usage of a lock) and you mention performance issues if we run it on each bar.

Since you already do a lot of this sort of calculations in the Number Bar Calculated Values, I thought maybe you would be willing to add those ? Moreover, the users would not incur the performance degradation.

Thanks
[2021-01-19 21:17:44]
John - SC Support - Posts: 40702
We have added two new subgraphs Time Since Price Touched Bar High and Time Since Price Touched Bar Low to the Numbers Bars Calculated Values 2 study.

Note that these calculations are only determined for live data and does not go back and determine this from historical data. Additionally, when you first add the study, it will not update until the price touches the bar High/Low, or a new bar forms (which establishes a new High/Low). This also means that if the chart is recalculated, any data that had accumulated will be removed and replaced with zeros.
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:

Login

Login Page - Create Account