Support Board
Date/Time: Thu, 20 Feb 2025 19:49:28 +0000
[Programming Help] - Parameter changed function
View Count: 525
[2021-01-15 16:17:17] |
László Csipkés - Posts: 8 |
Dear Support, How can I catch the "parameter changed" event in the source code of the study? Is there any function to manage this event? Laszlo |
[2021-01-15 20:03:02] |
JohnR - User831573 - Posts: 313 |
I am not sure if this is the only way, but .... Hope this helps. JohnR sc.IsFullRecalculation [Link] - [Top] Type: Read-only integer variable. The sc.IsFullRecalculation variable will be set to 1 (TRUE) when the chart is performing a full recalculation of the studies. Full Calculation/Recalculations A study will be fully calculated/recalculated when it is added to a chart, any time its Input settings are changed, another study is added or removed from a chart, when the Study Window is closed with OK or the settings are applied. Or under other conditions which can cause a full recalculation. Within your code you would need to compare the current "Input" parm values to saved ones to see which one or ones have changed. |
[2021-01-18 09:08:16] |
László Csipkés - Posts: 8 |
Thank you, I'll test it. |
To post a message in this thread, you need to log in with your Sierra Chart account: