Regression trend

The regression trend fits a straight line to the closes between the two bars you click, by least squares, with bands two standard deviations either side and Pearson's r for how closely the closes follow it.

ProChannels tools

Try the Regression trend in Studio Comes with the 14-day free trial or Pro. Opens on Bitcoin with the tool in hand.

What the Regression trend is for

  • A trend's line, drawn by the data rather than by eye.
  • How stretched price is from its trend, in deviations.

How to draw the Regression trend

  1. 1Open Studio on the market and timeframe you want.
  2. 2Pick Regression trend on the drawing rail, in the Channels group.
  3. 3Click the first bar.
  4. 4Click the last: the closes between are fitted, with bands and Pearson's r.

⌥ is Alt on Windows and Linux. Turn on the magnet (⌥S) so clicks land on real highs and lows.

How to read it

r near 1 is a clean uptrend, near −1 a clean downtrend, near 0 no straight trend at all. The bands hold about 95% of closes if they were normal, which markets are not.

Drawn on the log axis it fits log price, so it is straight in percent.

It is a mark, not a claim, so it has no Test tab: there is nothing in it to grade.

Settings worth knowing

Select the drawing on the chart to open its settings.

Deviations
How far the bands sit from the fit: 0.5 to 5 standard deviations, 2 to start.
Pearson's r
On to start; it shows at the lower band's right end.
Extend, background
How far it runs, and the fill between the bands.
Lines
The upper band's, centre's and lower band's own colour, width and line type.

How Studio works it out

A least-squares fit of close on bar number over the real bars between the two points, both included. The bands are the residuals' standard deviation times the setting.

Educational only, not financial advice. Drawing tools organise a chart; they don't predict it.