PureBytes Links
Trading Reference Links
|
Being able to access a series from a datatype of numericref or
numericArrayRef is not possible from the CALLING program.
However, if you assign a local variable from the referenced variable, you
can retrieve the current version and store the series locally.
retval = myfunc(thisnumref); {where thisnumref is declared numericref in
myfunc}
xyz = thisnumref; {maintain a local copy with series history}
if xyz[10]>xyz then Buy at market;
> -----Original Message-----
> From: Terry B. Rhodes [mailto:tbr@xxxxxxxxxx]
> Sent: Tuesday, September 26, 2000 9:50 PM
> To: omega-list@xxxxxxxxxx
> Subject: RE: how to pass numericseriesrefs
>
>
> I have not researched this but it seems very likely that TS
> stores each series data point non contiguously. This would make
> passing the series by reference difficult.
>
> regards,
>
> tbr
>
> >
> > References in easy language should be passed faster. I can find
> > numericseries and I can find numericArrayRef, but not >
> numericseriesref.
> >
> > Is it the same if one uses numericarrayref as the type for
> example to pass
> > the high price series?
> >
> > --- Mats ---
> >
>
>
|