Support Board
Date/Time: Sat, 08 Feb 2025 10:37:10 +0000
Call External DLL
View Count: 777
[2020-07-02 12:01:25] |
gfx2trade - Posts: 48 |
Hi SC team, In my current trading system, I'd like to call an exsiting SC study to get back the indicator value, rather than having to program this study in my cpp file. Is there any call function available, Also for my own existing indicators built in my cpp file, is there any way to specify a time frame to calculate when different from the chart time frame the system is running on ? Thks. B. Gfx |
[2020-07-04 16:08:54] |
ForgivingComputers.com - Posts: 996 |
In my current trading system, I'd like to call an exsiting SC study to get back the indicator value, rather than having to program this study in my cpp file.
Is there any call function available, You can read the outputs (subgraphs) of any study by using sc.GetStudyArray: sc.GetStudyArray() Also for my own existing indicators built in my cpp file, is there any way to specify a time frame to calculate when different from the chart time frame the system is running on ?
You would need another (source) chart with a different time frame and your existing indicators, then you can use sc.GetStudyArrayFromChart() on the destination chart. |
[2020-07-06 00:31:58] |
|
Refer to: Referencing Other Time Frames and Symbols When Using the ACSIL ACSIL Programming Concepts: Using or Referencing Study/Indicator Data in an ACSIL Function 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: