Support Board
Date/Time: Sun, 24 Nov 2024 00:26:02 +0000
Post From: Buttons for the Spreadsheet System for Trading Buy Exit Sell Exit formulas
[2024-07-17 22:40:06] |
User130696 - Posts: 88 |
I know that . Thats why my previous post was relating ACSIL language. Let's suppose I want to access the current value of ID32.SG1 and assign this to Stop Price in the OCO Group 1; what code should I write so that it keeps the stop price and ID32.SG1 is in sync all the time, waiting for the order trigger. The documentation below does not tell me or is hard to understand. ACSIL Programming Concepts: Unique Study Instance Identifiers This identifier can be accessed through ACSIL with the sc.StudyGraphInstanceID variable. This identifier is for the instance of the study that is accessing this value directly The proper way to obtain this unique study instance identifier for a particular study, from another study is through the sc.Input[].SetStudyID() and sc.Input[].GetStudyID() Input functions or other Input functions which create a study Input and allow getting of a study identifier. sc.Input[].SetStudyID() creates a study Input with a list of studies on a chart and allow selecting one of them. Also refer to sc.Input[].SetChartStudyValues(), sc.Input[].GetChartNumber() and sc.Input[].GetStudyID() Input functions. |