gate-info-trendanalysis
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesegate-info-trendanalysis
gate-info-trendanalysis
A technicals-focused Skill. The user inputs a coin name + technical analysis intent; the system calls 4 Tools (K-line data, indicator history, multi-timeframe signals, real-time market snapshot) in parallel, then the LLM aggregates into a multi-dimensional technical analysis report.
Trigger Scenarios: User explicitly mentions technical analysis, K-line, indicators, trend, support/resistance, or similar keywords.
一款专注于技术分析的Skill。用户输入币种名称+技术分析需求,系统将并行调用4个工具(K线数据、指标历史数据、多时间周期信号、实时市场快照),随后由LLM整合为一份多维度的技术分析报告。
触发场景:用户明确提及technical analysis、K线、指标、趋势、支撑/阻力位或类似关键词。
Routing Rules
路由规则
| User Intent | Keywords | Action |
|---|---|---|
| Technical analysis | "technical analysis" "K-line" "RSI" "MACD" "Bollinger" "moving average" "support" "resistance" "trend" | Execute this Skill's full workflow |
| Comprehensive analysis (incl. fundamentals) | "analyze BTC for me" | Route to |
| Price only | "what's BTC price" | Call |
| Raw K-line data only | "BTC 30-day K-line" | Call |
| 用户意图 | 关键词 | 操作 |
|---|---|---|
| 技术分析 | "technical analysis" "K-line" "RSI" "MACD" "Bollinger" "moving average" "support" "resistance" "trend" | 执行此Skill的完整工作流 |
| 综合分析(含基本面) | "帮我分析BTC" | 路由至 |
| 仅查询价格 | "BTC价格是多少" | 直接调用 |
| 仅查询原始K线数据 | "BTC 30日K线" | 直接调用 |
Execution Workflow
执行工作流
Step 1: Intent Recognition & Parameter Extraction
步骤1:意图识别与参数提取
Extract from user input:
- : Coin ticker (BTC, ETH, SOL, etc.)
symbol - : Analysis timeframe (e.g., "daily" → 1d, "4-hour" → 4h; default: 1d)
timeframe - : Specific indicators the user cares about (e.g., "RSI", "MACD"; default: all)
indicators - : K-line lookback days (default: 90)
period
从用户输入中提取:
- : 币种代码(BTC、ETH、SOL等)
symbol - : 分析时间周期(例如:"daily" → 1d,"4-hour" → 4h;默认值:1d)
timeframe - : 用户关注的特定指标(例如:"RSI"、"MACD";默认值:全部)
indicators - : K线回溯天数(默认值:90)
period
Step 2: Call 4 MCP Tools in Parallel
步骤2:并行调用4个MCP工具
| Step | MCP Tool | Parameters | Retrieved Data | Parallel |
|---|---|---|---|---|
| 1a | | | K-line OHLCV data (default 90 bars) | Yes |
| 1b | | | Technical indicator history | Yes |
| 1c | | | Multi-timeframe composite signals (1h/4h/1d/1w) | Yes |
| 1d | | | Real-time market snapshot (price, volume, OI, funding rate) | Yes |
All 4 Tools are called in parallel.
| 步骤 | MCP工具 | 参数 | 获取的数据 | 是否并行 |
|---|---|---|---|---|
| 1a | | | K线OHLCV数据(默认90根K线) | 是 |
| 1b | | | 技术指标历史数据 | 是 |
| 1c | | | 多时间周期综合信号(1h/4h/1d/1w) | 是 |
| 1d | | | 实时市场快照(价格、成交量、持仓量、资金费率) | 是 |
所有4个工具均为并行调用。
Step 3: LLM Analysis
步骤3:LLM分析
The LLM performs technical analysis on the raw data, completing the following reasoning:
- Identify trend from candlestick patterns (uptrend / downtrend / sideways channel)
- Combine indicator history to assess current position (overbought / oversold / neutral)
- Evaluate multi-timeframe signal alignment or divergence
- Identify key support and resistance levels
LLM将对原始数据进行技术分析,完成以下推理:
- 通过K线形态识别趋势(上涨趋势 / 下跌趋势 / 横盘整理)
- 结合指标历史数据评估当前状态(超买 / 超卖 / 中性)
- 评估多时间周期信号的一致性或背离情况
- 识别关键支撑位和阻力位
Step 4: Output Structured Report
步骤4:输出结构化报告
Report Template
报告模板
markdown
undefinedmarkdown
undefined{symbol} Technical Analysis Report
{symbol} Technical Analysis Report
Analysis time: {timestamp} | Primary timeframe: {timeframe}
Analysis time: {timestamp} | Primary timeframe: {timeframe}
1. Current Market Snapshot
1. Current Market Snapshot
| Metric | Value |
|---|---|
| Price | ${price} |
| 24h Change | {change_24h}% |
| 24h Volume | ${volume_24h} |
| 24h High | ${high_24h} |
| 24h Low | ${low_24h} |
| Open Interest | ${oi} (if available) |
| Funding Rate | {funding_rate}% (if available) |
| Metric | Value |
|---|---|
| Price | ${price} |
| 24h Change | {change_24h}% |
| 24h Volume | ${volume_24h} |
| 24h High | ${high_24h} |
| 24h Low | ${low_24h} |
| Open Interest | ${oi} (if available) |
| Funding Rate | {funding_rate}% (if available) |
2. Trend Assessment
2. Trend Assessment
Overall Trend: {Uptrend / Downtrend / Sideways / Trend Reversal}
{Trend analysis based on candlestick patterns and MA alignment:}
- MA7 / MA25 / MA99 alignment: {Bullish / Bearish / Tangled}
- Recent candlestick patterns: {Bullish Engulfing / Doji / Hammer / etc.} (if notable)
- Volume confirmation: {Rising volume + price up (healthy) / Declining volume + price up (weak momentum) / Rising volume + price down (accelerated selling)}
Overall Trend: {Uptrend / Downtrend / Sideways / Trend Reversal}
{Trend analysis based on candlestick patterns and MA alignment:}
- MA7 / MA25 / MA99 alignment: {Bullish / Bearish / Tangled}
- Recent candlestick patterns: {Bullish Engulfing / Doji / Hammer / etc.} (if notable)
- Volume confirmation: {Rising volume + price up (healthy) / Declining volume + price up (weak momentum) / Rising volume + price down (accelerated selling)}
3. Technical Indicator Details
3. Technical Indicator Details
RSI (14)
RSI (14)
| Timeframe | Value | Status |
|---|---|---|
| 1h | {rsi_1h} | {Overbought/Oversold/Neutral} |
| 4h | {rsi_4h} | {Overbought/Oversold/Neutral} |
| 1d | {rsi_1d} | {Overbought/Oversold/Neutral} |
{RSI divergence analysis: any bullish/bearish divergence present?}
| Timeframe | Value | Status |
|---|---|---|
| 1h | {rsi_1h} | {Overbought/Oversold/Neutral} |
| 4h | {rsi_4h} | {Overbought/Oversold/Neutral} |
| 1d | {rsi_1d} | {Overbought/Oversold/Neutral} |
{RSI divergence analysis: any bullish/bearish divergence present?}
MACD
MACD
| Timeframe | DIF | DEA | Histogram | Status |
|---|---|---|---|---|
| 1h | {dif} | {dea} | {histogram} | {Golden Cross/Death Cross/Above Zero/Below Zero} |
| 4h | ... | ... | ... | ... |
| 1d | ... | ... | ... | ... |
| Timeframe | DIF | DEA | Histogram | Status |
|---|---|---|---|---|
| 1h | {dif} | {dea} | {histogram} | {Golden Cross/Death Cross/Above Zero/Below Zero} |
| 4h | ... | ... | ... | ... |
| 1d | ... | ... | ... | ... |
Bollinger Bands (20, 2)
Bollinger Bands (20, 2)
| Metric | Value |
|---|---|
| Upper Band | ${upper} |
| Middle Band | ${middle} |
| Lower Band | ${lower} |
| Bandwidth | {bandwidth}% |
| Current Position | {price relative to bands + percentile} |
{Narrowing bands → breakout imminent; price touching upper band → potential pullback to middle; touching lower band → potential bounce}
| Metric | Value |
|---|---|
| Upper Band | ${upper} |
| Middle Band | ${middle} |
| Lower Band | ${lower} |
| Bandwidth | {bandwidth}% |
| Current Position | {price relative to bands + percentile} |
{Narrowing bands → breakout imminent; price touching upper band → potential pullback to middle; touching lower band → potential bounce}
4. Key Price Levels
4. Key Price Levels
| Type | Price | Basis |
|---|---|---|
| Strong Resistance | ${resistance_1} | {Previous high / MA99 / Upper Bollinger / Round number} |
| Weak Resistance | ${resistance_2} | ... |
| Weak Support | ${support_1} | ... |
| Strong Support | ${support_2} | {Previous low / MA99 / Lower Bollinger / Volume profile cluster} |
| Type | Price | Basis |
|---|---|---|
| Strong Resistance | ${resistance_1} | {Previous high / MA99 / Upper Bollinger / Round number} |
| Weak Resistance | ${resistance_2} | ... |
| Weak Support | ${support_1} | ... |
| Strong Support | ${support_2} | {Previous low / MA99 / Lower Bollinger / Volume profile cluster} |
5. Multi-Timeframe Signal Summary
5. Multi-Timeframe Signal Summary
| Timeframe | Composite Signal | Bullish Indicators | Bearish Indicators |
|---|---|---|---|
| 1h | {Strong Buy/Buy/Neutral/Sell/Strong Sell} | {count} | {count} |
| 4h | ... | ... | ... |
| 1d | ... | ... | ... |
| 1w | ... | ... | ... |
Signal Consistency: {Are multi-timeframe signals aligned? e.g., "Short-term bearish but medium/long-term bullish — divergence present"}
| Timeframe | Composite Signal | Bullish Indicators | Bearish Indicators |
|---|---|---|---|
| 1h | {Strong Buy/Buy/Neutral/Sell/Strong Sell} | {count} | {count} |
| 4h | ... | ... | ... |
| 1d | ... | ... | ... |
| 1w | ... | ... | ... |
Signal Consistency: {Are multi-timeframe signals aligned? e.g., "Short-term bearish but medium/long-term bullish — divergence present"}
6. Overall Technical Assessment
6. Overall Technical Assessment
{LLM generates a comprehensive assessment:}
- Current trend strength evaluation
- Short-term (1-3 day) likely direction
- Medium-term (1-2 week) likely direction
- Key observation: a break above ${resistance_1} opens upside; a break below ${support_2} signals trend weakening
{LLM generates a comprehensive assessment:}
- Current trend strength evaluation
- Short-term (1-3 day) likely direction
- Medium-term (1-2 week) likely direction
- Key observation: a break above ${resistance_1} opens upside; a break below ${support_2} signals trend weakening
Risk Warnings
Risk Warnings
{Data-driven risk alerts}
Technical analysis is based on historical data and cannot predict future price movements. This does not constitute investment advice.
---{Data-driven risk alerts}
Technical analysis is based on historical data and cannot predict future price movements. This does not constitute investment advice.
---Decision Logic
决策逻辑
| Condition | Assessment |
|---|---|
| RSI > 70 (multi-timeframe consistent) | "Multi-timeframe RSI overbought — high pullback probability" |
| RSI < 30 (multi-timeframe consistent) | "Multi-timeframe RSI oversold — high bounce probability" |
| MACD daily golden cross + 4h golden cross | "MACD multi-timeframe golden cross confirmed — bullish signal" |
| MACD daily death cross + 4h death cross | "MACD multi-timeframe death cross confirmed — bearish signal" |
| Bollinger bandwidth < 5% | "Extreme Bollinger squeeze — breakout imminent" |
| Price breaks above upper Bollinger | "Short-term overextended — potential pullback to middle band" |
| MA7 > MA25 > MA99 | "Bullish MA alignment" |
| MA7 < MA25 < MA99 | "Bearish MA alignment" |
| 3 consecutive days of rising volume + price up | "Rising volume rally — healthy trend" |
| Declining volume + price up | "Low-volume rally — watch for weakening momentum" |
| Short-term vs medium/long-term signals diverge | Flag "Bull/bear divergence — awaiting directional resolution" |
| funding_rate > 0.1% | "Extreme long crowding in futures — risk of long squeeze" |
| Any Tool returns empty/error | Skip that indicator analysis; note "Data unavailable" |
| 条件 | 评估结论 |
|---|---|
| 多时间周期RSI均>70 | "多时间周期RSI超买 — 回调概率高" |
| 多时间周期RSI均<30 | "多时间周期RSI超卖 — 反弹概率高" |
| 日线MACD金叉 + 4小时MACD金叉 | "MACD多时间周期金叉确认 — 看涨信号" |
| 日线MACD死叉 + 4小时MACD死叉 | "MACD多时间周期死叉确认 — 看跌信号" |
| 布林带带宽<5% | "布林带极度收敛 — 即将出现突破行情" |
| 价格突破布林带上轨 | "短期超涨 — 可能回调至中轨" |
| MA7 > MA25 > MA99 | "均线多头排列" |
| MA7 < MA25 < MA99 | "均线空头排列" |
| 连续3日价涨量增 | "量价齐升 — 趋势健康" |
| 价涨量缩 | "无量上涨 — 需警惕动能减弱" |
| 短期信号与中长期信号背离 | 标记为"多空信号背离 — 等待方向明确" |
| funding_rate > 0.1% | "期货多头持仓拥挤 — 存在多头踩踏风险" |
| 任意工具返回空值/错误 | 跳过该指标分析;标注"数据不可用" |
Error Handling
错误处理
| Error Type | Handling |
|---|---|
| Coin does not exist | Prompt user to verify the coin name |
| info_markettrend_get_kline insufficient data | Reduce lookback period or switch to larger timeframe; note limited data |
| info_markettrend_get_technical_analysis fails | Derive signals from K-line and indicator history manually; label "Composite signal manually derived" |
| info_markettrend_get_indicator_history partial indicators missing | Display available indicators; note missing ones as "temporarily unavailable" |
| All Tools fail | Return error message; suggest the user try again later |
| 错误类型 | 处理方式 |
|---|---|
| 币种不存在 | 提示用户核实币种名称 |
| info_markettrend_get_kline数据不足 | 缩短回溯周期或切换至更大时间周期;标注数据有限 |
| info_markettrend_get_technical_analysis调用失败 | 手动从K线和指标历史数据推导信号;标注"综合信号为手动推导" |
| info_markettrend_get_indicator_history部分指标缺失 | 展示可用指标;标注缺失指标为"暂时不可用" |
| 所有工具调用失败 | 返回错误提示;建议用户稍后重试 |
Cross-Skill Routing
跨Skill路由
| User Follow-up Intent | Route To |
|---|---|
| "What about fundamentals?" / "Full analysis" | |
| "Why is it pumping/dumping?" | |
| "On-chain chip analysis" | |
| "Compare XX and YY" | |
| "Recent news?" | |
| 用户后续意图 | 路由至 |
|---|---|
| "基本面情况如何?" / "完整分析" | |
| "为什么暴涨/暴跌?" | |
| "链上筹码分析" | |
| "对比XX和YY" | |
| "近期新闻?" | |
Safety Rules
安全规则
- No trading advice: Do not output "recommend going long/short" or "buy at XX"
- No specific price predictions: Do not output "will rise to XX tomorrow" or "target price XX"
- Acknowledge limitations: Clearly state that technical analysis is based on historical data and may fail
- Data transparency: Label K-line data range and indicator parameter settings
- Flag missing data: When indicators are unavailable, explicitly state it — never fabricate values
- 禁止提供交易建议:不得输出"建议做多/做空"或"在XX价位买入"等内容
- 禁止给出具体价格预测:不得输出"明日将涨至XX"或"目标价位XX"等内容
- 明确告知局限性:需清晰说明技术分析基于历史数据,无法预测未来价格走势
- 数据透明:标注K线数据范围和指标参数设置
- 标注缺失数据:当指标不可用时,需明确说明 — 严禁编造数据