Support Board
Date/Time: Mon, 13 Jan 2025 06:23:53 +0000
Post From: SC function to return SCInputRef from ChartUsingID
[2017-04-03 09:39:28] |
User553714 - Posts: 184 |
Further to the above Q, if it is not possible to return a a SCInputRef I think you can return PersistentVariables using this; https://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Functions.html#scGetStudyPersistentVariablesFromChartUsingID When you try and compile this line shown in the docs; "const s_sc::s_PersistentVariables * p_PersistVars = sc.GetStudyPersistentVariablesFromChartUsingID(ChartNumber, StudyID);: It brings up the following error; "Development.cpp(2141): error C2039: 's_PersistentVariables': is not a member of 's_sc' c:\sierrachart\acs_source\sierrachart.h(29): note: see declaration of 's_sc'" Can you please update the docs to correct this and also provide an example of how you use "p_PersistVars" to access the persistent variables returned by this function? |