Support Board
Date/Time: Mon, 08 Sep 2025 16:06:58 +0000
Post From: Suggestions on issue seeing wrong results from study after chart reload vs live/replay
[2025-09-07 00:50:13] |
rajeshh - Posts: 25 |
Hello - I am looking for general suggestions on what I could do to debug an issue with my custom ACSIL study, where I see the correct results when I run live or replay, but incorrect results just after chart load. Some specifics - This study is referenced from another study. The values in the study are only calculated on bar close using sc.GetBarHasClosedStatus() == BHCS_BAR_HAS_CLOSED All studies have autoloop True Nothing special is done with sc.Recalculation etc. Its almost as if there are two iterations of calls to my study - one time originally, and then 2nd time without resetting all the values, so the result the 2nd time around is different. My expectation is BAR_HAS_CLOSED should only result in the study being executed once for each bar during the lifecycle of the chart loading. Is that an incorrect assumption? Date Time Of Last Edit: 2025-09-07 03:10:14
|