Login Page - Create Account

Support Board


Date/Time: Sat, 08 Feb 2025 11:25:35 +0000



Post From: Call External DLL

[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.