There are a number of codes in the library that automatically plot trendlines.

Bill

----- Original Message ----- 
From: "foginthehills" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, January 04, 2008 5:36 AM
Subject: [amibroker] How to draw a STRAIGHT trend line from AFL?


> Hi guys,
> 
> How can I plot a straight trend line under the most recent EOD data? Is 
> there some AFL code that shows how to draw a straight trend line below 
> the Lows of the past 8 weeks?
> 
> For example, I'd like to draw a straight LinearReg() line that sits 
> below the most significant Lows in the past quarter. But how to do this?
> 
> I understand AFL works with arrays but I really want an indicator that 
> can just make a reasonable attempt at a straight trend line under low 
> price action. I don't want this for all chart data, just the past 8 
> weeks or so.
> 
> Any ideas how to do this?
> 
> Many thanks as always -
> 
> Andy
> 
> 
> 
> 
> 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 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
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.516 / Virus Database: 269.17.13/1208 - Release Date: 1/3/2008 
> 3:52 PM
> 
>

Reply via email to