PureBytes Links
Trading Reference Links
|
Hi Henry.
Thanks again for the help. The code works perfect.
As I try to educate myself on the subject of code, please explain the
following line in English terms.
A:=If(Uptrend,1,If(Downtrend,-1,0));
My understanding is that it reads this way: If an uptrend is present, plot
the number "1", and if a downtrend is present plot "-1", otherwise, plot
"0".
-Sam
-----Original Message-----
From: Henry Z Kaczmarczyk [mailto:henry1224@xxxxxxxxx]
Sent: Tuesday, September 16, 2003 7:46 PM
To: Metastockusers@xxxxxxxxxxxxxxx
Subject: [Metastockusers] Re: Filter Help
Sam,
here is the formula
Uptrend:=C>Mov(C,5,E) AND
AroonUp(5)>AroonDown(5) AND
(PDI(5))>(MDI(5));
downtrend:=C<Mov(C,5,E) AND
AroonUp(5)<AroonDown(5) AND
(PDI(5))<(MDI(5));
A:=If(Uptrend,1,If(Downtrend,-1,0));
A=0
--- In Metastockusers@xxxxxxxxxxxxxxx, JayTownsend@xxxx wrote:
> Hi:
>
> I'm not sure what you are asking so the assumption I'm making is
that you are
> trying to set up an exploration and your uptrend is Column A, and
your
> downtrend is Column B. Then, you are asking MetaStock's Explorer
to list everything
> that does not fit the parameters of Column A or Column B.
>
> What I did was to write an Exploration with the above assumption.
Then in
> the Filter I wrote: (colC <> colA) AND (colC <> colB). Column C
is blank, so
> logically (is MetaStock logical?) this Filter should exclude
everything that
> doesn't meet the requirements of ColA and also doesn't meet the
requirements of
> ColB, while accepting everything else. MetaStock accepted the
syntax, but I'm
> not sure it will produce the results you are looking for.
>
> Jay
>
> Original post:
>
> Hi all.
>
> I'm stuck in a 360° spin trying to figure this out!!!
>
> If this is my Uptrend:
> C>Mov(C,5,E) AND
> AroonUp(5)>AroonDown(5) AND
> (PDI(5))>(MDI(5))
>
> And this is my downtrend:
> C<Mov(C,5,E) AND
> AroonUp(5)<AroonDown(5) AND
> (PDI(5))<(MDI(5))
>
> How do I filter for anything that is NOT TENDING EITHER WAY?
>
> Thanks again for all who can help.
To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
------------------------ Yahoo! Groups Sponsor ---------------------~-->
ReplayTV: Control live television
Special Sale: 50% off ReplayTV
CNet Ranked #1 over Tivo!
http://us.click.yahoo.com/aUMW7B/A6qGAA/ySSFAA/zMEolB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|