Support Board
Date/Time: Thu, 02 May 2024 07:29:48 +0000
Post From: Bug in sc.BaseData during replay?
[2019-11-18 13:27:52] |
BrMa - Posts: 77 |
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. |
ChartSettings.jpg / V - Attached On 2019-11-18 13:12:53 UTC - Size: 176.4 KB - 276 views Debugger-1.jpg / V - Attached On 2019-11-18 13:15:54 UTC - Size: 126.39 KB - 286 views Debugger-2.jpg / V - Attached On 2019-11-18 13:16:00 UTC - Size: 130.25 KB - 280 views |