Support Board
Date/Time: Fri, 07 Nov 2025 03:51:40 +0000
Post From: Sequence of evaluation of interdependent studies during chart load?
| [2025-10-10 16:28:32] |
| User431178 - Posts: 806 |
|
Wrt manual vs automatic looping, I dont see how that affects SC calling the study on a bar close, since the manual looping is happening inside the study, and we are talking about calling the study as a black box. I am speaking with regards to full recalculation of chart (and any chart update where more than one bar is processed (sc.UpdateStartIndex < sc.ArraySize - 2) - "When an intra day chart is loaded the first time, how do the studies get evaluated?" Automatic = study called once for each bar in the chart (or update) Manual = study called once for all bars in the chart (or update) The point being that with manual looping, as all bar are calculated in a single pass, there is no way to calculate all studies at each individual bar in sequence during a full recalculation. Once you are live updating at then no difference. If you had to calculate each study in turn at each bar during recalculation, then that would mean "automatic looping" would be the default and only case. The real resolution is in whether SC will decide to make the behavior consistent.
You'll be better off rewriting your studies to account for this, it's surely not so hard.
Date Time Of Last Edit: 2025-10-10 16:29:23
|
