agentleFS
LisonEvfLisonEvf/finance-skills/skills/trading/technical-analysis/SKILL.md

technical-analysis

Skill2 starsChanged 7 months agoMITView on GitHub

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.

9 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Technical Analysis

Computes and interprets technical indicators for financial time series data.

Real Code Reference

  • tradinglearn/utils/technical_indicators.py — calculate_macd(), calculate_ema(), calculate_sma()
  • tradinglearn/strategies/macd_strategy.py — MACDStrategy.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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.