Support Board
Date/Time: Tue, 25 Feb 2025 07:52:56 +0000
[Programming Help] - IsFullRecalculation changes to False (0) while SC is disconnected
View Count: 701
[2021-04-06 19:34:56] |
User987654 - Posts: 69 |
Hi Support, In my ACSIL study, I used sc.IsFullRecalculation to test for when data is not live. Once live, it executes a different block that sends orders. When I reload the chart while I have SC disconnected from the data feed, the flag will remain True (1) until it has processed all the data but then change to False (0) once it gets to the end of the reload even though the data feed remains disconnected. When this happens, I get the following message in my Trade Service Log seemingly at every chart update interval. I am guessing it's because the study is trying to send orders. - Not connected to the Trading service. Select 'File >> Connect to Data Feed' to connect. You may need to reconnect with 'File >> Disconnect' and 'File >> Connect to Data Feed' | 2021-04-06 15:23:57.136 * - Not connected to the Trading service. Select 'File >> Connect to Data Feed' to connect. You may need to reconnect with 'File >> Disconnect' and 'File >> Connect to Data Feed' | 2021-04-06 15:23:57.243 * -etc. Is this the intended behavior? ie. expecting the next tick to be live since the reload of historical data is done? Thanks |
[2021-04-08 02:31:14] |
User987654 - Posts: 69 |
Sorry Support, I figured out my problem. I had sc.UpdateAlways set to 1. Please ignore but I will leave post up if anyone else runs into a similar issue.
|
To post a message in this thread, you need to log in with your Sierra Chart account: