Support Board
Date/Time: Sun, 24 Nov 2024 14:41:56 +0000
Post From: Custom studies called too often (even when disconnected)
[2024-04-17 07:58:58] |
User145575 - Posts: 20 |
Actually, yes, judging by my CPU (just looking in Windows Task Manager) it does seem that SC is using relatively high CPU even if I remove all studies from my chartbook, and disconnect from data feed. Now, "relatively high" in this case with no studies is only 2%, but if I start a brand new chartbook with no studies, and disconnect, the CPU shows 0.0 or 0.1%. Could my chartbook be corrupted somehow, even after I delete all studies from it? If I remove all studies from my cht except one of my own ACSILs, and all chart windows but the one, connect to data feed and then disconnect, and set a breakpoint, it is definitely updating constantly (whether or not I add the Cumulative Delta Bars dependency). However if I start a new chartbook and just add my study, it does not do that. Very weird! I think I need to try rebuilding my whole chartbook from scratch (not looking forward to that), and seeing if this still happens. To summarize again: if I start a new cht and add my study, CPU is "at rest" while data feed disconnected, and my breakpoints aren't hit. if I remove all studies from my old cht, then re-add my study, CPU is higher even with data disconnected, and my breakpoints are constantly hit. |