Login Page - Create Account

Support Board


Date/Time: Thu, 26 Dec 2024 01:36:56 +0000



Post From: Referencing data using sc.GetExactMatchForSCDateTime

[2015-11-24 22:32:45]
wwwingman - Posts: 185
OK. Thank you for your help.

I have no more questions.

For the record, and other programmers, here is what I finally understood :

1. There was a bug on my side. It led to wrong results on the loop I indicated above and on the sc.GetExactMatchForSCDateTime.

2. sc.GetExactMatchForSCDateTime WILL GIVE 100% matches IF you set the "Include Columns with no data" on both charts.
The problem is that on very low activity we may have missing bars. This option will force us to have all the 5 mn bars and all the 1 mn bars. All the 5 mn bars will have a matching 1 mn bar index.

3. Having the "include columns with no data" option will not solve the problem of mixing charts of different nature like 5 mn + renko charts. Using GetContainingIndexForSCDateTime seem to be the only solution.

-- W.