Trend Indicator Mas: Chelsea Yang
Trend Indicator Mas: Chelsea Yang
Trend Indicator Mas: Chelsea Yang
Chelsea Yang
Data Science Instructor
What are technical indicators?
Mathematical calculations based on historical market data
Assume the market is e cient and the price has incorporated all public information
import talib
Characteristics:
Move with the price
multiplier = 2/(n + 1)
Chelsea Yang
Data Science Instructor
What is ADX?
Stands for "Average Directional Movement Measures the strength of a trend
Index" Oscillates between 0 and 100
Calculation input:
high, low, and close prices of each period
# Create subplots
fig, (ax1, ax2) = plt.subplots(2)
Chelsea Yang
Data Science Instructor
What is RSI?
Stands for "Relative Strength Index" Measures the momentum of a trend
Oscillates between 0 and 100
Developed by J. Welles Wilder
"New Concepts in Technical Systems" RSI > 70: Overbought
(1987)
RSI < 30: Oversold
Where:
# Create subplots
fig, (ax1, ax2) = plt.subplots(2)
Chelsea Yang
Data Science Instructor
What are Bollinger Bands?
Developed by John Bollinger Measure price volatility
"Bollinger on Bollinger Bands"
Composed of three lines:
Middle band: n-period simple moving
average