Support Board
Date/Time: Mon, 13 Jul 2026 01:10:00 +0000
Post From: ACSIL Help.. while loop exploding SC
| [2026-05-23 15:18:01] |
| Sierra_Chart Engineering - Posts: 24244 |
|
Remove the use of the while loop. You cannot use that, in an ACSIL function in the way that you are and actually that is terribly inefficient in any case unless there is a small finite number of iterations and something actually being performed within the while loop. We recommend using manual looping in ACSIL: Working with ACSIL Arrays and Understanding Looping: Manual Looping/Iterating If you are waiting for a particular condition to occur, then add an if statement, somewhere after the sc.SetDefaults code block and check for that condition and if it is not true, then just simply return from the study function. 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: 2026-05-23 20:18:15
|
