Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 12:28:13 +0000



ACSIL - sc.MaintainVolumeAtPriceData - related question

View Count: 858

[2015-06-16 03:09:19]
ejtrader - Posts: 688
SC Team - If we have sc.MaintainVolumeAtPriceData = 1 in custom study - sc.UpdateStartIndex == 0 gets executed twice - this is understandable as it needs to populate VAP data.

Question is - If we have this in multiple studies with - sc.MaintainVolumeAtPriceData = 1 on the same chart - does this statement sc.UpdateStartIndex == 0 - gets executed twice for each of the studies or only for the first study?

It appears like - this executes for every study that is on the chart ( based on my tests ) and I think it is not necessary to perform this calculation for every study. Would you please check and comment?

Thanks.
Date Time Of Last Edit: 2015-06-16 03:11:34
[2015-06-16 09:46:03]
Sierra Chart Engineering - Posts: 104368
Since the chart has to be reloaded to maintain the Volume at Price data, every study would would be called again with sc.UpdateStartIndex == 0.

It is critical that every study is called because all of the study data arrays are cleared. Without this, studies would not display anything.
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