Support Board
Date/Time: Sun, 06 Jul 2025 09:39:14 +0000
Post From: ACSIL sc.SetBarPeriodParameters() causes indefinite loading loop
[2021-12-31 08:00:23] |
User99735 - Posts: 234 |
Hi, Each time you call sc.SetBarPeriodParameters(NewBarPeriod) the chart will go into recalculation. So after first recalculate the function is called again, and then again in an infinite loop. So add additional checks to ensure that the function sc.SetBarPeriodParameters(NewBarPeriod) is called once only. |