Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 17:11:48 +0000



End-Of-Bar Study Calculation Only

View Count: 1328

[2016-08-17 07:02:10]
User147461 - Posts: 33
How do I force my study to stop recalculating tick-by-tick and calculate only once at the end-of-bar?

Thank you!
[2016-08-17 20:47:31]
User147461 - Posts: 33
I think I found what I was looking for:
sc.GetBarHasClosedStatus()


if (sc.GetBarHasClosedStatus(sc.Index) == BHCS_BAR_HAS_NOT_CLOSED)
{
return;//do not do any processing if the bar at the current index has not closed
}

Thank you!

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account