|
Answer |
If you setup the Linear Regression indicator with
"Automatic Using Last 25 Bars", then you'll get a 25 period linear
regression line that will always use the last 25 bars, regardless of
what periodicity you have the chart set to. You can switch between
daily, weekly, 30-minute, 1-minute, etc, and you'll always get a
regression line using the last 25 bars of whatever periodicity you're
looking at. I think this is probably what you're after.
If you use either of the other two settings ("From Date/Time to
Date/Time" or "From Date/Time to Present"), the regression
line is set to attach one or both of it's endpoints to a specific
"date/time", which might not necessarily translate very well from one
timeframe to another. Certainly not between intraday and
daily/weekly/month periodicities.Also, if you're switching the chart
from daily to weekly periodicity, you must ensure that you have enough
data on the instrument. In our example above, a 25 period linear
regression line on daily data will obviously only require 25 days of
data, while the weekly line will require 125 days of data (and monthly
would require approximately 500 days of data). |