Login Page - Create Account

Support Board


Date/Time: Sun, 12 May 2024 01:54:32 +0000



Post From: Problem understanding overlay study

[2017-06-20 19:11:02]
Sierra Chart Engineering - Posts: 104368

It may be considered clear when using the #2 next bar info (14:55:01), but this is *futur* information, so it cannot be used for backtesting.
Future bar times are always calculated, set and known. You can see these with the Chart Values tool as you move the crosshair into the area of the chart after the last bar. Refer to:
http://www.sierrachart.com/index.php?page=doc/Tools.html#ChartValues

And refer to:
http://www.sierrachart.com/index.php?page=doc/WorkingWithCharts.html#TimeScale

But the fact the sc.GetContainingIndexForSCDateTime draws the bar where I expect it (one later than the overlay study..)
We really cannot comment on this because we do not know exactly what is being done with this function, and the particular Date-Times of the data being referenced and other details.
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: 2017-06-20 19:12:04