Support Board
Date/Time: Wed, 15 Jan 2025 12:59:06 +0000
Post From: One Time Calculations That Do Not Run During Study Updating
[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
|