Login Page - Create Account

Support Board

Date/Time: Sun, 03 Mar 2024 21:49:04 +0000

[Programming Help] - Full Recalculation Detection

View Count: 94

[2023-11-20 16:27:39]
WarriorTrader - Posts: 244
Is there a way to determine in ACSIL when a chart has been tagged for recalculation?

Chart #15 has tagged chart #6 for full recalculation. Chartbook: DayTrade_ES_CQG.Cht

My chartbook uses a ton of remote drawing tools so there are a lot of recalculations when my chartbook opens. This has never been a problem till recently.
SC behavior has somehow changed. Studies that have run for many years are now getting random CPU exceptions:

Warning: The Custom DLL study "BreakoutColoring_64.scsf_BreakoutColoring" has just caused a CPU exception. | 2023-11-20 10:34:23.478 *

It is not completely random, and I can get everything running if a close and open the chartbook 7 to 10 times. I finally get lucky somehow.
I suspect it may have to do with all the recalculations, but I can't be sure.

I would like a study to return if a chart it is referencing is in the middle of a recalculation. Is there a function for this?

I am also getting the following error in the message log, but don't know if it is related because things do run without any CPU Exceptions with the error present:

Chart #8 | Base Graph ID: 0 DateTime: Out of bounds array error at Index 0 | 2023-11-20 10:34:24.905

I am running SC version 2543 Revision 47486

To post a message in this thread, you need to log in with your Sierra Chart account:


Login Page - Create Account