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
