Price + Volume based trend analysis with buy/sell signals, support/resistance levels, and target pricing.
python3 skills/trend-following/scripts/trend_strategy.py <TICKER> [PERIOD]
Examples:
python3 skills/trend-following/scripts/trend_strategy.py ADBE 1y
python3 skills/trend-following/scripts/trend_strategy.py ORCL 6mo
python3 skills/trend-following/scripts/trend_strategy.py AAPL
| Indicator | Purpose |
|---|---|
| ----------- | --------- |
| RSI(14) | Overbought/oversold (70+=overbought, 30-=oversold) |
| MACD | Trend momentum (histogram crossing 0 = signal) |
| MA20/50/200 | Trend direction (price vs moving averages) |
| Bollinger Bands | Volatility envelopes |
| Volume MA | Volume surges confirm moves |
TICKER — Required. Yahoo Finance ticker symbol (e.g., ADBE, ORCL, TSLA)PERIOD — Optional. Data period (default: 1y). Options: 3mo, 6mo, 1y, 2y, 5yyfinance (pip install yfinance)共 1 个版本