Login Page - Create Account

Support Board


Date/Time: Sat, 01 Feb 2025 14:44:41 +0000



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

[2019-07-13 21:35:06]
Sierra Chart Engineering - Posts: 104368
You need to use the new persistent variable functions:
sc.GetPersistentInt()

This:
int &first_bullish_index = sc.PersistVars->i2;

Needs to to be changed to:
int &first_bullish_index = sc.GetPersistentInt(2);

Be sure to use a unique number for each integer.
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
Date Time Of Last Edit: 2019-07-13 21:35:15