Date/Time: Sun, 01 Oct 2023 22:11:05 +0000
Post From: Moving Average Simple with SCDateTime input
Sierra Chart Engineering - Posts: 104368
The Bar Time Duration Subgraph contains SCDateTime values stored as 4-byte floating-point values.
How have you defined this:
And if you check the size of it after getting the array, is it zero?
Both of these are valid:
as INT variable: TIME_PART(BarTimeDurationAverage[sc.Index])
as FLOAT variable: BarTimeDurationAverage[sc.Index]
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:
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: 2015-07-27 04:57:26