Paolo
DPO(20) will return N/A in an exploration, so both
expressions in your formula will
also return N/A. You would need to delay the whole
formula by another 13 bars to
get a valid result.
Ref(Ref(DPO(20)>0,-1)
AND Ref(DPO(20)<=0,-2),-13);
This formula returns the same results.
Ref(DPO(20)>0 AND
Ref(DPO(20)<=0,-1),-14);
Is that any use to you.
Kind regards
----- Original Message -----
Sent: Saturday, June 18, 2005 7:49 AM
Subject: [Metastockusers] Re: Search DPO
Hi Roy
Thanks for your feedback.
It
sounds as though what I'm trying to do may not be possible, however there is
this slight element of hope in the keyboard characters you sent back to
me.
Could you take a look at my formula please and let me know where I'm
going wrong.
----
Ref( DPO( 20 ) > 0 , -1 )
AND
Ref( DPO( 20 ) <= 0 , -2
)
---
Thanks, Paolo
--- In
Metastockusers@xxxxxxxxxxxxxxx, "Roy Larsen" <rlarsen@xxxx>
wrote: > Hi Paolo > > > DPO uses a centred moving
average, effectively an MA that's forward referenced. Any forward reference
that makes the last bar of a chart invalid (N/A, no visible plot) will also
fail in an exploration. The current bar of any indicator called by the
Explorer must be valid. > > There isn't any way to get valid
(and useful) information for DPO on the current bar. > > Kind
regards > > Roy > www.metastocktips.co.nz > >
> > > ----- Original Message ----- > From:
leonepaolo > To: Metastockusers@xxxxxxxxxxxxxxx > Sent: Friday,
June 17, 2005 6:20 AM > Subject: [Metastockusers] Search DPO >
> > Hi, > > I'm trying to create a search that'll
return Stocks where there is a > day over day change in the Detrended
Price Oscillator. > > example: Yesterday it was less
than or equal to zero and today it is > greater than zero. >
> I have this type of search working other indicators, I just can't
get > it to work for this. > > Would anyone know the
formula I need off hand. Any help would be most > sincerely
appreciated. > > Thanks in advance, >
Paolo
Yahoo! Groups Links
|