Login Page - Create Account

Support Board


Date/Time: Sun, 23 Feb 2025 14:09:09 +0000



Post From: error: 'structs_sc' has no member named 'PersistVars'

[2021-02-11 19:14:22]
User61576 - Posts: 445
I am trying to compile this code here:
Delta Divergence Source Code -- Does Not Compile

and getting an error:
In function 'void scsf_DeltaDivergence(SCStudyInterfaceRef)':
error: 'struct s_sc' has no member named 'PersistVars'

and the line is  
int& inTrade = sc.PersistVars->i1;


as far as I understand (since SC team didn't fix it but only sent the user to an older version) this is a call for the current position

is there any other way to call the current position?