Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 13:15:00 +0000



Custom Study Issue on SC Restart

View Count: 210

[2024-02-28 20:15:35]
TriStar Trading - Posts: 142
I have a custom study I built where the order of the inputs is scrambled or rearranged when restarting SC. If I recompile the study it is fine again. I have tried deleting the DLL and recompiling. I have tried copy/paste the code to a new CPP file and re-compiling. I have removed all study defaults from the study defaults folder. Anyhow, any ideas on where else I could look would be appreciated. Thanks! Mike
[2024-02-28 21:10:10]
John - SC Support - Posts: 36238
There must be something in the way you have setup your code that is causing this issue. In particular do you have the definitions for the Inputs being set outside of the "sc.SetDefaults" code block?
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-02-28 21:23:24]
TriStar Trading - Posts: 142
Thanks John - I've attached the code for your reference. It looks like every other program I've done but maybe I'm looking past something. Thanks!
attachmentTriStar_RenkoOrderEntryDisplay_v8.cpp - Attached On 2024-02-28 21:22:55 UTC - Size: 10.23 KB - 317 views
Attachment Deleted.
[2024-02-28 21:51:04]
John - SC Support - Posts: 36238
In a quick view we are not seeing anything that would cause what you are stating is occurring to occur. But this is not something that we can look deep into. There simply has to be something, as the order of the Inputs should not be changing.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-02-29 00:11:09]
TriStar Trading - Posts: 142
FYI - I renamed the CPP and compiled. Works fine. Thanks!

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

Login

Login Page - Create Account