Take a look at the AFL functions LLV() and HHV() in the User's Guide.
 
----- Original Message -----
From: "xxxringop" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, September 23, 2006 1:20 PM
Subject: [amibroker] help with coding formula

>I need help coding the following formula:
>
> htf = The high over the past 200 trading days
>
> ltf = The low over the past 200 trading days
>
> x = (htf - close)/htf
> y = (ltf - close)/ltf
>
> momentum = y/ (y + x)
>
> I would like to be able to plot it on a graph and set up as an
> exploration.
>
> 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
>
> <*> To visit your group on the web, go to:
>   
http://groups.yahoo.com/group/amibroker/
>
> <*> Your email settings:
>    Individual Email | Traditional
>
> <*> To change settings online go to:
>   
http://groups.yahoo.com/group/amibroker/join
>    (Yahoo! ID required)
>
> <*> To change settings via email:
>   
mailto:[EMAIL PROTECTED]
>   
mailto:[EMAIL PROTECTED]
>
> <*> To unsubscribe from this group, send an email to:
>   
[EMAIL PROTECTED]
>
> <*> Your use of Yahoo! Groups is subject to:
>   
http://docs.yahoo.com/info/terms/

>
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.12.6/453 - Release Date: 9/20/2006
>
>
__._,_.___

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






SPONSORED LINKS
Software support Small business finance Business finance online
Business finance training Business finance course

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

__,_._,___

Reply via email to