Support Board
Date/Time: Sat, 30 Nov 2024 01:30:48 +0000
Custom studies related questions
View Count: 460
[2022-12-16 21:58:47] |
User887126 - Posts: 66 |
SC team and other users, Q1: I am editing my custom studies and testing them constantly. Is there a way to quickly swap out the revised DLL version with original DLL version that i added to the chart? Sometime, i edit my DLL in batches and it get tedious to shut down sierra chart, reopen charts and add revised DLLs. I am trying improve my workflow and looking for any advise. How do you guys do it? Q2: Are there any tips to reduce compiling time? Thank you in advance for your help |
[2022-12-17 18:29:31] |
User900285 - Posts: 94 |
Hi, 1. If you use the remote compiler it does this automatically. No matter which compiler is used, you will need to remove and re add the study back to the chart if you have changed something in the sc.SetDefaults block. Like adding or removing inputs or subgraphs. 2. A local compiler is faster for me. It takes around 2-3 seconds with a local compile vs 7-8 seconds using the remote compiler. I'm using MinGW w64 with the same compiler parameters Sierra provides in their ACSIL documentation. Advanced Custom Study Interface and Language (ACSIL): Remote Compiler Parameters If you use a local compiler I ran into this issue where it will not compile the .dll because Sierra is still holding it. Even if it's not being used on a chart. Of course that is annoying if you are debugging something one step at a time. What I did was I used the Sierra UDP interface and created two executables, one for releasing DLLs and one for allowing DLLs. UDP Interface I run a batch file that compiles the custom study in-between those two executables. Date Time Of Last Edit: 2022-12-17 18:30:37
|
[2022-12-17 21:22:50] |
JohnR - User831573 - Posts: 306 |
Here is another thread that should be helpful. ACSIL: Example build script using udp commands to unload / load dlls ACSIL: Example build script using udp commands to unload / load dlls Hope this helps, JohnR |
[2023-01-02 16:24:19] |
Sierra_Chart Engineering - Posts: 17266 |
There are commands for unloading a DLL: Analysis >> Build Custom Studies DLL >> Build >> Release *
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 Date Time Of Last Edit: 2023-01-02 16:24:29
|
To post a message in this thread, you need to log in with your Sierra Chart account: