PureBytes Links
Trading Reference Links
|
Marty,
You can use "Year()" to specify a given year. Below is some
code that will find the highest value for "Close" during 1999.
I'm no coder and I'm sure there's a more elegant way to do it but
this may get you going:
YrCheck = LastValue(Highest((Year()==1999) * C));
AddColumn(C,"Close",1.2);
AddColumn(YrCheck, "YrCheck", 1.2);
Filter = Year()==1999;
Wayne
--- In amibroker@xxxxxxxxxxxxxxx, "prog200" <prog200@xxx> wrote:
>
> Is there away to find the past yearly highs? I would like to weed out
> stocks like ABTL, AVNX ect that hit big time highs back in 1999 and on.
>
> Thanks
>
> Marty
>
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.12/628 - Release Date: 1/15/2007 11:04 AM
|