Support Board
Date/Time: Sat, 08 Feb 2025 11:15:59 +0000
Post From: Abnormal Behavior when assigning trade account using sc.SelectedTradeAccount ASCIL Member
[2020-07-02 11:55:25] |
rahul - Posts: 167 |
I loaded Sierra Chart Version 2130 and don't seem to notice the issue anymore when I run the code in the same code block I use to reset persistent variables. Was something fixed in the backend when I moved from Version 2120 to Version 2130? if (sc.IsFullRecalculation && sc.Index == 0)//This indicates a study is being recalculated.
{ // When there is a full recalculation of the study, // reset the persistent variables we are using sc.GetPersistentInt(0) = 0; sc.GetPersistentInt(1) = 0; sc.GetPersistentInt(2) = 0; sc.GetPersistentInt(3) = 0; sc.SelectedTradeAccount = "Sim2"; } Date Time Of Last Edit: 2020-07-05 19:11:52
|