Support Board
Date/Time: Wed, 15 Jan 2025 12:58:36 +0000
One Time Calculations That Do Not Run During Study Updating
View Count: 706
[2017-06-22 07:44:03] |
jizzary - Posts: 177 |
the code example -------------------- if(sc.Index == 0) { //Code to run only on study full recalculation } the experession (sc.Index == 0)will be true not only on full-recalculation but after SetDefaults as well ... right ? so may be it should be as follows if (sc.IsFullRecalculation || sc.DownloadingHistoricalData) { if (sc.Index == 0) { //Code to run only once on study full recalculation } return; } =>> if true - documentation should be corrected Date Time Of Last Edit: 2017-06-22 13:10:44
|
To post a message in this thread, you need to log in with your Sierra Chart account: