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.77% per annum.
- XOM price at the close of April 25, 2025 was $108.57 and was inside the primary price channel.
- The secondary trend is decreasing.
- The decline rate of the secondary trend is 4.24% per annum.
- XOM price at the close of April 25, 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 25, 2025
a = 4.4543
b = 0.0002
s = 0.0529
Annual growth rate:
Exp(365 × b) – 1
= Exp(365 × 0.0002) – 1
= 5.77%
Price channel spread:
Exp(4 × s) – 1
= Exp(4 × 0.0529) – 1
= 23.56%
October 5, 2022 calculations
Top border of price channel:
Exp(Y616)
= Exp(a + b × X616 + 2 × s)
= Exp(a + b × 891 + 2 × s)
= Exp(4.4543 + 0.0002 × 891 + 2 × 0.0529)
= Exp(4.6970)
= $109.61
Bottom border of price channel:
Exp(Y616)
= Exp(a + b × X616 – 2 × s)
= Exp(a + b × 891 – 2 × s)
= Exp(4.4543 + 0.0002 × 891 – 2 × 0.0529)
= Exp(4.4854)
= $88.71
April 25, 2025 calculations
Top border of price channel:
Exp(Y1,256)
= Exp(a + b × X1,256 + 2 × s)
= Exp(a + b × 1,824 + 2 × s)
= Exp(4.4543 + 0.0002 × 1,824 + 2 × 0.0529)
= Exp(4.8403)
= $126.51
Bottom border of price channel:
Exp(Y1,256)
= Exp(a + b × X1,256 – 2 × s)
= Exp(a + b × 1,824 – 2 × s)
= Exp(4.4543 + 0.0002 × 1,824 – 2 × 0.0529)
= Exp(4.6287)
= $102.38
Description
- The primary trend is increasing.
- The growth rate of the primary trend is 5.77% per annum.
- XOM price at the close of April 25, 2025 was $108.57 and was inside the primary price channel.
Secondary Trend
Start date: March 28, 2024
End date: April 25, 2025
a = 4.9158
b = -0.0001
s = 0.0376
Annual growth rate:
Exp(365 × b) – 1
= Exp(365 × -0.0001) – 1
= -4.24%
Price channel spread:
Exp(4 × s) – 1
= Exp(4 × 0.0376) – 1
= 16.22%
March 28, 2024 calculations
Top border of price channel:
Exp(Y987)
= Exp(a + b × X987 + 2 × s)
= Exp(a + b × 1,431 + 2 × s)
= Exp(4.9158 + -0.0001 × 1,431 + 2 × 0.0376)
= Exp(4.8211)
= $124.10
Bottom border of price channel:
Exp(Y987)
= Exp(a + b × X987 – 2 × s)
= Exp(a + b × 1,431 – 2 × s)
= Exp(4.9158 + -0.0001 × 1,431 – 2 × 0.0376)
= Exp(4.6708)
= $106.79
April 25, 2025 calculations
Top border of price channel:
Exp(Y1,256)
= Exp(a + b × X1,256 + 2 × s)
= Exp(a + b × 1,824 + 2 × s)
= Exp(4.9158 + -0.0001 × 1,824 + 2 × 0.0376)
= Exp(4.7745)
= $118.45
Bottom border of price channel:
Exp(Y1,256)
= Exp(a + b × X1,256 – 2 × s)
= Exp(a + b × 1,824 – 2 × s)
= Exp(4.9158 + -0.0001 × 1,824 – 2 × 0.0376)
= Exp(4.6242)
= $101.92
Description
- The secondary trend is decreasing.
- The decline rate of the secondary trend is 4.24% per annum.
- XOM price at the close of April 25, 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