Login Page - Create Account

Support Board


Date/Time: Sat, 19 Apr 2025 09:58:41 +0000



Custom Range Bars issue

View Count: 344

[2025-03-11 13:31:04]
Theodore01 - Posts: 5
Hello,

I've encountered an issue with the Custom Range Bars implementation based on the Complete Code Example from your documentation
(ACSIL Interface - Custom Chart Bars).

Issue Description:
- Some bars are being created smaller than the specified range
- This occurs specifically during the initial loading/calculation of the study
- After the initial run, new bars form correctly at the specified range

Test Environment:
- Base Chart: 1 second
- Tick Size: 0.1
- Range Setting: 1000 ($100)

I've attached a screenshot showing the small bars issue: https://www.sierrachart.com/image.php?Image=1741698428121.png
The behavior suggests there might be a specific initialization condition that needs to be handled differently.

I started with this example because I want to build Aligned Flex Renko charts,
so I think this problem would appear again.

Thank you for maintaining the documentation!
Theodore
[2025-03-12 21:57:36]
Sierra_Chart Engineering - Posts: 19276
We need some time to look into this.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-03-20 08:41:08]
Sierra_Chart Engineering - Posts: 19276
We do see a problem with the custom chart bar function not getting called, apparently during an error state which can happen when re-downloading data. We are going to resolve this. This may take care of this issue.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-03-20 09:25:13]
Theodore01 - Posts: 5
Thank you!

In the meantime I manage to make an aligned flex renko chart based on 1s data: https://www.sierrachart.com/image.php?Image=1742461969909.png
However, the most recent bars look squeezed like this: https://www.sierrachart.com/image.php?Image=1742462003713.png

Is this something related to the problem above or it's something else?
Thanks!

LATER EDIT: I tend to believe that the squeezed bars are actually many incomplete bars like these: https://www.sierrachart.com/image.php?Image=1742567925853.png
So it looks like it's the original problem.
Date Time Of Last Edit: 2025-03-21 14:40:53
[2025-03-24 07:23:30]
Sierra_Chart Engineering - Posts: 19276
Update to prerelease 2748. Instructions:
Software Download: Fast Update

See if you still have the issue. We are not aware of any other outstanding issues.

Renko chart bars are very complicated. It is best not to start with those types of bars and work with the basic bar type like a certain volume per bar as in the example. Once you can get all of that working correctly then you can go to a more advanced bar type.

The example can be found here:
/ACS_Source\ACSILCustomChartBars_Example.cpp
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2025-03-24 07:24:38
[2025-03-25 22:15:29]
Theodore01 - Posts: 5
The range bars (and my Renko bricks) appear to be forming without that issue.

Thank you for this and for the advice related to Renko!

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

Login

Login Page - Create Account