Support Board
Date/Time: Tue, 04 Mar 2025 22:02:40 +0000
Post From: ACSIL sc.SetBarPeriodParameters() causes indefinite loading loop
[2021-12-31 15:52:10] |
tomas262 - Posts: 145 |
thank you, it works as expected when I use hard-coded value to compare with but if a refer to another study value using this code ... SCFloatArray VXNChartArray; sc.GetStudyArrayUsingID(VXNChart.GetStudyID(), VXNChartSubgraph.GetSubgraphIndex(), VXNChartArray); float LatestVXNValue = VXNChartArray[sc.Index]; complete code attached as image the indefinite loop occurs again :(( Can the reference to another study value (VXN chart last price in my case) be the problem? I use sc.CalculationPrecedence = LOW_PREC_LEVEL; under sc.SetDefaults Logging outputs correctly though ... Chart: MNQH22-CME [C][M] 3.00 Range #4 | Study: TrendArrowsAdvanced3 | LatestVXNValue: 21.510000; rangeBarSetting (ticks): 12; Current chart setting: 12 | 2021-12-31 09:41:06.978 *
Date Time Of Last Edit: 2021-12-31 16:04:31
|
![]() |