skills/gate-info-trendanalysis/SKILL.md
Trend and technical analysis. Use this skill ONLY when the user's query is exclusively about technical indicators or trend analysis for one coin with no other analysis dimensions. Trigger phrases: technical analysis, K-line, RSI, MACD, trend, support, resistance. If the query ALSO mentions fundamentals, risk, news, sentiment, or any other analysis dimension, use gate-info-research instead — it handles multi-dimension queries in a single unified report.
npx skillsauth add gate/gate-skills gate-info-trendanalysisInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
⚠️ STOP — You MUST read and strictly follow the shared runtime rules before proceeding.
Do NOT select or call any tool until all rules are read. These rules have the highest priority.
→ Read gate-runtime-rules.md
→ Also read info-news-runtime-rules.md for gate-info / gate-news-specific rules (tool degradation, report standards, security, routing degradation, and per-skill version checks when scripts/ is present).
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.
Per-skill updates: This skill may include scripts/update-skill.sh and, in full source trees, scripts/update-skill.ps1 for optional maintenance checks against the official Gate Skills repository. The shared policy is defined in info-news-runtime-rules.md.
Maintenance flow:
check only when you need to compare the installed skill with the official repo.check never rewrites files.update_available, ask the user before apply.apply rewrites only this skill's local directory under the active skills root.| MCP Server | Status | |------------|--------| | Gate-Info | ✅ Required |
Query Operations (Read-only)
gate-mcp-cursor-installergate-mcp-codex-installergate-mcp-claude-installergate-mcp-openclaw-installer| 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 gate-info-coinanalysis |
| Price only | "what's BTC price" | Call info_marketsnapshot_get_market_snapshot directly |
| Raw K-line data only | "BTC 30-day K-line" | Call info_markettrend_get_kline directly — no need for full Skill |
Before executing this Skill, check if the user's query involves multiple analysis dimensions:
gate-info-research — it handles multi-dimension queries with unified tool deduplication and coherent report aggregation.Extract from user input:
symbol: Coin ticker (BTC, ETH, SOL, etc.)timeframe: Analysis timeframe (e.g., "daily" → 1d, "4-hour" → 4h; default: 1d)indicators: Specific indicators the user cares about (e.g., "RSI", "MACD"; default: all)period: K-line lookback days (default: 90)| Step | MCP Tool | Parameters | Retrieved Data | Parallel |
|------|----------|------------|----------------|----------|
| 1a | info_markettrend_get_kline | symbol={symbol}, timeframe={timeframe}, limit=90 | K-line OHLCV data (default 90 bars) | Yes |
| 1b | info_markettrend_get_indicator_history | symbol={symbol}, indicators=["rsi","macd","bollinger","ma"], timeframe={timeframe} | Technical indicator history | Yes |
| 1c | info_markettrend_get_technical_analysis | symbol={symbol} | Multi-timeframe composite signals (1h/4h/1d/1w) | Yes |
| 1d | info_marketsnapshot_get_market_snapshot | symbol={symbol}, timeframe="1d", source="spot" | Real-time market snapshot (price, volume, OI, funding rate) | Yes |
All 4 Tools are called in parallel.
The LLM performs technical analysis on the raw data, completing the following reasoning:
## {symbol} Technical Analysis Report
> Analysis time: {timestamp} | Primary timeframe: {timeframe}
### 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) |
### 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)}
### 3. Technical Indicator Details
#### 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?}
#### MACD
| Timeframe | DIF | DEA | Histogram | Status |
|-----------|-----|-----|-----------|--------|
| 1h | {dif} | {dea} | {histogram} | {Golden Cross/Death Cross/Above Zero/Below Zero} |
| 4h | ... | ... | ... | ... |
| 1d | ... | ... | ... | ... |
#### 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}
### 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} |
### 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"}
### 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
### 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.
| 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" |
| 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 |
| User Follow-up Intent | Route To |
|-----------------------|----------|
| "What about fundamentals?" / "Full analysis" | gate-info-coinanalysis |
| "Why is it pumping/dumping?" | gate-news-eventexplain |
| "On-chain chip analysis" | gate-info-tokenonchain |
| "Compare XX and YY" | gate-info-coincompare |
| "Recent news?" | gate-news-briefing |
tools
Exchange listing tracker. Use this skill whenever the user asks about exchange listing, delisting, or maintenance announcements. Trigger phrases include: any new coins listed recently, what did Binance list, new listings, delisted. MCP tools: news_feed_get_exchange_announcements, info_coin_get_coin_info, info_marketsnapshot_get_market_snapshot.
testing
Event attribution and explanation. Use this skill ONLY when the user's query is exclusively about the reason behind a price move with no other analysis dimensions. Trigger phrases: why did X crash, what just happened, why is it pumping, what caused. If the query ALSO mentions fundamentals, risk check, technicals, or any other analysis dimension, use gate-info-research instead — it handles multi-dimension queries in a single unified report.
tools
Community sentiment via Gate-News MCP, X/Twitter-first. Use for social discussion, KOL takes, or opinion on a coin or topic. Triggers: what does the community think about ETH, Twitter or X sentiment, what are people saying, KOL opinions. Reddit, Discord, Telegram when search_ugc is available; until then label output as X/Twitter-only. Tools: news_feed_search_x, news_feed_get_social_sentiment.
testing
News briefing. Use this skill ONLY when the user's query is exclusively about recent news or headlines with no other analysis dimensions. Trigger phrases: what happened recently, today's highlights, crypto news, any new updates. If the query ALSO mentions coin analysis, risk check, technicals, or any other analysis dimension, use gate-info-research instead — it handles multi-dimension queries in a single unified report.