Login Page - Create Account

Support Board


Date/Time: Wed, 12 Feb 2025 16:16:19 +0000



Get 0 when using

View Count: 482

[2020-11-04 09:07:23]
User763472 - Posts: 22
Dear Sir/Madam,

I was using the function "sc.GetStudyArrayUsingID" to get the study arrays from the same chart. Through Visual C++, I found out that when not using "replay", I correctly got all the data. While using "replay", I received "0" for all the data.

FYI, I set "sc.CalculationPrecedence = LOW_PREC_LEVEL;" in Default part already and also enabled "Use Controlled Order Chart Updating" in the General Setting pannel.

I tried other functions such as "sc.GetStudyArraysFromChartUsingID" and got the same result.

I need to use "replay" to back-test trading systems. Could you please help on this? Thanks!

Best regards,
Zeyu
[2020-11-04 13:36:08]
Sierra Chart Engineering - Posts: 104368
This might be due to study calculation order:
Chart Studies: Study Calculation Precedence And Related Issues
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
Date Time Of Last Edit: 2020-11-04 13:36:20

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

Login

Login Page - Create Account