Support Board
Date/Time: Sat, 15 Nov 2025 16:16:10 +0000
Out Of Bounds Array Error
View Count: 141
| [2025-09-16 11:25:21] |
| maxpi - Posts: 193 |
|
per the log I'm getting this message during replay: "2025-09-16 07:15:18.769 | Chart #1 | Base Graph ID: 0 DateTime: Out of bounds array error at Index 2843". What is that referring to? It appears to be the chart price data but the index 2843 is not referred to by the study during replay, it appears to be more or less random. My study uses some arrays declared like "float LinesPriceArray[100];" could they be the cause of this message somehow?
|
| [2025-09-16 14:23:49] |
| John - SC Support - Posts: 43003 |
|
In general, Sierra Chart handles out of bounds array issues, so you do not need to worry about it. But, if you think this is your study that is doing this, then you should check to see where you might be accessing an index outside of the array size. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
To post a message in this thread, you need to log in with your Sierra Chart account:
