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

Re: How would you code this?



PureBytes Links

Trading Reference Links

{assuming that all curvature is nice and smooth:
 no jaggies up and down along the way and
sp=short periods and lp=long periods}

{The right buttock low occurred **less** than 10 days ago}

RBLsp:= LLV(10);
RBLlp:= LLV(20);
RBL:= RBLsp>RBLlp;
{or RBL:= Max(RBLsp,RBLlp);}
 
{The left buttock low occurred **more** than 20 days ago}

LBLsp:= LLV(20);
LBLlp:= LLV(60);
LBL:= LBLsp>LBLlp;
{or LBL:= Max(LBLsp,LBLlp);}
 
{The right buttock low is **higher** than the left buttock's low}

RBL>LBL
{or Max(RBL,LBL)}

Regards,
Ton Maas
ms-irb@xxxxxxxxxxxxxxxx
Dismiss the ".nospam" bit (including the dot) when replying.
Homepage  http://home.planet.nl/~anthmaas


----- Original Message ----- 
From: Nicholas Kormanik
To: <metastock@xxxxxxxxxxxxx>
Sent: vrijdag 4 februari 2000 16:48
Subject: How would you code this?


> 
> Could any of you please help with the following MetaStock code?
> 
> Suppose we're studying daily closing prices (C), and we are looking for
> 'double-bottoms' with the following characteristics (assume that all
> curvature is nice and smooth, i.e., no jaggies up and down along the
> way).....
> 
> ---  The right buttock low is **higher** than the left buttock's low .
> 
> ---  The left buttock low occurred **more** than 20 days ago.
> 
> ---  The right buttock low occurred **less** than 10 days ago.
> 
> I can see it, and describe it.  Could one of you help code it?
> 
> Thanks much,
> Nicholas
> 
>