Yes - LineArray (if you want to draw price-related stuff) or MoveTo/LineTo (for general-purpose line drawing)
Best regards, Tomasz Janeczko amibroker.com ----- Original Message ----- From: Paul Ho To: [email protected] Sent: Friday, January 04, 2008 11:44 AM Subject: RE: [amibroker] How to draw a STRAIGHT trend line from AFL? linearray ---------------------------------------------------------------------------- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of foginthehills Sent: Friday, 4 January 2008 9:36 PM To: [email protected] 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
