Login Page - Create Account

Support Board


Date/Time: Wed, 01 May 2024 22:09:33 +0000



bar numbering study

View Count: 630

[2019-06-26 12:26:24]
cmb999 - Posts: 211
hello, i created a symbol with data :

Date, Open, High, Low, Close, Volume
2010/01/04, 100, 100.2, 98.8, 99, 1000
2010/01/05, 99, 99.2, 97.8, 98, 1000
2010/01/06, 98, 98.2, 96.8, 97, 1000
2010/01/07, 97, 97, 95.8, 96, 1000
2010/01/08, 96, 96.2, 94.8, 95, 1000
2010/01/11, 95, 96.4, 94.8, 96, 1000
2010/01/12, 96, 97, 96, 97, 1000
2010/01/13, 97, 98, 97, 98, 1000
2010/01/14, 98, 99, 98, 99, 1000
2010/01/15, 99, 100, 99, 100, 1000
2010/01/18, 100, 101, 100, 101, 1000
2010/01/19, 101, 102, 101, 102, 1000
2010/01/20, 102, 103, 102, 102, 1000
2010/01/21, 102, 102, 101, 101, 1000
2010/01/22, 101, 101, 100, 100, 1000
2010/01/25, 100, 100, 99, 100, 1000
2010/01/26, 100, 101, 100, 101, 1000
2010/01/27, 101, 102.5, 101, 102, 1000
2010/01/28, 102, 102, 101, 101, 1000
2010/01/29, 101, 101, 100, 100, 1000
2010/02/01, 100, 100, 98, 99, 1000
2010/02/02, 99, 99, 97, 99, 1000
2010/02/03, 99, 100, 99, 99, 1000
2010/02/04, 99, 100, 99, 99, 1000
2010/02/05, 99, 99, 99, 99, 1000

i applied the Bar Numbering study.

Every bar is labeled 1

Also, is it possible to start at 0. isn't that the case with ACSIL ?
[2019-06-26 15:06:54]
John - SC Support - Posts: 31283
Make sure you have the option for Do Not Reset at Start of New Day set to Yes. Refer to the documentation here for this setting:
Bar Numbering

There is no built in way to start the count at 0. You could modify the study yourself to do this. It is located in the Studies2.cpp file found in the ACS_Source folder under your Sierra Chart installation. Refer to the documentation here for how to build a study from source code:
How to Build an Advanced Custom Study from Source Code
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2019-06-26 15:16:27]
Sierra Chart Engineering - Posts: 104368
That study has an Input to control whether it resets every day. Make sure it is set to not reset every day.
Sierra Chart Support - Engineering Level

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

For the most reliable, advanced, and zero cost futures order routing, *change* to 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