take a look at the canned indicator for portfolio equity. It has an option for linear Reg. just port it over to your own need.
_____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of gyowell2000 Sent: Saturday, 26 July 2008 11:08 AM To: [email protected] Subject: [amibroker] AFL for Linear Regression Study Hello, Is the AFL code for the Linear Regession Study available? I would like to be able to place the study on a chart starting and ending on selscted dates under program control rather than doing it manually. I have checked the Amibroker user's guide, the AFL library and Googled but have found nothing useful. Grover
