Login Page - Create Account

Support Board


Date/Time: Fri, 24 Jan 2025 05:01:58 +0000



Post From: Inaccurate back tests results

[2018-12-19 19:18:41]
Sierra Chart Engineering - Posts: 104368
Okay we see where you are going wrong. Do not use sc.GetCurrentDateTime(). There is going to be some variation in that current Date-Time during a replay from back test to back test especially if you are varying the acceleration. It is not going to be 100% stable like you think. It cannot be.

You really need to use:
ACSIL Interface Members - Variables and Arrays: sc.BaseDateTimeIn[]

ACSIL Interface Members - Variables and Arrays: sc.BaseDataEndDateTime[]

You must use a solid and consistent point of reference for the Date-Time which can only be the bar timestamps themselves.
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: 2018-12-19 19:19:51