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

Re: [amibroker] help with coding formula



PureBytes Links

Trading Reference Links

Take a look at the AFL functions LLV() and HHV() in the User's Guide.

----- Original Message ----- 
From: "xxxringop" <xxxringop@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
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
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> 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
> 
>