TA Analyzer - Technical Analysis Skill
A comprehensive technical analysis skill that fetches real-time market data and calculates 20+ technical indicators.
Features
Price Data
- - Fetches OHLCV data from Binance via CCXT
- Supports multiple timeframes: 15m, 1h, 4h, 1d
- Multi-timeframe analysis for better signal confirmation
Technical Indicators
Trend Indicators
- - EMA (9, 21, 50)
- SMA (20, 50)
- MACD (12, 26, 9)
- Supertrend
Momentum Indicators
- - RSI (14)
- Stochastic (14, 3, 3)
- Williams %R (14)
- ADX (14)
- MFI (14)
- CCI (20)
Volatility Indicators
- - Bollinger Bands (20, 2)
- ATR (14)
- Keltner Channel
- Donchian Channel
Volume Indicators
- - OBV
- Volume SMA
- Volume analysis (healthy/divergence)
Support/Resistance
- - Auto-detect local highs/lows
- Cluster nearby levels
- Calculate nearest support/resistance
Chart Patterns
Single Candle Patterns
- - Hammer
- Shooting Star
- Doji
Multi-Candle Patterns
- - Engulfing (Bullish/Bearish)
- Morning/Evening Star
- Double Top/Bottom
- Head & Shoulders
- Triangle (ascending/descending/symmetrical)
- Flag
Fibonacci & Pivot Points
- - Fibonacci Retracements (0.236, 0.382, 0.5, 0.618, 0.786)
- Classic Pivot Points (PP, R1-R3, S1-S3)
- VWAP
Usage
CODEBLOCK0
Output
The skill returns comprehensive analysis including:
- - Current price and trend
- All indicator values
- Detected patterns
- Buy/Sell recommendations
- Stop loss and take profit levels
Use Cases
- - "Analyze BTC"
- "What's the RSI of ETH?"
- "Is there a bullish divergence on 4h?"
- "What are the support levels?"
- "Should I buy or sell?"
Author: Lucifer (路西法)
Created: 2026-03-05
Version: 1.0.0
TA分析器 - 技术分析技能
一项全面的技术分析技能,可获取实时市场数据并计算20余种技术指标。
功能特性
价格数据
- - 通过CCXT从币安获取OHLCV数据
- 支持多时间周期:15分钟、1小时、4小时、1天
- 多时间周期分析,实现更可靠的信号确认
技术指标
趋势指标
- - 指数移动平均线(9, 21, 50)
- 简单移动平均线(20, 50)
- 指数平滑异同移动平均线(12, 26, 9)
- 超级趋势指标
动量指标
- - 相对强弱指标(14)
- 随机指标(14, 3, 3)
- 威廉指标(14)
- 平均趋向指数(14)
- 资金流量指数(14)
- 商品通道指数(20)
波动性指标
- - 布林带(20, 2)
- 平均真实波幅(14)
- 肯特纳通道
- 唐奇安通道
成交量指标
- - 平衡交易量
- 成交量简单移动平均线
- 成交量分析(健康/背离)
支撑/阻力位
- - 自动检测局部高点和低点
- 聚类相近水平位
- 计算最近支撑位/阻力位
图表形态
单根K线形态
多根K线形态
- - 吞没形态(看涨/看跌)
- 晨星/黄昏星
- 双顶/双底
- 头肩顶/底
- 三角形(上升/下降/对称)
- 旗形
斐波那契与枢轴点
- - 斐波那契回调位(0.236, 0.382, 0.5, 0.618, 0.786)
- 经典枢轴点(PP, R1-R3, S1-S3)
- 成交量加权平均价格
使用方法
javascript
const { analyze } = require(./index.js);
// 分析所有时间周期的BTC
const result = await analyze(BTC/USDT);
// 分析特定时间周期
const { analyzeTimeframe } = require(./index.js);
const result = await analyzeTimeframe(BTC/USDT, 1h, 100);
输出结果
该技能返回全面的分析结果,包括:
- - 当前价格和趋势
- 所有指标数值
- 检测到的形态
- 买入/卖出建议
- 止损和止盈水平
使用场景
- - 分析BTC
- ETH的RSI是多少?
- 4小时图上是否存在看涨背离?
- 支撑位在哪里?
- 我应该买入还是卖出?
作者:Lucifer(路西法)
创建日期:2026-03-05
版本:1.0.0