Login Page - Create Account

Support Board


Date/Time: Sat, 01 Feb 2025 14:39:20 +0000



Post From: Old indicator (2017) is not compiling with remote build

[2019-07-14 14:15:21]
Ernest - Posts: 10
Thank you support, that fixed a lot of the errors. Now I am getting this, again, a hint will help...


-- Starting remote build of Custom Studies Source files: VolumeSniper.cpp. 64-bit -- 09:13:26
Allow time for the server to compile the files and build the DLL.

The remote build did not succeed. Result:

VolumeSniper.cpp: In function 'int GetBullishRevCountByTickSize(SCStudyInterfaceRef, int)':
VolumeSniper.cpp:535:12: error: 'struct s_sc' has no member named 'PersistVars'
return sc.PersistVars->Integers[BULLISH_BASE + tick_size];

^
VolumeSniper.cpp: In function 'int GetBearishRevCountByTickSize(SCStudyInterfaceRef, int)':
VolumeSniper.cpp:542:12: error: 'struct s_sc' has no member named 'PersistVars'
return sc.PersistVars->Integers[BEARISH_BASE + tick_size];

^
VolumeSniper.cpp: In function 'void AddBullishRevCountByTickSize(SCStudyInterfaceRef, int, int)':
VolumeSniper.cpp:549:5: error: 'struct s_sc' has no member named 'PersistVars'
sc.PersistVars->Integers[BULLISH_BASE + tick_size]+=val;

^
VolumeSniper.cpp: In function 'void AddBearishRevCountByTickSize(SCStudyInterfaceRef, int, int)':
VolumeSniper.cpp:556:5: error: 'struct s_sc' has no member named 'PersistVars'
sc.PersistVars->Integers[BEARISH_BASE + tick_size]+=val;

^
VolumeSniper.cpp: In function 'void scsf_volumesniper(SCStudyInterfaceRef)':
VolumeSniper.cpp:752:7: error: 'struct s_sc' has no member named 'PersistVars'
sc.PersistVars->Integers[i] = 0;

^

-- End of Build -- 09:13:29