PureBytes Links
Trading Reference Links
|
Thanks Ara!
Ok, here is what I came up with;
TimeFrameSet( inWeekly );
High52week = HHV(Close,52);
AddColumn( High52week, "52 week high");
High52weekBar = HHVBars(Close,52);
High52weekDate = Ref(DateNum(),-High52weekBar);
AddColumn( High52weekDate, "52 week high date");
TimeFrameRestore();
But the date output is in the DateNum format (ex. 1,060,505.00), is
it possible to convert that to mmddyyyy format? I'm not having much
luck figuring out the DateTimeConvert function.
Thanks again for your help!
--- In amibroker@xxxxxxxxxxxxxxx, "Ara Kaloustian" <ara1@xxx> wrote:
>
> High52week = HHV(High,52);
>
> High52weekBar = HHVBars(High,52);
> High52weekDate = Ref(DateNum(),-High52weekBar);
>
> ----- Original Message -----
> From: "mikedostal24" <mikedostal24@xxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Monday, February 05, 2007 7:49 PM
> Subject: [amibroker] HHV weekly close (past 52 weeks)
>
>
> > Hello,
> > I'm new to AB and just wondering if someone would be able help
get me
> > started in finding the highest weekly close for the past 52
weeks, also
> > giving the date. I looked through the forum and couldn't find
anything
> > similar to this.
> > Thanks for everyone's help!
> > mike
> >
> >
> >
> > Please note that this group is for discussion between users only.
> >
> > To get support from AmiBroker please send an e-mail directly to
> > SUPPORT {at} amibroker.com
> >
> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > http://www.amibroker.com/devlog/
> >
> > For other support material please check also:
> > http://www.amibroker.com/support.html
> >
> > Yahoo! Groups Links
> >
> >
> >
>
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.28/672 - Release Date: 2/6/2007 10:22 AM
|