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

RE: [amibroker] Looking ahead



PureBytes Links

Trading Reference Links

Thank Graham and B.  very helpful...

-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of Graham
Sent: Tuesday, November 29, 2005 12:25 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Looking ahead

I find the best to use is
LookHigh = ref( hhv( h, 10 ), -10 );
this looks at the 10th bar into the future, for the HHV of 10 bars
after today ( today is not included in the HHV)

If you want to make certain that you exclude the end of the chart add
a condition
LookHigh = ref( hhv( h, 10 ), -10 ) * ( barindex() < barcount-11 );

--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm

On 11/29/05, dimension@xxxxxxxxxxxxx <dimension@xxxxxxxxxxxxx> wrote:
>
>
>
> Hi,
>
> Given a "trigger date/bar", how can I look ahead two weeks from that
bar/date and determine what the low was within those two weeks, providing
there exists data in that look ahead time frame?  Is there something like
LLV and HHV for looking ahead? (I tried using a negative number to no
avail).
>
>
>
> thanks
>



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 other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links



 



-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.7/182 - Release Date: 11/24/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.7/182 - Release Date: 11/24/2005
 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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 other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/