Support Board
Date/Time: Thu, 06 Feb 2025 07:13:36 +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. |
test.cpp - Attached On 2020-04-17 08:34:18 UTC - Size: 650 B - 283 views Attachment Deleted. |