Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 15:06:15 +0000



New Persistent Variables rollout

View Count: 925

[2015-02-10 16:50:31]
WarriorTrader - Posts: 245
Hello,

I am trying to compile the following line:

const s_sc::s_PersistentVariables * p_DeltaLadderPersistVars = sc.GetStudyPersistentVariablesFromChartUsingID(ChartStudyInput.GetChartNumber(), ChartStudyInput.GetStudyID()); //Delta Ladder

and getting the following error:

>CustomStudy.cpp(260): error C2039: 's_PersistentVariables' : is not a member of 's_sc'
1> D:\SierraChartOEC\ACS_Source\sierrachart.h(28) : see declaration of 's_sc'


Please advise on a replacement for 's_PersistentVariables'. SC support calaimed that the new implimintation of persistent variables will not effect old code. That is obviously not the case.

Thx,
WT
Date Time Of Last Edit: 2015-02-10 16:53:41
[2015-02-10 16:55:30]
Sierra Chart Engineering - Posts: 104368
Change this:

const s_sc::s_PersistentVariables

to:

const s_PersistentVariables
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account