Support Board
Date/Time: Sun, 15 Jun 2025 15:57:39 +0000
protect built-in studies
View Count: 273
[2025-05-19 15:50:15] |
User380582 - Posts: 10 |
Hi, I am wondering if there is any way to have built in studies in the Sierra Chart Custom Studies Access Control Panel to protect the drawings from loading to unautharized holder of shared chartbook? Thank you |
[2025-05-19 16:12:37] |
John - SC Support - Posts: 40422 |
We are not understanding this question, in particular what you are referring to in terms of "drawings". With regards to controlling who can use a study, refer to the following: Advanced Custom Study Interface and Language (ACSIL): Redistributing and Allowing Use Only by a Defined List of Users For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2025-05-19 16:23:23] |
User380582 - Posts: 10 |
Hi, thanks for quick reply. I am refering to what the study is outputing on the chart. With subgraphs probably. I can hide the outputs from unauthorized use of chartbook for the custom studies by including the dll into the control panel and by using SCDLLName like its stated in https://www.sierrachart.com/index.php?page=doc/AdvancedCustomStudyInterfaceAndLanguage.php#Redistributing. But i am having trouble with built in studies beacuse no DLL exits for them - for example Large Volume Trade Indicator. Hope its clearer now. If not please let me know.
Date Time Of Last Edit: 2025-05-19 16:30:13
|
[2025-05-19 16:32:49] |
John - SC Support - Posts: 40422 |
We are still not understanding what you want to do with the built-in studies. If you setup a study a certain way and then want to share that chartbook with someone, you can password protect the study so they cannot make changes to it. Refer to the following: https://www.sierrachart.com/index.php?page=doc/ChartStudies.html#top Otherwise, for the studies where the source code is not available, there is nothing you can do to modify or redistribute those studies. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2025-05-19 16:36:33] |
User380582 - Posts: 10 |
If the studies like Large ¸Volume Trade Indicator are passsword protected, i only protect the user with the chartbook to see the inputs/settings. But the chartbook will still display output on the chart. Anyone with the chartbook can use my signals and strategy by viewing them on the chart. Is that not correct? or is it possible to inject with addstudytochart and set also the password with acsil?
Date Time Of Last Edit: 2025-05-19 17:19:03
|
[2025-05-19 18:53:20] |
John - SC Support - Posts: 40422 |
Yes, anyone with the chartbook can view the data from the study, even if it is password protected. There is no other option for the built-in studies to protect them in a way that certain people can not view the information. To properly do what you are wanting, you would need to create a custom study that does not use the built-in studies. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2025-05-19 22:14:11] |
User380582 - Posts: 10 |
Ok I understand. Is there no posiblity of having these feartures for built in studies without source code in the future: After using AddStudyToChart() to add the study to chart one could hide the data from study by two steps: 1. Setting custom inputs with ACSIL 2. Protecting the study with password through ACSIL The DLL with the above steps would be included in the Sierra Chart Custom Studies Access Control Panel, The DLL woud also be using the permission check at the beginning of the study: // ── Permission check ───────────────────────────────────────────────────────── if (!sc.IsUserAllowedForSCDLLName) { if (sc.Index == 0) sc.AddMessageToLog("You are not allowed to use this study", 1); // remove LVTI only once on full recalculation when unauthorized if (sc.IsFullRecalculation && sc.Index == 0) { int existingID = sc.GetStudyIDByName(sc.ChartNumber, "Large Volume Trade Indicator", 0); if (existingID > 0) { sc.RemoveStudyFromChart(sc.ChartNumber, existingID); //sc.AddMessageToLog("removing LVTI ind", 1); } } return; } So if user is not in the control panel, it would remove the study. If user is in the control panel, the study would first check if study is already on the chart, if no it would add the study to chart, set inputs and protected it with password. Thanks for the answers. This was my last question Date Time Of Last Edit: 2025-05-19 22:19:14
|
To post a message in this thread, you need to log in with your Sierra Chart account: