Login Page - Create Account

Support Board


Date/Time: Wed, 15 Jan 2025 12:44:49 +0000



Post From: Last price of a developing bar

[2017-06-16 18:24:14]
Sierra Chart Engineering - Posts: 104368
This code is wrong:
sc.GetBarHasClosedStatus(sc.UpdateStartIndex)


It needs to be sc.GetBarHasClosedStatus(sc.Index)

And make sure you are not using sc.GetBarHasClosedStatus anywhere else in the function.

You should also be aware of floating-point error:
http://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Functions.html#scFormattedEvaluate
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