Support Board
Date/Time: Sat, 12 Jul 2025 02:19:58 +0000
Post From: Bug in sc.BaseData during replay?
[2019-11-18 13:27:52] |
BrMa - Posts: 80 |
Believe me I'd be happy to be proven wrong - but another very simple test shows the following: I put together the following testing routine: SCSFExport scsf_TestIndex(SCStudyInterfaceRef sc) { if (sc.SetDefaults) { sc.GraphName = "TestIndex"; } else if (!sc.IsFullRecalculation) { float highPrice, lastPrice, debuggerStopLine; for (int index = sc.UpdateStartIndex; index < sc.ArraySize; index++) { highPrice = sc.BaseData[SC_HIGH][index]; lastPrice = sc.BaseData[SC_LAST][index]; debuggerStopLine = 0; } } } Please also note the index stays unchanged - so no new bar! Could the issue occur because of manual looping? I don't wanna bother you but this is a serious issue! Thank you for your help! Btw: I'm using version 2011 of Sierra Chart. |
![]() ![]() ![]() |