Login Page - Create Account

Support Board


Date/Time: Sat, 03 May 2025 15:32:13 +0000



Bar Has Closed Logic - ACSIL

View Count: 116

[2025-01-27 07:21:12]
Balazs - Posts: 13
Dear Support,

I cant find it in the documentation, but when autoloop is on and I used the "BarHasClosed" function, when the bar closed, does the code only(!) execute the part of the code within this BarHasClosed function, or does the complete code run again (and obviously including now the section of the BarHasClosed as well). This would make a big difference on how I structure my code and put what function where.

thanks in advance.
[2025-01-27 19:43:37]
Sierra_Chart Engineering - Posts: 19399
Certainly, the study function is called for the indexes as explained here and executes:
Working with ACSIL Arrays and Understanding Looping: Automatic Looping/Iterating
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2025-01-27 19:44:02

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

Login

Login Page - Create Account