PureBytes Links
Trading Reference Links
|
metastock metastock writes:
> Hello!
>
> These last weeks, a lot of stock fell. I am fed up to calculate by
> hand how much percent some stocks have already lost since their
> highest peak of the last six months. I would like to compare them on
> the following criterium : the percentage of fall since their highest
> quote (f.i. of the last 6 months).
>
> let's say, f.i. that ING lost 35% since 1 August 1998, ABN-Amro 28%
> since 28 July 1998, Societe Generale 56% since 1st March 1998, Ahold
> 25% since 1th july 1998 and so on (this just an example and not the
> reallity)
>
> Could anyone tell me how to build this indicator?
Wouldn't this simply be:
myHigh := HHV(C, 130); { highest close of last 130 periods; ~ 6 mos. }
myLoss := 100 * (C - myHigh) / myHigh;
myLoss
Or have I misunderstood what you want to do?
--
========================================================================
IN THE WINDOW OF A SWEDISH FURRIER: Fur coats made for ladies from
their own skin.
http://www.unixgeek.com/cgi-bin/motd.pl - PGP email preferred
|