PureBytes Links
Trading Reference Links
|
I am still using SuperCharts 4.0
I am trying to create a Linear Regression Channel indicator that does the
following on price spread data (c data1/c data2):
1) Plots a straight linear regression line (best fit line) between today's
spread price and a spread price X bars ago
2) Plots parallel standard deviation lines above and below the LR center
line based on deviation of the spread prices from this LR center line; these
SD lines should be able to be plotted 1, 2 or 3 SD's above/below the center
line and should be able to use the spread data over the past Y bars in their
calculation (in other words, the SD lines may use a different length in
their calculation than the center LR line)
3) The above described LR Channel can be plotted on a chart of the spread
price series
Many thanks in advance,
Frank
--
|