Support Board
Date/Time: Sat, 23 Nov 2024 20:43:57 +0000
Referenced study data is zero on first pass
View Count: 1421
[2013-08-20 00:10:52] |
onnb - Posts: 662 |
hi, I have the following setup: 1. 15 min chart has Numbers Bars Calculated Values applied to it (nbcv) 2. 15 min chart has my custom study applied to it 3. my custom study references the nbcv study mentioned above. 4. i have a 1 tick chart open and that is also referenced by my study I am using AutoLoop = 1 I am grabbing the nbcv values using GetStudyArrayUsingID What I am seeing is this: when i first add the studies for the first time to the 15 min. chart, my study goes through a full calculation twice. The first time around, nbcv values I am retrieving are zero. On the second time around, I get the right values. Does this make sense and is this expected? If it does, is there a way to detect the first iteration? Onn |
[2013-08-20 00:34:17] |
Sierra Chart Engineering - Posts: 104368 |
When you add the studies to the chart, does the chart reload itself? It would make sense that it will do that one time in order to calculate the necessary underlying volume at price data. Also we recommend giving the chart that is using sc.GetStudyArrayUsingID a low precedence level. 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 Date Time Of Last Edit: 2013-08-20 00:34:27
|
To post a message in this thread, you need to log in with your Sierra Chart account: