← Back to Skills Marketplace
wuxiangfacai

A股技术分析工具包

by wuxiangfacai · GitHub ↗ · v1.5.0 · MIT-0
cross-platform ✓ Security Clean
46
Downloads
0
Stars
2
Active Installs
4
Versions
Install in OpenClaw
/install a-share-tech-analysis
Description
A股技术分析工具包 — K线形态识别、技术指标计算、关键点位分析、资金流向解读。支持MACD/KDJ/RSI/均线系统/布林带,自动标注支撑位与阻力位,适合AI agent辅助操盘决策。
README (SKILL.md)

A股技术分析工具包 (A-Share Tech Analysis)

帮助你进行中国A股市场的技术面分析,包含K线形态识别、技术指标计算、关键点位分析等功能。适合AI agent辅助人类进行股票交易决策。

功能

1. K线形态识别

  • 锤子线 / 上吊线
  • 吞没形态(看涨/看跌)
  • 十字星
  • 三只乌鸦 / 三白兵
  • 头肩顶 / 头肩底
  • 双底 / 双顶

2. 技术指标

指标 参数默认值 用途
MACD 12/26/9 趋势判断,金叉死叉信号
KDJ 9/3/3 超买超卖区域识别
RSI 6/12/24 相对强弱,背离信号
均线系统 MA5/MA10/MA20/MA60/MA120 多空排列,支撑阻力
布林带 20/2 波动率与突破信号
成交量 OBV/量比 资金活跃度

3. 关键点位

  • 自动标注近期支撑位与阻力位
  • 计算止损位与目标位
  • 趋势线识别(上升/下降/横盘)

4. 资金流向

  • 主力资金净流入/流出分析
  • 大单/中单/小单分布
  • 北向资金动态

使用示例

# 查询某只股票的技术面
analyze-stock 600519.SH --indicators macd,kdj,rsi --levels support-resistance

# K线形态扫描
scan-patterns 000001.SZ --patterns engulfing,doji,hammer

# 每日复盘简报
daily-review 300750.SZ --brief

技术指标公式

MACD

EMA12 = 前一日EMA12 × 11/13 + 今日收盘价 × 2/13
EMA26 = 前一日EMA26 × 25/27 + 今日收盘价 × 2/27
DIF = EMA12 - EMA26
DEA = 前一日DEA × 8/10 + 今日DIF × 2/10
MACD柱 = (DIF - DEA) × 2
金叉 = DIF 上穿 DEA
死叉 = DIF 下穿 DEA

KDJ

RSV = (今日收盘价 - 最近9日最低价) / (最近9日最高价 - 最近9日最低价) × 100
K值 = 前一日K × 2/3 + 今日RSV × 1/3
D值 = 前一日D × 2/3 + 今日K × 1/3
J值 = 3 × K - 2 × D
超买: K > 80
超卖: K \x3C 20

注意事项

  • 技术指标仅为辅助工具,不构成投资建议
  • A股市场受政策面影响较大,需结合基本面分析
  • 建议使用多个指标交叉验证,单一指标信号可靠性有限
  • 注意识别假突破和指标钝化情况

Tags

a-share, stock, technical-analysis, trading, china, finance, macd, kdj, rsi

Usage Guidance
Install only if you want a small local example script for basic technical indicators. Do not rely on the advertised CLI commands or the unimplemented analysis categories, and do not use the output as investment advice or an automated trading signal without independent verification.
Capability Assessment
Purpose & Capability
The stated purpose is A-share technical analysis, and the Python file implements MACD, KDJ, RSI, support/resistance, and a sample brief, but the README/frontmatter also claims unimplemented candlestick scanning, moving averages, Bollinger bands, volume/money-flow analysis, trend lines, stop-loss/target calculation, and CLI commands.
Instruction Scope
The instructions are finance-oriented and include a disclaimer that indicators are only auxiliary and not investment advice, but they still frame the skill as useful for trading decisions, so users should treat outputs as educational analysis only.
Install Mechanism
The artifact contains only SKILL.md and one Python script; metadata shows no declared dependencies, no package install hooks, and clean static/dependency scans.
Credentials
The script imports only json and datetime, uses local sample data, and shows no network access, credential handling, filesystem reads/writes, subprocess execution, or external API calls.
Persistence & Privilege
No persistence mechanism, privilege escalation, background worker, scheduled task, account mutation, or trading-account integration is present.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install a-share-tech-analysis
  3. After installation, invoke the skill by name or use /a-share-tech-analysis
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.5.0
新增Python示例代码,支持MACD/KDJ/RSI计算和每日复盘简报生成
v1.0.2
新增Python示例代码,支持MACD/KDJ/RSI计算和每日复盘简报生成
v1.0.1
新增Python示例代码,支持MACD/KDJ/RSI计算和每日复盘简报生成
v1.0.0
首次发布:包含MACD/KDJ/RSI技术指标计算、K线形态识别、关键点位分析、每日复盘简报生成
Metadata
Slug a-share-tech-analysis
Version 1.5.0
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 4
Frequently Asked Questions

What is A股技术分析工具包?

A股技术分析工具包 — K线形态识别、技术指标计算、关键点位分析、资金流向解读。支持MACD/KDJ/RSI/均线系统/布林带,自动标注支撑位与阻力位,适合AI agent辅助操盘决策。 It is an AI Agent Skill for Claude Code / OpenClaw, with 46 downloads so far.

How do I install A股技术分析工具包?

Run "/install a-share-tech-analysis" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is A股技术分析工具包 free?

Yes, A股技术分析工具包 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does A股技术分析工具包 support?

A股技术分析工具包 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created A股技术分析工具包?

It is built and maintained by wuxiangfacai (@wuxiangfacai); the current version is v1.5.0.

💬 Comments