Login Page - Create Account

Support Board


Date/Time: Fri, 23 May 2025 22:38:30 +0000



Post From: Visual Studio custom studies development

[2025-05-22 20:17:40]
User20615 - Posts: 21
Hello,
I have two questions regarding Sierra Chart custom studies development (ACSIL development).
• In my studies I often add items to Chart Shortcut Menu (sc.AddACSChartShortcutMenuItem function). When building DLL, I use Sierra Chart functionality to unload locked study DLL file – I can build without having to close and reopen Sierra Chart (menu Analysis > Build Custom Studies DLL > Build > Release All (Single) DLLs and Deny Load). DLL is unloaded and reloaded (Allow Load DLLs) without issues. Unfortunately, after build all my custom Chart Shortcut Menu items disappear. I have to remove studies from all charts and add studies back or reload the Chartbook to get my menu items back. Is there faster way to restore these menu items after process of DLL unloading - building - reloading?
• For development I use Microsoft Visual Studio debugger. In Auto/Locals/Watch window I can display content of all variables and C++ arrays (syntax “MyArray[10]”, “MyArray,20”, “My Array+10,100”,…). But this syntax does now work for Sierra Chart built in subgraphs and arrays (SCSubgraphRef, SCFloatArrayRef,…). My question is, how to directly display values at index of these arrays in VS debugger (without creating special variables just for debugging purpose e.g. float MyStop = Stop[sc.Index])?
Thank you very much, regards
Jan