Login Page - Create Account

Support Board


Date/Time: Wed, 15 May 2024 21:05:42 +0000



question

View Count: 676

[2017-02-21 03:51:04]
enemyspy - Posts: 304
Hi I Apologize for the long explanation I need a solution for this if one exists,

I have submitted 2 photos of the same spreadsheet array they may serve as visual aids to make this more clear:
- The image "On_ChartReload" shows the array directly after the chart has recalculated.
- the image "After_Replay..." shows the array after replay/real time updating of 5 bars.

-The goal of the Subgraph array on display is to make the values persist in relation to sc.Arraysize --. It accomplishes this by continuously adjusting the values at the most recent 30 indexes of the Subgraph array at every update interval, to make sure they stay put in relation to their distance from sc.ArraySize.

-When I look at it in the Visual Studio debugger the values on the subgraph itself ARE indeed Persisting From the Top Down as expected during replay/realtime chart updating.

-However As you can see on the spreadsheet if you compare the 2 images side by side. The spreadsheet keeps moving everything except the top index down one.

Questions:
1. I am wondering if there is a way to get the subgraph to reflect updates to old indexs on the spreadsheet?
2. Or is the spreadsheet only designed to read the Top Index of the subgraph during Replay/RealTime update and move everything else Down?

If yes to 2: If sc.IsCustomChart is applied to one study on the chart, Can other studies that use regular autolooping with sc.IsCustomChart = 0 be used on the same chart?
Date Time Of Last Edit: 2017-02-21 03:53:22
Private File
Private File
[2017-02-21 04:19:12]
enemyspy - Posts: 304
one more thought on this. If I were to change the study That produces the subgraph in post #1 to manual looping, and keep the start index at sc.ArraySize-30, would that trigger the spreadsheet to also update all 30 indexes?
[2017-02-21 04:54:06]
Sierra Chart Engineering - Posts: 104368
This is an overly complex and confusing explanation of the issue.

Basically what you are asking is that you are changing data in a study Subgraph at an earlier index relative to sc.Index and you are not seeing those changes outputted by the Spreadsheet study on the associated Sheet.

The solution is to use this:
ACSIL Interface Members - Variables and Arrays: sc.EarliestUpdateSubgraphDataArrayIndex
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

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account