Login Page - Create Account

Support Board


Date/Time: Wed, 28 Feb 2024 12:55:08 +0000



Post From: Moving Average Simple with SCDateTime input

[2015-07-27 04:56:50]
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:
BarTimeDurationAverage

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:
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: 2015-07-27 04:57:26