Login Page - Create Account

Support Board


Date/Time: Tue, 14 May 2024 20:02:29 +0000



Post From: ACSIL function for sorting values?

[2020-10-09 01:18:07]
bekitz - Posts: 26
I am also interested in this functionality.

I read both links in post #2.

Using both examples in the links & for simplicity sake, if I wanted to sort all of the closing prices with the following code attempt:


SCSubgraphRef Closes = sc.Subgraph[0];
SCSubgraphRef Sort_Closes = sc.Subgraph[1];

//ignore default section;

Closes[sc.Index] = sc.Close[sc.Index];
Sort_Closes[sc.Index] = std::sort(Closes.begin(), Closes.end());


I get errors saying that 'begin' & 'end' are not part of the subgraph struct, etc.

Any assistance is appreciated.