Support Board
Date/Time: Fri, 23 May 2025 21:32:36 +0000
Post From: Visual Studio custom studies development
[2025-05-22 22:57:44] |
Sierra_Chart Engineering - Posts: 19686 |
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?
We think the problem is you are calling this:sc.RemoveACSChartShortcutMenuItem When this is true: sc.LastCallToFunction This is something you need to solve in your own study function. We do not know: • 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])?
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |