[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Forcing a function to series



PureBytes Links

Trading Reference Links

Thank you!!

I copied both HighD and LowD (they are in read-only mode) and created LowD2
et HighD2
and your solution works fine. I do not have the error message anymore!

But do you understand why didn't Omega write the inputs of these 2 functions
with the NumericSeries type?

Rgds,
Phil


-----Original Message-----
From: editorial@xxxxxxxxxxxxx [mailto:editorial@xxxxxxxxxxxxx]
Sent: Thursday, September 07, 2000 6:58 PM
To: Philippe Lhermie
Cc: Omega List
Subject: Re: Forcing a function to series



Philippe,

Just edit the LowD and HighD functions and change their input to
NumericSeries.


OM




 ---- you wrote:
> Hi folks,
>
> I need to create a daily range function I want to use on intraday charts
>
> Then I tried this:
>
>  *****************************************
> Inputs: DaysAgo(NumericSeries);
>
> If DataCompression < 2 and lowD(DaysAgo)> 0 Then RangeD=
> HighD(DaysAgo) -LowD(DaysAgo);
>
>  *****************************************
>  But I get the following error:
> "Series Input not allowed here, Error #254"
>
> Does anyone know why I can only use Numeric instead of NumericSeries for
the
> input??
>
>
>  *****************************************
> Inputs: DaysAgo(Numeric);
>
> If DataCompression < 2 and lowD(DaysAgo)> 0 Then RangeD=
> HighD(DaysAgo) -LowD(DaysAgo);
>
>  *****************************************
>
>
> Do I need to force the function to series I use a dummy statement like
this?
>
> Value1 = RangeD[1];
>
>
> In fact I tried both with and without and I do not see any difference, I
get
> the right RangeD(0) and RangeD(1) values in both cases.
>
>
> Many thanks for your help !
> Rgds,
>
> Philippe
>
>
> °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
> philippe.lhermie@xxxxxxx
>
> °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
>
>