PureBytes Links
Trading Reference Links
|
Hi,
If I use HHVBars it give me wrong price, But when I use HHV only it give me the right result. Also the ( -HHB ) will decrease the date one day before the highest price.
">undefined
Any solution for this problem
Regards --- In amibroker@xxxxxxxxxxxxxxx, "Tony Grimes" <Tonez.Email@xxx> wrote: > > It doesn't look like it's coded correctly. I sent you this: > > HHB = HHVBars(Close,730); > HHDate = Ref(DateTime(),-HHB); > > LLB = LLVBars(Close,730); > LLDate = Ref(DateTime(),-HHB); > > But you have it coded like this: > > HHB = HHV(Close,730); > HHDate = Ref(DateTime(),-HHB); > > LLB = LLV(Close,730); > LLDate = Ref(DateTime(),-HHB); > > On Tue, Oct 7, 2008 at 6:35 PM, Mohammed softnews2003@xxx wrote: > > > 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: Image Hosting by Picoodle.com]<http://finance.groups.yahoo.com/group/amibroker/%3Ca%20href=> > > ">undefined > > > > Regards > > > > --- In amibroker@xxxxxxxxxxxxxxx, "Tony Grimes" Tonez.Email@ 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@ 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
*********************************
__,_._,___
|