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 49.28% per annum.
- GILD price at the close of November 18, 2026 was $168.98 and was inside the primary price channel.
- The secondary trend is increasing.
- The growth rate of the secondary trend is 31.40% per annum.
- GILD price at the close of November 18, 2026 was inside the secondary price channel.
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 GILD 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: February 7, 2024
End date: April 17, 2026
a = 3.2138
b = 0.0011
s = 0.0657
Annual growth rate:
Exp(365 × b) – 1
= Exp(365 × 0.0011) – 1
= 49.28%
Price channel spread:
Exp(4 × s) – 1
= Exp(4 × 0.0657) – 1
= 30.05%
February 7, 2024 calculations
Top border of price channel:
Exp(Y555)
= Exp(a + b × X555 + 2 × s)
= Exp(a + b × 810 + 2 × s)
= Exp(3.2138 + 0.0011 × 810 + 2 × 0.0657)
= Exp(4.2343)
= $69.01
Bottom border of price channel:
Exp(Y555)
= Exp(a + b × X555 – 2 × s)
= Exp(a + b × 810 – 2 × s)
= Exp(3.2138 + 0.0011 × 810 – 2 × 0.0657)
= Exp(3.9715)
= $53.07
April 17, 2026 calculations
Top border of price channel:
Exp(Y1,104)
= Exp(a + b × X1,104 + 2 × s)
= Exp(a + b × 1,610 + 2 × s)
= Exp(3.2138 + 0.0011 × 1,610 + 2 × 0.0657)
= Exp(5.1124)
= $166.06
Bottom border of price channel:
Exp(Y1,104)
= Exp(a + b × X1,104 – 2 × s)
= Exp(a + b × 1,610 – 2 × s)
= Exp(3.2138 + 0.0011 × 1,610 – 2 × 0.0657)
= Exp(4.8496)
= $127.69
Description
- The primary trend is increasing.
- The growth rate of the primary trend is 49.28% per annum.
- GILD price at the close of November 18, 2026 was $168.98 and was inside the primary price channel.
Secondary Trend
Start date: October 16, 2024
End date: October 28, 2026
a = 3.6796
b = 0.0007
s = 0.0602
Annual growth rate:
Exp(365 × b) – 1
= Exp(365 × 0.0007) – 1
= 31.40%
Price channel spread:
Exp(4 × s) – 1
= Exp(4 × 0.0602) – 1
= 27.21%
October 16, 2024 calculations
Top border of price channel:
Exp(Y729)
= Exp(a + b × X729 + 2 × s)
= Exp(a + b × 1,062 + 2 × s)
= Exp(3.6796 + 0.0007 × 1,062 + 2 × 0.0602)
= Exp(4.5946)
= $98.95
Bottom border of price channel:
Exp(Y729)
= Exp(a + b × X729 – 2 × s)
= Exp(a + b × 1,062 – 2 × s)
= Exp(3.6796 + 0.0007 × 1,062 – 2 × 0.0602)
= Exp(4.3539)
= $77.78
October 28, 2026 calculations
Top border of price channel:
Exp(Y1,238)
= Exp(a + b × X1,238 + 2 × s)
= Exp(a + b × 1,804 + 2 × s)
= Exp(3.6796 + 0.0007 × 1,804 + 2 × 0.0602)
= Exp(5.1498)
= $172.39
Bottom border of price channel:
Exp(Y1,238)
= Exp(a + b × X1,238 – 2 × s)
= Exp(a + b × 1,804 – 2 × s)
= Exp(3.6796 + 0.0007 × 1,804 – 2 × 0.0602)
= Exp(4.9091)
= $135.52
Description
- The secondary trend is increasing.
- The growth rate of the secondary trend is 31.40% per annum.
- GILD price at the close of November 18, 2026 was inside the secondary price channel.