Login Page - Create Account

Support Board


Date/Time: Mon, 27 Oct 2025 12:21:08 +0000



Chart Data loading twice

View Count: 273

[2025-10-06 03:42:59]
User238948 - Posts: 13
Hi Support, I have created a namedpipe connection which works great, I can pass data through it just fine. My issue is that when I load SierraChart and either the data loads when the chartbook is opened or I 'reload and recalculate' the chartbook, SierraChart is cycling through the data twice. I have not been able to figure out why but it happens every time. Is there a known reason why it would do this?
[2025-10-06 15:57:34]
John - SC Support - Posts: 42557
What exactly are you seeing that leads you to believe that the data is loading twice?
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-10-06 16:35:25]
User238948 - Posts: 13
Hi John,
Thanks for the reply. Here is a screenshot that hopefully shows that its loading twice. I ran it a few times to show that it happens every time.
You can see it reloads the chart > I print my message at index 10 (I burn the first few indexes) > SC confirms loading is complete > My message gets hit again which is the issue.

I can also see this is happening on my external app that is receiving the data over the named pipe and so far I have had to handle it doing these two cycles.

Let me know if you need any further info.
imageSierraChart - Support.png / V - Attached On 2025-10-06 16:29:12 UTC - Size: 135.05 KB - 36 views
[2025-10-06 16:46:35]
Sierra_Chart Engineering - Posts: 21221
What studies are on the chart? Studies that require Volume at Price data potentially could cause loading twice but not normally. First, the data without Volume at Price data is loaded and then the data loading occurs again to load the Volume at Price data.

If we know what studies are on the chart you might be able to solve 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-10-06 16:57:30]
User238948 - Posts: 13
On the chart I have "Price (Current price Line)", "CountDown Timer" and my own study which is just sending each tick to a named pipe.
[2025-10-06 17:07:08]
Sierra_Chart Engineering - Posts: 21221
Remove all studies from the chart and tell us if you notice the reloading two times.
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-10-06 17:18:34]
User719512 - Posts: 323
I have seen charts load twice when you have "Chart Trade Mode" set to ON.
Is this on? If you turn that OFF, does it change the behavior?

As I recall if there is order fill information loaded into the chart (e.g. chart trade mode is enabled), then the studies are recalculated once when the chart data has loaded and a second time when the order fill data has loaded.
[2025-10-06 17:55:06]
User238948 - Posts: 13
If remove them all then I would only get the detail reloading chart and chart data loading complete messages which would hide the fact its loading twice.
Instead, I have taken a copy of the chartbook and created a very basic study to still show that its loading twice. I have also attached a screenshot and the chartbook and study.
You can see in the screenshot the default SC messages are printed once but the study message is printed twice.
hopefully this is helpful
attachmentSierraChartSupportExample.cpp - Attached On 2025-10-06 17:52:36 UTC - Size: 1.04 KB - 39 views
attachmentSierraChartSupportExample.Cht - Attached On 2025-10-06 17:52:56 UTC - Size: 11.21 KB - 37 views
imageSierraChart - Support - 2.png / V - Attached On 2025-10-06 17:53:09 UTC - Size: 208.13 KB - 42 views
[2025-10-06 17:57:09]
User238948 - Posts: 13
I had not seen you last message about "Chart Trade Mode", yes it was on, but after turning it off the issue is still the same.
[2025-10-06 22:02:23]
Sierra_Chart Engineering - Posts: 21221
Chart Trade Mode will not cause a reloading of chart data twice. This cannot happen.

If you do not see Reloading Chart twice in the log then it is not reloading twice.

The logging that you have does not indicate reloading of chart data twice. It only indicates a full recalculation which is completely different. You are confusing the two things.
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-10-06 22:05:17]
User238948 - Posts: 13
Ok fair enough, sorry for the incorrect term usage. In that case why is the recalculation being invoked twice?
[2025-10-06 22:38:41]
Sierra_Chart Engineering - Posts: 21221
Refer to:
Working with ACSIL Arrays and Understanding Looping: When the Study Function is Called
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-10-06 22:54:26]
User238948 - Posts: 13
Thanks for the link. Given the chartbook and example study I provided, I am still not clear exactly what is causing it to loop through the data twice from index 0 each time. Please can you explain?
[2025-10-09 20:47:12]
Sierra_Chart Engineering - Posts: 21221
We have updated the documentation here about this:
Working with ACSIL Arrays and Understanding Looping: Full Calculation/Recalculations
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

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

Login

Login Page - Create Account