Change a Numericarray to Numericseries

Questions about MultiCharts and user contributed studies.
User avatar
siscop
Posts: 197
Joined: 09 Jan 2011
Has thanked: 34 times
Been thanked: 29 times

Change a Numericarray to Numericseries

Postby siscop » 02 Oct 2015

In order to have a MTF without using data2 or data3 I coded a function to do that. Since Function does not have “numericseriesref” being “ref” the important point to store/change the data I had to store the infos to an array with numericarrayref.

Inputs:
o1(numericseries),
h1(numericseries),
l1(numericseries),
c1(numericseries),
o2[MaxSize](numericarrayref),
h2[MaxSize](numericarrayref),
l2[MaxSize](numericarrayref),
c2[MaxSize](numericarrayref),
TFLen(numericsimple);

Is there a way to change the array to a series since all my indicators and those from MC require numericseries like o,h,l,c and are unable to handle arrays eventhough they access the history of those data the same way o[1] or o2[1].

So again: Is there a way to change a array to a series (numericarray -> numericseries)?

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Change a Numericarray to Numericseries

Postby Henry MultiСharts » 08 Oct 2015

Hello siscop,

There is no way to change numericarray to numericseries. You can learn more regarding arrays from Additional Information Sources.


Return to “MultiCharts”