AgentStack
SKILL verified MIT Self-run

Technical Analysis

skill-qunyou-agent-finance-skills-technical-analysis · by qunyou-agent

Computes technical indicators for stock data including MACD, RSI, moving averages, Bollinger Bands, ATR, and volume analysis. Generates trading signals based on indicator conditions. Trigger when the user requests technical indicators, chart patterns, or signal calculations.

No reviews yet
0 installs
11 views
0.0% view→install

Install

$ agentstack add skill-qunyou-agent-finance-skills-technical-analysis

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Are you the author of Technical Analysis? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Technical Analysis

Computes and interprets technical indicators for financial time series data.

Real Code Reference

  • tradinglearn/utils/technical_indicators.pycalculate_macd(), calculate_ema(), calculate_sma()
  • tradinglearn/strategies/macd_strategy.pyMACDStrategy.generate_signals() with golden-cross/dead-cross logic
  • tradinglearn/pytdx2/macd_golden_cross.py — A-share MACD golden cross scanner

Supported Indicators

  • Trend: SMA, EMA, WMA, MACD, Parabolic SAR, ADX
  • Momentum: RSI, Stochastic Oscillator, Williams %R, ROC, CCI
  • Volatility: Bollinger Bands, ATR, Keltner Channels
  • Volume: OBV, Volume Profile, Money Flow Index, VWAP
  • Patterns: Doji, Hammer, Engulfing, Morning/Evening Star

Typical Workflow

  1. Fetch K-line data via fetch_stock_data(ticker) or QuotationClient.get_KLine_data()
  2. Compute indicators with existing functions in utils/technical_indicators.py
  3. Generate signals: crossover events, overbought/oversold thresholds, divergence detection
  4. Return DataFrame with indicator columns + signal columns

Usage

from utils.technical_indicators import calculate_macd, calculate_ema, calculate_sma

macd_df = calculate_macd(data, fast_period=12, slow_period=26, signal_period=9)
# Returns DataFrame with MACD, Signal, Histogram columns
signal = macd_df['MACD'] > macd_df['Signal']  # Golden cross condition

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.