Support Board
Date/Time: Fri, 09 May 2025 21:27:20 +0000
Post From: ASCIL: 'optional' Index parameter; sc.AutoLoop
[2024-10-02 02:09:51] |
User379249 - Posts: 9 |
Hi, Trying to make a custom Correlation study and using scsf_CorrelationCoefficient as paradigm. That study calls function GetCorrelationCoefficient as found in SCStudyFunctions. I created a similar function to do Kendall Tau correlation through much cut and paste. My scsf_KendallTauCoefficient calls my GetKendallTauCoefficient but my code does not compile ("..too few arguments to function.."). My reading clearly indicates its related to the optional 'int Index' parameter and the sc.AutoLoop = 1 setting. Perhaps I am not enabled to compile such autolooping functions which allow for the use of the Index in the function code block despite not passing the Index in. Flummoxed. I am attaching my .cpp file. (I have function and study in one file) Thanks in advance for your help. |
![]() |