Support Board
Date/Time: Thu, 23 Jan 2025 03:17:58 +0000
Post From: Bug with sc.ArraySIze
[2018-10-29 17:03:44] |
Sierra Chart Engineering - Posts: 104368 |
Here is the proper code example: // Copy all the Close elements from the BaseDataIn array
// to the Data array of the first Subgraph. // This example assumes that sc.AutoLoop = 0 (manual looping). for (int BarIndex = sc.UpdateStartIndex; BarIndex < sc.ArraySize; ++BarIndex) { // SC_LAST is for the Close values in OHLC bars sc.Subgraph[0].Data[BarIndex] = sc.BaseDataIn[SC_LAST][BarIndex]; } Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |