Support Board
Date/Time: Fri, 04 Jul 2025 04:44:25 +0000
Post From: sc.RecalculateChartImmediate
[2020-04-17 08:36:54] |
User869657 - Posts: 31 |
Hello, Thanks again for your reply, I managed to get it working using your advice. However, I am facing another issue : setting an input's value through a for loop using sc.SetChartStudyInputInt and sc.RecalculateChartImmediate works great. But importing a SG's value from that same chart after recalculating it seems to trigger again the for loop, which then never ends. This has been tested using both automatic and manual looping Attached a short code with this issue : adding line 27 (sc.GetStudyArrayFromChartUsingID) seems to trigger the endless repeat of for loop Could you please let me know if I misunderstood something about these functions Many thanks in advance. |
![]() Attachment Deleted. |