Login Page - Create Account

Support Board


Date/Time: Fri, 29 Nov 2024 02:55:49 +0000



Post From: Storing SCDateTime-data in a subgraph array?

[2020-11-24 19:50:46]
kraut - Posts: 20
I am currently upgrading my old ACSIL code to Sierra Chart version 2200.

In my multi-timeframe helper class, I used to keep SCDateTime values as (float) in a subgraph array (sc.Subgraph[].Arrays[][]).

In Sierra Chart version 2200, is there a way to store SCDateTime data in subgraph arrays?

Update: How about casting the result of SCDateTime#GetAsDouble() to (float) and then storing it in a subgraph array? Would that only lose below-second resolution?
Date Time Of Last Edit: 2020-11-25 21:38:22