Support Board
Date/Time: Sat, 17 May 2025 21:12:11 +0000
Post From: ASCII study coding question
[2024-04-12 19:57:17] |
User395175 - Posts: 90 |
so im still a little bit confused, to achieve my goal, is my below condition right when using autoloop? if (sc.IsFullRecalculation!=1 && sc.GetBarHasClosedStatus()==BHCS_BAR_HAS_CLOSED { ... } Will it only run the code when recent bar close and before new bar added? I want the study only run one time each time a bar closed during bar updating. Should i add some condition to check sc.Index? like sc.Index == sc.ArraySize - 1) |