Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 00:45:11 +0000



Bar Numbering: Reset every Nth bar/period

View Count: 211

[2024-01-17 14:19:23]
User826539 - Posts: 18
Hello,

I am trying to create a rolling bar count that resets either every Nth Bar or period.

I have tried the Bar Numbering study but this only allows for a daily reset.

I need to accomplish this without the use of a spreadsheet study as it is a very short term chart and spreadsheets, on this occasion, would be cumbersome.

Any help would be greatly appreciated.
[2024-01-17 17:37:53]
John - SC Support - Posts: 36286
You would have to modify the source code to do this. The code is located in the Studies2.cpp file in the ACS_Source folder under your main Sierra Chart installation folder. Refer to the following:
How to Build an Advanced Custom Study from Source Code

List of Third Party Sierra Chart Study and System Programmers
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