Trend Following

v1.0.0

Trend-following stock analysis using price + volume. Use when user asks to analyze a stock, check a ticker, get buy/sell signals, find support/resistance, or...

0· 96·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for eddieguan801-oss/trend-following.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Trend Following" (eddieguan801-oss/trend-following) from ClawHub.
Skill page: https://clawhub.ai/eddieguan801-oss/trend-following
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install trend-following

ClawHub CLI

Package manager switcher

npx clawhub@latest install trend-following
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (trend-following stock analysis) matches the included script and SKILL.md. The script fetches historical price/volume data via yfinance and computes indicators (MA, RSI, MACD, Bollinger, volume MA) — all proportional to the stated purpose.
Instruction Scope
SKILL.md only instructs running the included Python script and installing yfinance. The runtime instructions and script operate on market data from Yahoo Finance; they do not read unrelated local files, environment variables, or contact unexpected external endpoints.
Install Mechanism
No automated install spec is present (instruction-only). The README notes 'pip install yfinance' which is reasonable. No downloads from arbitrary URLs or archive extraction are present.
Credentials
The skill declares no required environment variables, credentials, or config paths. The script does not attempt to access secrets or unrelated system config.
Persistence & Privilege
always is false and the skill does not request persistent system presence or modify other skills/settings. It runs as a one-off script when invoked.
Assessment
This appears to be a straightforward, local analysis tool. Before installing: (1) be aware it needs network access to fetch market data via yfinance (which queries Yahoo Finance) and you must pip-install the yfinance dependency; (2) inspect any transitive Python packages you install (supply-chain risk is separate from this skill's code); (3) the output is analytical, not guaranteed trading advice — validate signals independently before acting with real funds.

Like a lobster shell, security has layers — review code before you run it.

latestvk97b3877pzbb5tmrg765dkc16184v7xb
96downloads
0stars
1versions
Updated 1w ago
v1.0.0
MIT-0

Trend Following Strategy (v1.0.0)

Price + Volume based trend analysis with buy/sell signals, support/resistance levels, and target pricing.

Quick Start

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

Indicators Used

IndicatorPurpose
RSI(14)Overbought/oversold (70+=overbought, 30-=oversold)
MACDTrend momentum (histogram crossing 0 = signal)
MA20/50/200Trend direction (price vs moving averages)
Bollinger BandsVolatility envelopes
Volume MAVolume surges confirm moves

Signal Logic

Buy Signals 🟢

  • MACD histogram crosses above 0 (golden cross)
  • Volume >1.5x avg + price above MA20
  • RSI 40-60 + uptrend confirmation
  • Pullback to MA20 in strong uptrend
  • RSI oversold + MACD reversal = possible bottom

Sell Signals 🔴

  • RSI >70 (overbought)
  • Price below MA20 in downtrend
  • Volume >2x on price decline
  • MACD bearish (below signal line)
  • Breaking support level

Output Sections

  1. Trend Status — MA20/50/200 alignment
  2. Key Levels — Resistance and support zones
  3. Signals — Current buy/sell conditions
  4. Entry & Targets — Entry price, stop loss, 3 targets with R/R ratio

Parameters

  • TICKER — Required. Yahoo Finance ticker symbol (e.g., ADBE, ORCL, TSLA)
  • PERIOD — Optional. Data period (default: 1y). Options: 3mo, 6mo, 1y, 2y, 5y

Notes

  • Requires yfinance (pip install yfinance)
  • Uses swing point detection for support/resistance
  • Targets are based on measured moves from current price to next S/R level
  • Always validate with current market data before trading

Comments

Loading comments...