Support Board
Date/Time: Wed, 27 Nov 2024 15:38:10 +0000
[Programming Help] - How to set the Based On Study Setting from a Custom Study
View Count: 256
[2023-08-13 00:58:36] |
dmac314 - Posts: 1 |
I'm looking for my custom study to default to being based on another study and not <Main Price Graph>. I searched the documentation and the closest I could find to what I was looking for was sc.BaseData/sc.BaseDataIn. Do I need to assign something to one of those? If so, how do I get an SCFloatArrayArray for the study I want? I tried using sc.GetStudyArraysFromChartUsingID, but that returns an SCGraphData object; and while C++ built/compiled successfully with that being assigned, it didn't work. Thank you for your thoughts :) SCGraphData macdArrays; sc.GetStudyArraysFromChartUsingID(13, 4, macdArrays); if (sc.SetDefaults) { sc.BaseDataIn = macdArrays; // doesn't work :( Date Time Of Last Edit: 2023-08-13 21:15:23
|
To post a message in this thread, you need to log in with your Sierra Chart account: