PureBytes Links
Trading Reference Links
|
thanks TJ just what i wanted ,..
David
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Tomasz Janeczko
To: <A title=amibroker@xxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Saturday, June 16, 2001 5:13
AM
Subject: Re: [amibroker] all time
high
Hello,
You can use HighestHigh() and datenum()
functions to achieve this:
HighestSince( datenum() == 990502 ,high ); //
get the highest high from May 2nd, 1999
Best regards,Tomasz Janeczko===============AmiBroker - the
comprehensive share manager.<A
href="">http://www.amibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
David
Holzgrefe
To: <A
title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Friday, June 15, 2001 7:39
AM
Subject: [amibroker] all time
high
Hi all
I was trying to find a way to caculatethe all
time highest from a date eg
12/01/00 on this date which stock where trading
at there all time high ?
12/06/99 on this date which stock where trading
at there all time high ?
have tried TJ's all time high formula but i
can't get it to specify a date
change the date in the range field only shows
the at of the accourance
what im after is which stock at this date where
on a all time high ?
Thanks David
/* all-time highest
Use the following formula to find the all-time
highest and display its value and date:***/
alltimehigh = LastValue( Highest( high )
);alltimehighbar = ValueWhen( high == alltimehigh, Cum(1)
);
alltimeyear = ValueWhen( high ==alltimehigh,
Year() );alltimemonth = ValueWhen( high == alltimehigh, Month()
);alltimeday = ValueWhen( high == alltimehigh, Day()
);
"All time highest was " + WriteVal( alltimehigh
);"on the " + WriteVal( alltimeyear, 1 ) + "." + WriteVal( alltimemonth,
1 ) + "." + WriteVal( alltimeday, 1 );
/* Draw also a vuy arrow on highest day
*/buy = high == alltimehigh and Volume > 1000 AND strlen( name() ) ==
3;;sell = 0;Your use of Yahoo! Groups is
subject to the Yahoo! Terms of
Service. Your
use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
|