Login Page - Create Account

Support Board


Date/Time: Fri, 04 Oct 2024 14:43:34 +0000



[User Discussion] - FormattedEvaluate question

View Count: 2097

[2013-03-27 15:35:35]
vegasfoster - Posts: 444
Hi, how do I use formattedevaluate with basedatain that's not price data so I can select any subgraph as input? Because this works,

(float)sc.BaseDataIn[SC_LAST][InputData.GetInputDataIndex()]

but not any of these,

(float)sc.BaseDataIn[InputData.GetInputDataIndex()]
(float)sc.BaseDataIn[sc.Index]
(float)sc.BaseDataIn
sc.BaseDataIn[InputData.GetInputDataIndex()]
sc.BaseDataIn[sc.Index]
sc.BaseDataIn

I get wrapper errors on those and I couldn't find an example. Thank you.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account