Login Page - Create Account

Support Board


Date/Time: Tue, 23 Apr 2024 19:02:46 +0000



[Programming Help] - ACSIL sc.DataStartIndex

View Count: 931

[2017-12-21 01:55:42]
User553714 - Posts: 184
From the documentation I understand that sc.DataStartIndex is used to set the Index of the first element at which a subgraph should start to be drawn.

What I don't understand and which isn't clear in the documentation is it's scope of application; when set does this apply to all Subgraphs that are drawn, i have 30+ SG's so does this force all these to start calculation at the set DataStartIndex? If this is the case, is there anyway to reduce it's scope to a specific SG, for example to a Moving Average SG?

For example, how is DataStartIndex passed to sc.TEMA?
sc.DataStartIndex = EMALength.GetInt() - 1;
sc.TEMA(sc.BaseDataIn[InputData], Avg, EMALength);

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

Login

Login Page - Create Account