Stock Price Trends
Stock price trends estimated using linear regression.
Summary
Key facts
- The primary trend is increasing.
- The growth rate of the primary trend is 12.15% per annum.
- AAPL price at the close of April 23, 2024 was $166.90 and was inside the primary price channel.
- The secondary trend is decreasing.
- The decline rate of the secondary trend is 35.42% per annum.
- AAPL price at the close of April 23, 2024 was inside the secondary price channel.
- The direction of the secondary trend is opposite to the direction of the primary trend. This indicates a possible reversal in the direction of the primary trend.
Linear Regression Model
Model equation:
Yi = α + β × Xi + εi
Top border of price channel:
Exp(Yi) = Exp(a + b × Xi + 2 × s)
Bottom border of price channel:
Exp(Yi) = Exp(a + b × Xi – 2 × s)
where:
i - observation number
Yi - natural logarithm of AAPL price
Xi - time index, 1 day interval
σ - standard deviation of εi
a - estimator of α
b - estimator of β
s - estimator of σ
Exp() - calculates the exponent of e
Primary Trend
Start date: August 6, 2020
End date: April 23, 2024
a = 4.6647
b = 0.0003
s = 0.0879
Annual growth rate:
Exp(365 × b) – 1
= Exp(365 × 0.0003) – 1
= 12.15%
Price channel spread:
Exp(4 × s) – 1
= Exp(4 × 0.0879) – 1
= 42.12%
August 6, 2020 calculations
Top border of price channel:
Exp(Y325)
= Exp(a + b × X325 + 2 × s)
= Exp(a + b × 470 + 2 × s)
= Exp(4.6647 + 0.0003 × 470 + 2 × 0.0879)
= Exp(4.9882)
= $146.67
Bottom border of price channel:
Exp(Y325)
= Exp(a + b × X325 – 2 × s)
= Exp(a + b × 470 – 2 × s)
= Exp(4.6647 + 0.0003 × 470 – 2 × 0.0879)
= Exp(4.6367)
= $103.20
April 23, 2024 calculations
Top border of price channel:
Exp(Y1,258)
= Exp(a + b × X1,258 + 2 × s)
= Exp(a + b × 1,826 + 2 × s)
= Exp(4.6647 + 0.0003 × 1,826 + 2 × 0.0879)
= Exp(5.4142)
= $224.58
Bottom border of price channel:
Exp(Y1,258)
= Exp(a + b × X1,258 – 2 × s)
= Exp(a + b × 1,826 – 2 × s)
= Exp(4.6647 + 0.0003 × 1,826 – 2 × 0.0879)
= Exp(5.0627)
= $158.02
Description
- The primary trend is increasing.
- The growth rate of the primary trend is 12.15% per annum.
- AAPL price at the close of April 23, 2024 was $166.90 and was inside the primary price channel.
Secondary Trend
Start date: December 5, 2023
End date: April 23, 2024
a = 7.3071
b = -0.0012
s = 0.0223
Annual growth rate:
Exp(365 × b) – 1
= Exp(365 × -0.0012) – 1
= -35.42%
Price channel spread:
Exp(4 × s) – 1
= Exp(4 × 0.0223) – 1
= 9.34%
December 5, 2023 calculations
Top border of price channel:
Exp(Y1,163)
= Exp(a + b × X1,163 + 2 × s)
= Exp(a + b × 1,686 + 2 × s)
= Exp(7.3071 + -0.0012 × 1,686 + 2 × 0.0223)
= Exp(5.3317)
= $206.80
Bottom border of price channel:
Exp(Y1,163)
= Exp(a + b × X1,163 – 2 × s)
= Exp(a + b × 1,686 – 2 × s)
= Exp(7.3071 + -0.0012 × 1,686 – 2 × 0.0223)
= Exp(5.2424)
= $189.12
April 23, 2024 calculations
Top border of price channel:
Exp(Y1,258)
= Exp(a + b × X1,258 + 2 × s)
= Exp(a + b × 1,826 + 2 × s)
= Exp(7.3071 + -0.0012 × 1,826 + 2 × 0.0223)
= Exp(5.1640)
= $174.86
Bottom border of price channel:
Exp(Y1,258)
= Exp(a + b × X1,258 – 2 × s)
= Exp(a + b × 1,826 – 2 × s)
= Exp(7.3071 + -0.0012 × 1,826 – 2 × 0.0223)
= Exp(5.0747)
= $159.92
Description
- The secondary trend is decreasing.
- The decline rate of the secondary trend is 35.42% per annum.
- AAPL price at the close of April 23, 2024 was inside the secondary price channel.
- Discover a new approach to trend analysis.
- Check the power of mathematical statistics.
- Price channels have never been so accurately estimated.
Check out AAPL and 1,499 other stocks on our new website