Login Page - Create Account

Support Board


Date/Time: Wed, 12 Feb 2025 18:53:52 +0000



Post From: Get 0 when using

[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