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 5.83% per annum.
- XOM price at the close of April 22, 2025 was $108.30 and was inside the primary price channel.
- The secondary trend is decreasing.
- The decline rate of the secondary trend is 4.14% per annum.
- XOM price at the close of April 22, 2025 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 XOM 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: October 5, 2022
End date: April 22, 2025
a = 4.4518
b = 0.0002
s = 0.0529
Annual growth rate:
Exp(365 × b) – 1
= Exp(365 × 0.0002) – 1
= 5.83%
Price channel spread:
Exp(4 × s) – 1
= Exp(4 × 0.0529) – 1
= 23.57%
October 5, 2022 calculations
Top border of price channel:
Exp(Y618)
= Exp(a + b × X618 + 2 × s)
= Exp(a + b × 895 + 2 × s)
= Exp(4.4518 + 0.0002 × 895 + 2 × 0.0529)
= Exp(4.6965)
= $109.56
Bottom border of price channel:
Exp(Y618)
= Exp(a + b × X618 – 2 × s)
= Exp(a + b × 895 – 2 × s)
= Exp(4.4518 + 0.0002 × 895 – 2 × 0.0529)
= Exp(4.4849)
= $88.67
April 22, 2025 calculations
Top border of price channel:
Exp(Y1,255)
= Exp(a + b × X1,255 + 2 × s)
= Exp(a + b × 1,825 + 2 × s)
= Exp(4.4518 + 0.0002 × 1,825 + 2 × 0.0529)
= Exp(4.8408)
= $126.57
Bottom border of price channel:
Exp(Y1,255)
= Exp(a + b × X1,255 – 2 × s)
= Exp(a + b × 1,825 – 2 × s)
= Exp(4.4518 + 0.0002 × 1,825 – 2 × 0.0529)
= Exp(4.6292)
= $102.43
Description
- The primary trend is increasing.
- The growth rate of the primary trend is 5.83% per annum.
- XOM price at the close of April 22, 2025 was $108.30 and was inside the primary price channel.
Secondary Trend
Start date: March 28, 2024
End date: April 22, 2025
a = 4.9120
b = -0.0001
s = 0.0377
Annual growth rate:
Exp(365 × b) – 1
= Exp(365 × -0.0001) – 1
= -4.14%
Price channel spread:
Exp(4 × s) – 1
= Exp(4 × 0.0377) – 1
= 16.30%
March 28, 2024 calculations
Top border of price channel:
Exp(Y989)
= Exp(a + b × X989 + 2 × s)
= Exp(a + b × 1,435 + 2 × s)
= Exp(4.9120 + -0.0001 × 1,435 + 2 × 0.0377)
= Exp(4.8211)
= $124.10
Bottom border of price channel:
Exp(Y989)
= Exp(a + b × X989 – 2 × s)
= Exp(a + b × 1,435 – 2 × s)
= Exp(4.9120 + -0.0001 × 1,435 – 2 × 0.0377)
= Exp(4.6701)
= $106.71
April 22, 2025 calculations
Top border of price channel:
Exp(Y1,255)
= Exp(a + b × X1,255 + 2 × s)
= Exp(a + b × 1,825 + 2 × s)
= Exp(4.9120 + -0.0001 × 1,825 + 2 × 0.0377)
= Exp(4.7759)
= $118.62
Bottom border of price channel:
Exp(Y1,255)
= Exp(a + b × X1,255 – 2 × s)
= Exp(a + b × 1,825 – 2 × s)
= Exp(4.9120 + -0.0001 × 1,825 – 2 × 0.0377)
= Exp(4.6249)
= $102.00
Description
- The secondary trend is decreasing.
- The decline rate of the secondary trend is 4.14% per annum.
- XOM price at the close of April 22, 2025 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 XOM and 1,499 other stocks on our new website