Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 18:26:10 +0000



TRIX function call

View Count: 625

[2015-12-16 00:54:23]
flyboy615 - Posts: 56
Hi,
In you documentation you mention 2 function prototypes one of which is the following:

SCFloatArrayRef TRIX(SCFloatArrayRef FloatArrayIn, SCSubgraphRef SubgraphOut, int Index, int Length);

However the following piece of code complains about no instance of the s_sc::TRIX matching the argument list

With autolooping turned off...

int CurrentIndex = sc.Index-100;
sc.TRIX( sc.Subgraph[0].Arrays[4], sc.Subgraph[0].Arrays[1],CurrentIndex, 6);

Please advise.
Thanks
[2015-12-16 02:52:24]
Sierra Chart Engineering - Posts: 104368
It requires a Subgraph and not a Float Array.

You will need to use something like:
sc.TRIX( sc.Subgraph[0].Arrays[4], sc.Subgraph[10], CurrentIndex, 6);
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:

Login

Login Page - Create Account