Support Board
Date/Time: Tue, 25 Feb 2025 23:07:49 +0000
Post From: Few problems in the Sierra Chart Custom Study
[2021-04-26 16:57:35] |
User310645 - Posts: 49 |
The function is called when a study is removed (+apply/ok). Without seeing the rest of your code its hard to know what could be going wrong. What happens before this statement? Is it actually getting to this point in the code? etc You need to attach a debugger/add more logs/simplify the code etc and investigate. Does the simplest study below work for you? #include "sierrachart.h" SCDLLName("Test") SCSFExport scsf_TestStudy(SCStudyInterfaceRef sc) { if(sc.LastCallToFunction) { sc.AddMessageToLog("Last call",0); } } |