crypto-ta-analyzer by dkyazzentwatwa/chatgpt-skills
npx skills add https://github.com/dkyazzentwatwa/chatgpt-skills --skill crypto-ta-analyzer多指标技术分析系统,通过结合29种以上经过验证的算法生成高置信度的交易信号。具备背离检测、布林带挤压警报、成交量确认和7层信号系统等功能。适用于加密货币和股票市场分析。
从任何支持的来源获取历史价格数据:
CoinGecko(通过MCP工具):
Use coingecko_get_historical_chart tool with:
- coin_id: 目标加密货币(例如 'bitcoin', 'ethereum')
- days: 时间范围('7', '30', '90', '365', 'max')
- vs_currency: 基础货币(默认 'usd')
其他支持的数据源:
最低要求:
通用数据转换器会自动检测并规范化任何支持的格式:
from scripts.data_converter import normalize_ohlcv, validate_data_quality
# 自动检测格式并转换
ohlcv_df, metadata = normalize_ohlcv(raw_data, source="auto")
# 检查转换质量
print(f"Format detected: {metadata['detected_format']}")
print(f"Rows: {metadata['original_rows']} -> {metadata['final_rows']}")
print(f"Warnings: {metadata['warnings']}")
# 验证数据质量
quality_report = validate_data_quality(ohlcv_df)
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
向后兼容旧的CoinGecko转换器:
from scripts.data_converter import prepare_analysis_data
ohlcv_df = prepare_analysis_data(coingecko_json_data)
使用准备好的数据执行分析器:
from scripts.ta_analyzer import TechnicalAnalyzer
import json
# 使用OHLCV数据初始化分析器
analyzer = TechnicalAnalyzer(ohlcv_df)
# 运行综合分析
results = analyzer.analyze_all()
# 显示结果
print(json.dumps(results, indent=2))
分析返回包含新功能的全面数据:
{
"scoreTotal": 8.5,
"tradeSignal": "STRONG_UPTREND",
"tradeSignal7Tier": "STRONG_BUY",
"tradeTrigger": true,
"currentPrice": 45234.56,
"priceChange24h": 3.45,
"confidence": 0.75,
"normalizedScore": 0.42,
"volumeConfirmation": 0.85,
"squeezeDetected": false,
"divergences": {
"RSI": "NONE",
"MACD": "NONE",
"OBV": "NONE"
},
"individualScores": {
"RSI": 1.0,
"MACD": 1.0,
"BB": 0.75,
"OBV": 0.8,
"ICHIMOKU": 1.0,
...
},
"individualSignals": {
"RSI": "BUY",
"MACD": "BUY",
"BB": "BUY",
...
},
"regime": {
"regime": "TRENDING",
"adx": 32.5,
"dmiDirection": "UP"
},
"warnings": []
}
7层信号系统(新增):
传统信号解读(向后兼容):
背离类型:
详细指标解释请参见 references/indicators.md。
用于快速评估单个加密货币:
1. 为目标币种调用 coingecko_get_historical_chart(7-30天)
2. 使用 coingecko_converter 转换数据
3. 运行 ta_analyzer.analyze_all()
4. 向用户展示 scoreTotal 和 tradeSignal
用于比较多个加密货币:
1. 为目标币种调用 coingecko_compare_coins
2. 对每个币种:
- 获取历史图表数据
- 运行技术分析
- 存储结果
3. 创建包含分数和信号的比较表格
4. 识别表现最强/最弱的币种
用于包含上下文的全面评估:
1. 获取多个时间框架的数据(7天、30天、90天)
2. 在每个时间框架上运行分析
3. 检查不同时间框架间的信号一致性
4. 查看单个指标信号以寻找背离
5. 与市场数据(市值、成交量、主导地位)交叉验证
6. 提供包含置信度水平的详细报告
用于持续的市场监控:
1. 获取观察列表的当前数据
2. 对所有币种运行分析
3. 筛选出 STRONG_UPTREND 信号(score >= 7)
4. 按分数降序排列
5. 提供带上下文的最佳机会
高置信度看涨(STRONG_BUY):
突破设置:
趋势衰竭警告:
基于背离的反转:
假突破:
一目均衡表确认:
✅ 非常适合:趋势识别、中期信号、投资组合筛选
✅ 适用于:入场/出场时机、风险评估、比较分析
⚠️ 有限用于:高频交易、精确的日内时机、震荡市场
❌ 避免用于:新闻驱动的波动、低流动性币种、极端波动事件
根据市场状况调整指标权重:
分析同一币种在多个时间框架上的表现:
- 7天(短期趋势)
- 30天(中期趋势)
- 90天(长期趋势)
当所有时间框架都一致时,信号最强。
分析同一板块的多个币种以识别:
原因:数据不足或价格走势平缓
解决方案:获取更长的历史数据或检查数据质量
原因:市场处于过渡期或震荡
解决方案:分数将为中性 - 等待更明确的方向
原因:指标滞后于价格,或新闻驱动的波动
解决方案:与市场背景、近期新闻、成交量交叉验证
原因:指标计算数据不足
解决方案:获取至少100个数据点,最好200个以上
此技能设计用于与CoinGecko MCP工具无缝协作:
主要使用的工具:
coingecko_get_historical_chart - 主要数据源coingecko_get_price - 快速当前价格检查coingecko_compare_coins - 多币种分析coingecko_get_market_data - 上下文和验证工作流集成:
Bitcoin Technical Analysis (7-day period)
📊 7层信号:STRONG_BUY
🎯 置信度:78%
💰 当前价格:$45,234.56(24小时 +3.45%)
📈 成交量确认:85%
关键指标:
✅ RSI:BUY(38.2 - 健康水平,无背离)
✅ MACD:BUY(金叉,无背离)
✅ 布林带:BUY(价格接近上轨,无挤压)
✅ OBV:BUY(成交量确认趋势,无背离)
✅ 一目均衡表:BUY(价格在云层之上)
✅ 成交量:ACCUMULATION(MFI看涨)
警告:无
建议:具有成交量确认的强烈买入信号。
未检测到背离或超买状况。
按技术分数排名的前5大加密货币(30天分析)
1. Solana (SOL):9.0 - STRONG_UPTREND
- 所有动量指标看涨
- 成交量确认强劲
2. Ethereum (ETH):7.5 - STRONG_UPTREND
- 趋势向上,轻微超买警告
3. Bitcoin (BTC):5.0 - NEUTRAL
- 近期波动后盘整
4. Cardano (ADA):2.5 - DOWNTREND
- 多个看跌信号
5. XRP:1.0 - DOWNTREND
- 动量弱且成交量不足
每周安装量
784
代码仓库
GitHub星标数
23
首次出现
2026年1月23日
安全审计
安装于
opencode679
gemini-cli670
codex657
cursor647
github-copilot638
kimi-cli617
Multi-indicator technical analysis system that generates high-confidence trading signals by combining 29+ proven algorithms. Features divergence detection, Bollinger Band squeeze alerts, volume confirmation, and a 7-tier signal system. Ideal for cryptocurrency and stock market analysis.
Fetch historical price data from any supported source:
CoinGecko (via MCP tools):
Use coingecko_get_historical_chart tool with:
- coin_id: Target cryptocurrency (e.g., 'bitcoin', 'ethereum')
- days: Time range ('7', '30', '90', '365', 'max')
- vs_currency: Base currency (default 'usd')
Other Supported Sources:
Minimum Requirements :
The generic data converter auto-detects and normalizes any supported format:
from scripts.data_converter import normalize_ohlcv, validate_data_quality
# Auto-detect format and convert
ohlcv_df, metadata = normalize_ohlcv(raw_data, source="auto")
# Check conversion quality
print(f"Format detected: {metadata['detected_format']}")
print(f"Rows: {metadata['original_rows']} -> {metadata['final_rows']}")
print(f"Warnings: {metadata['warnings']}")
# Validate data quality
quality_report = validate_data_quality(ohlcv_df)
Backward compatible with old CoinGecko converter:
from scripts.data_converter import prepare_analysis_data
ohlcv_df = prepare_analysis_data(coingecko_json_data)
Execute the analyzer with prepared data:
from scripts.ta_analyzer import TechnicalAnalyzer
import json
# Initialize analyzer with OHLCV data
analyzer = TechnicalAnalyzer(ohlcv_df)
# Run comprehensive analysis
results = analyzer.analyze_all()
# Display results
print(json.dumps(results, indent=2))
Analysis returns comprehensive data including new features:
{
"scoreTotal": 8.5,
"tradeSignal": "STRONG_UPTREND",
"tradeSignal7Tier": "STRONG_BUY",
"tradeTrigger": true,
"currentPrice": 45234.56,
"priceChange24h": 3.45,
"confidence": 0.75,
"normalizedScore": 0.42,
"volumeConfirmation": 0.85,
"squeezeDetected": false,
"divergences": {
"RSI": "NONE",
"MACD": "NONE",
"OBV": "NONE"
},
"individualScores": {
"RSI": 1.0,
"MACD": 1.0,
"BB": 0.75,
"OBV": 0.8,
"ICHIMOKU": 1.0,
...
},
"individualSignals": {
"RSI": "BUY",
"MACD": "BUY",
"BB": "BUY",
...
},
"regime": {
"regime": "TRENDING",
"adx": 32.5,
"dmiDirection": "UP"
},
"warnings": []
}
7-Tier Signal System (NEW):
Legacy Signal Interpretation (backward compatible):
Divergence Types :
See references/indicators.md for detailed indicator explanations.
For rapid assessment of a single cryptocurrency:
1. Call coingecko_get_historical_chart for target coin (7-30 days)
2. Convert data using coingecko_converter
3. Run ta_analyzer.analyze_all()
4. Present scoreTotal and tradeSignal to user
To compare multiple cryptocurrencies:
1. Call coingecko_compare_coins for target coins
2. For each coin:
- Fetch historical chart data
- Run technical analysis
- Store results
3. Create comparison table with scores and signals
4. Identify strongest/weakest performers
For comprehensive assessment with context:
1. Fetch multiple timeframes (7d, 30d, 90d)
2. Run analysis on each timeframe
3. Check for signal agreement across timeframes
4. Review individual indicator signals for divergences
5. Cross-reference with market data (market cap, volume, dominance)
6. Provide detailed report with confidence levels
For ongoing market surveillance:
1. Fetch current data for watchlist
2. Run analysis on all coins
3. Filter for STRONG_UPTREND signals (score >= 7)
4. Rank by score descending
5. Present top opportunities with context
High Conviction Bullish (STRONG_BUY):
Breakout Setup :
Trend Exhaustion Warning :
Divergence-Based Reversal :
False Breakout :
Ichimoku Confirmation :
✅ Great for : Trend identification, medium-term signals, portfolio screening
✅ Good for : Entry/exit timing, risk assessment, comparative analysis
⚠️ Limited for : High-frequency trading, precise intraday timing, ranging markets
❌ Avoid for : News-driven moves, low-liquidity coins, extreme volatility events
Modify indicator weights based on market conditions:
Analyze same coin across multiple timeframes:
- 7 days (short-term trend)
- 30 days (medium-term trend)
- 90 days (long-term trend)
Strongest signals occur when all timeframes agree.
Analyze multiple coins in same sector to identify:
Cause : Insufficient data or flat price action
Solution : Fetch longer historical period or check data quality
Cause : Market in transition or ranging
Solution : Score will be neutral - wait for clearer direction
Cause : Indicators lag price, or news-driven move
Solution : Cross-reference with market context, recent news, volume
Cause : Insufficient data for indicator calculation
Solution : Fetch minimum 100 data points, preferably 200+
This skill is designed to work seamlessly with CoinGecko MCP tools:
Primary Tools Used :
coingecko_get_historical_chart - Main data sourcecoingecko_get_price - Quick current price checkscoingecko_compare_coins - Multi-coin analysiscoingecko_get_market_data - Context and validationWorkflow Integration :
Bitcoin Technical Analysis (7-day period)
📊 7-Tier Signal: STRONG_BUY
🎯 Confidence: 78%
💰 Current Price: $45,234.56 (+3.45% 24h)
📈 Volume Confirmation: 85%
Key Indicators:
✅ RSI: BUY (38.2 - healthy level, no divergence)
✅ MACD: BUY (bullish crossover, no divergence)
✅ Bollinger: BUY (price near upper band, no squeeze)
✅ OBV: BUY (volume confirms trend, no divergence)
✅ Ichimoku: BUY (price above cloud)
✅ Volume: ACCUMULATION (MFI bullish)
Warnings: None
Recommendation: Strong buy signal with volume confirmation.
No divergences or overbought conditions detected.
Top 5 Cryptocurrencies by Technical Score (30-day analysis)
1. Solana (SOL): 9.0 - STRONG_UPTREND
- All momentum indicators bullish
- Strong volume confirmation
2. Ethereum (ETH): 7.5 - STRONG_UPTREND
- Trending higher, minor overbought warning
3. Bitcoin (BTC): 5.0 - NEUTRAL
- Consolidating after recent move
4. Cardano (ADA): 2.5 - DOWNTREND
- Multiple bearish signals
5. XRP: 1.0 - DOWNTREND
- Weak momentum and volume
Weekly Installs
784
Repository
GitHub Stars
23
First Seen
Jan 23, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode679
gemini-cli670
codex657
cursor647
github-copilot638
kimi-cli617
DOCX文件创建、编辑与分析完整指南 - 使用docx-js、Pandoc和Python脚本
41,800 周安装