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

[amibroker] Re: Adding date to HHV and LLV filter



PureBytes Links

Trading Reference Links

Thank you very much Tony, But it sitll given me wrong date as a
highest price date.

Please see the attached images for date.

Image Hosting by Picoodle.com">undefined 

Regards


--- In amibroker@xxxxxxxxxxxxxxx, "Tony Grimes" <Tonez.Email@xxx> wrote:
>
> Ooops, hit send too soon.
> AddColumn( HHDate, "HHDate", formatDateTime);
>
> AddColumn( LLDate, "LLDate", formatDateTime);
>
> On Tue, Oct 7, 2008 at 5:23 PM, Mohammed softnews2003@xxx wrote:
>
> > Hi Tony,
> >
> > Thank you for your reply, I try the above code but it give me long
> > numbers, not the date where is the highest or lowest price accurse.
> >
> > HHB = HHVBars(Close,730);
> > HHDate = Ref(DateTime(),-HHB);
> >
> > LLB = LLVBars(Close,730);
> > LLDate = Ref(DateTime(),-LLB);
> >
> > Filter = 1;
> > AddColumn( HHB, "HIGHEST", 1.2 );
> > AddColumn( HHDate, "HHDate" );
> >
> > AddColumn( LLB, "LOWEST", 1.2 );
> > AddColumn( LLDate, "LLDate", 1.2 );
> >
> > Regards
> >
> > --- In amibroker@xxxxxxxxxxxxxxx <amibroker%40yahoogroups.com>, "Tony
> > Grimes" Tonez.Email@
> > wrote:
> > >
> > > Try something like this:
> > >
> > > HHB = HHVBars(Close,730);
> > > HHDate = Ref(DateTime(),-HHB);
> > >
> > > LLB = LLVBars(Close,730);
> > > LLDate = Ref(DateTime(),-HHB);
> > >
> > >
> > >
> > >
> > > On Tue, Oct 7, 2008 at 4:04 PM, Mohammed softnews2003@ wrote:
> > >
> > > > Hi,
> > > >
> > > > I'm using the following code to filter HHV and LLV, I would like
> > to
> > > > add the date to it where is the highest and lowest price accurse.
> > > >
> > > > TodayClose = C;
> > > > HH = HHV( Close, 730 );
> > > > LL = LLV( Close, 730 );
> > > >
> > > > Filter = TodayClose;
> > > >
> > > > AddColumn( HH, "HH", 1.2 );
> > > > AddColumn( LL, "LL", 1.2 );
> > > > AddColumn( TodayClose, "TodayClose", 1.2 );
> > > > AddTextColumn( FullName(), "Full name", 77 , colorDefault ) ;
> > > >
> > > > Any assistance will be highly appreciated
> > > >
> > > > Regards,
> > > >
> > > >
> > > >
> > >
> >
> >
> >
>

__._,_.___

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL 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

*********************************




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___