Login Page - Create Account

Support Board


Date/Time: Mon, 10 Mar 2025 22:00:46 +0000



Custom DLL Study- Distribution - Service Level Access

View Count: 764

[2022-04-13 16:34:29]
DayTraderEsad - Posts: 121
I have a custom study DLL file and I just can't figure out how to add the service level, where does the code need to be added. I used this link: Advanced Custom Study Interface and Language (ACSIL): Redistributing and Allowing Use Only by a Defined List of Users

I looked at this as well

ACSIL Interface Members - Variables and Arrays: sc.DLLNameUserServiceLevel


I still can't figure out how add so I can start using the service level option, as I do not want everyone in the list to have access to certain studies.

I basically need to know how to do the python equivalent of

If nameuserservicelevel == 0:
Do study
Else:
Do not do study


thank you for your help
[2022-04-14 14:43:14]
Sierra Chart Engineering - Posts: 104368
We will put together an example.
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
[2022-04-15 22:03:15]
Sierra Chart Engineering - Posts: 104368
Here is an example:

if (sc.DLLNameUserServiceLevel == 100)//Any number can be used.
{
// Perform some action like executing the study
}
else
return;// Do nothing and return

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