gate-info-trendanalysis
General Rules
⚠️ 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 shared rules (tool degradation, report standards, security, routing, and optional local maintenance when scripts/ is present).
- Only call MCP tools explicitly listed in this skill. Tools not documented here must NOT be called, even if they
exist in the MCP server.
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.
Local maintenance (optional, repository copy only):
- If
scripts/update-skill.* exists in the repository copy, check may compare the installed copy with the packaged skill source used by the current install.
- Ask the user before
apply.
apply updates files within this skill directory only.
MCP Dependencies
Required MCP Servers
| MCP Server |
Status |
| Gate-Info |
✅ Required |
MCP Tools Used
Query Operations (Read-only)
- info_marketsnapshot_get_market_snapshot
- info_markettrend_get_indicator_history
- info_markettrend_get_kline
- info_markettrend_get_technical_analysis
Authentication
- API Key Required: No
- Credentials Source: None; this skill uses read-only Gate Info / Gate News MCP access only.
Installation Check
- Required: Gate-Info
- Install: Use the local Gate MCP installation flow for the current host IDE before continuing.
- Continue only after the required Gate MCP server is available in the current environment.
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 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 |
Execution Workflow
Step 0: Multi-Dimension Intent Check
Before executing this Skill, check if the user's query involves multiple analysis dimensions:
- If the query is exclusively about technical indicators or trend analysis for one coin, proceed with this Skill.
- If the query also mentions fundamentals, risk, news, sentiment, or any other analysis dimension beyond technicals, route to
gate-info-research — it handles multi-dimension queries with unified tool deduplication and coherent report aggregation.
Step 1: Intent Recognition & Parameter Extraction
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 2: Call 4 MCP Tools in Parallel
| 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.
Step 3: LLM Analysis
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
Step 4: Output Structured Report
Report Template
## {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.
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" |
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 |
Cross-Skill Routing
| 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 |
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
1---2name: gate-info-trendanalysis3description: 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.4---56# gate-info-trendanalysis78## General Rules910⚠️ STOP — You MUST read and strictly follow the shared runtime rules before proceeding.11Do NOT select or call any tool until all rules are read. These rules have the highest priority.12→ Read `../gate-runtime-rules.md`13→ Also read `../info-news-runtime-rules.md` for gate-info / gate-news shared rules (tool degradation, report standards, security, routing, and optional local maintenance when `scripts/` is present).14- **Only call MCP tools explicitly listed in this skill.** Tools not documented here must NOT be called, even if they15 exist in the MCP server.1617> 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.1819**Trigger Scenarios**: User explicitly mentions technical analysis, K-line, indicators, trend, support/resistance, or similar keywords.2021**Local maintenance (optional, repository copy only):**22- If `scripts/update-skill.*` exists in the repository copy, `check` may compare the installed copy with the packaged skill source used by the current install.23- Ask the user before `apply`.24- `apply` updates files within this skill directory only.2526---2728## MCP Dependencies2930### Required MCP Servers31| MCP Server | Status |32|------------|--------|33| Gate-Info | ✅ Required |3435### MCP Tools Used3637**Query Operations (Read-only)**3839- info_marketsnapshot_get_market_snapshot40- info_markettrend_get_indicator_history41- info_markettrend_get_kline42- info_markettrend_get_technical_analysis4344### Authentication45- API Key Required: No46- Credentials Source: None; this skill uses read-only Gate Info / Gate News MCP access only.4748### Installation Check49- Required: Gate-Info50- Install: Use the local Gate MCP installation flow for the current host IDE before continuing.51- Continue only after the required Gate MCP server is available in the current environment.5253## Routing Rules5455| User Intent | Keywords | Action |56|-------------|----------|--------|57| Technical analysis | "technical analysis" "K-line" "RSI" "MACD" "Bollinger" "moving average" "support" "resistance" "trend" | Execute this Skill's full workflow |58| Comprehensive analysis (incl. fundamentals) | "analyze BTC for me" | Route to `gate-info-coinanalysis` |59| Price only | "what's BTC price" | Call `info_marketsnapshot_get_market_snapshot` directly |60| Raw K-line data only | "BTC 30-day K-line" | Call `info_markettrend_get_kline` directly — no need for full Skill |6162---6364## Execution Workflow6566### Step 0: Multi-Dimension Intent Check6768Before executing this Skill, check if the user's query involves multiple analysis dimensions:6970- If the query is exclusively about technical indicators or trend analysis for one coin, proceed with this Skill.71- If the query **also** mentions fundamentals, risk, news, sentiment, or any other analysis dimension beyond technicals, route to `gate-info-research` — it handles multi-dimension queries with unified tool deduplication and coherent report aggregation.7273### Step 1: Intent Recognition & Parameter Extraction7475Extract from user input:76- `symbol`: Coin ticker (BTC, ETH, SOL, etc.)77- `timeframe`: Analysis timeframe (e.g., "daily" → 1d, "4-hour" → 4h; default: 1d)78- `indicators`: Specific indicators the user cares about (e.g., "RSI", "MACD"; default: all)79- `period`: K-line lookback days (default: 90)8081### Step 2: Call 4 MCP Tools in Parallel8283| Step | MCP Tool | Parameters | Retrieved Data | Parallel |84|------|----------|------------|----------------|----------|85| 1a | `info_markettrend_get_kline` | `symbol={symbol}, timeframe={timeframe}, limit=90` | K-line OHLCV data (default 90 bars) | Yes |86| 1b | `info_markettrend_get_indicator_history` | `symbol={symbol}, indicators=["rsi","macd","bollinger","ma"], timeframe={timeframe}` | Technical indicator history | Yes |87| 1c | `info_markettrend_get_technical_analysis` | `symbol={symbol}` | Multi-timeframe composite signals (1h/4h/1d/1w) | Yes |88| 1d | `info_marketsnapshot_get_market_snapshot` | `symbol={symbol}, timeframe="1d", source="spot"` | Real-time market snapshot (price, volume, OI, funding rate) | Yes |8990> All 4 Tools are called in parallel.9192### Step 3: LLM Analysis9394The LLM performs technical analysis on the raw data, completing the following reasoning:951. Identify trend from candlestick patterns (uptrend / downtrend / sideways channel)962. Combine indicator history to assess current position (overbought / oversold / neutral)973. Evaluate multi-timeframe signal alignment or divergence984. Identify key support and resistance levels99100### Step 4: Output Structured Report101102---103104## Report Template105106```markdown107## {symbol} Technical Analysis Report108109> Analysis time: {timestamp} | Primary timeframe: {timeframe}110111### 1. Current Market Snapshot112113| Metric | Value |114|--------|-------|115| Price | ${price} |116| 24h Change | {change_24h}% |117| 24h Volume | ${volume_24h} |118| 24h High | ${high_24h} |119| 24h Low | ${low_24h} |120| Open Interest | ${oi} (if available) |121| Funding Rate | {funding_rate}% (if available) |122123### 2. Trend Assessment124125**Overall Trend**: {Uptrend / Downtrend / Sideways / Trend Reversal}126127{Trend analysis based on candlestick patterns and MA alignment:}128- MA7 / MA25 / MA99 alignment: {Bullish / Bearish / Tangled}129- Recent candlestick patterns: {Bullish Engulfing / Doji / Hammer / etc.} (if notable)130- Volume confirmation: {Rising volume + price up (healthy) / Declining volume + price up (weak momentum) / Rising volume + price down (accelerated selling)}131132### 3. Technical Indicator Details133134#### RSI (14)135| Timeframe | Value | Status |136|-----------|-------|--------|137| 1h | {rsi_1h} | {Overbought/Oversold/Neutral} |138| 4h | {rsi_4h} | {Overbought/Oversold/Neutral} |139| 1d | {rsi_1d} | {Overbought/Oversold/Neutral} |140141{RSI divergence analysis: any bullish/bearish divergence present?}142143#### MACD144| Timeframe | DIF | DEA | Histogram | Status |145|-----------|-----|-----|-----------|--------|146| 1h | {dif} | {dea} | {histogram} | {Golden Cross/Death Cross/Above Zero/Below Zero} |147| 4h | ... | ... | ... | ... |148| 1d | ... | ... | ... | ... |149150#### Bollinger Bands (20, 2)151| Metric | Value |152|--------|-------|153| Upper Band | ${upper} |154| Middle Band | ${middle} |155| Lower Band | ${lower} |156| Bandwidth | {bandwidth}% |157| Current Position | {price relative to bands + percentile} |158159{Narrowing bands → breakout imminent; price touching upper band → potential pullback to middle; touching lower band → potential bounce}160161### 4. Key Price Levels162163| Type | Price | Basis |164|------|-------|-------|165| Strong Resistance | ${resistance_1} | {Previous high / MA99 / Upper Bollinger / Round number} |166| Weak Resistance | ${resistance_2} | ... |167| Weak Support | ${support_1} | ... |168| Strong Support | ${support_2} | {Previous low / MA99 / Lower Bollinger / Volume profile cluster} |169170### 5. Multi-Timeframe Signal Summary171172| Timeframe | Composite Signal | Bullish Indicators | Bearish Indicators |173|-----------|-----------------|--------------------|--------------------|174| 1h | {Strong Buy/Buy/Neutral/Sell/Strong Sell} | {count} | {count} |175| 4h | ... | ... | ... |176| 1d | ... | ... | ... |177| 1w | ... | ... | ... |178179**Signal Consistency**: {Are multi-timeframe signals aligned? e.g., "Short-term bearish but medium/long-term bullish — divergence present"}180181### 6. Overall Technical Assessment182183{LLM generates a comprehensive assessment:}184- Current trend strength evaluation185- Short-term (1-3 day) likely direction186- Medium-term (1-2 week) likely direction187- Key observation: a break above ${resistance_1} opens upside; a break below ${support_2} signals trend weakening188189### Risk Warnings190191{Data-driven risk alerts}192193> Technical analysis is based on historical data and cannot predict future price movements. This does not constitute investment advice.194```195196---197198## Decision Logic199200| Condition | Assessment |201|-----------|------------|202| RSI > 70 (multi-timeframe consistent) | "Multi-timeframe RSI overbought — high pullback probability" |203| RSI < 30 (multi-timeframe consistent) | "Multi-timeframe RSI oversold — high bounce probability" |204| MACD daily golden cross + 4h golden cross | "MACD multi-timeframe golden cross confirmed — bullish signal" |205| MACD daily death cross + 4h death cross | "MACD multi-timeframe death cross confirmed — bearish signal" |206| Bollinger bandwidth < 5% | "Extreme Bollinger squeeze — breakout imminent" |207| Price breaks above upper Bollinger | "Short-term overextended — potential pullback to middle band" |208| MA7 > MA25 > MA99 | "Bullish MA alignment" |209| MA7 < MA25 < MA99 | "Bearish MA alignment" |210| 3 consecutive days of rising volume + price up | "Rising volume rally — healthy trend" |211| Declining volume + price up | "Low-volume rally — watch for weakening momentum" |212| Short-term vs medium/long-term signals diverge | Flag "Bull/bear divergence — awaiting directional resolution" |213| funding_rate > 0.1% | "Extreme long crowding in futures — risk of long squeeze" |214| Any Tool returns empty/error | Skip that indicator analysis; note "Data unavailable" |215216---217218## Error Handling219220| Error Type | Handling |221|------------|----------|222| Coin does not exist | Prompt user to verify the coin name |223| info_markettrend_get_kline insufficient data | Reduce lookback period or switch to larger timeframe; note limited data |224| info_markettrend_get_technical_analysis fails | Derive signals from K-line and indicator history manually; label "Composite signal manually derived" |225| info_markettrend_get_indicator_history partial indicators missing | Display available indicators; note missing ones as "temporarily unavailable" |226| All Tools fail | Return error message; suggest the user try again later |227228---229230## Cross-Skill Routing231232| User Follow-up Intent | Route To |233|-----------------------|----------|234| "What about fundamentals?" / "Full analysis" | `gate-info-coinanalysis` |235| "Why is it pumping/dumping?" | `gate-news-eventexplain` |236| "On-chain chip analysis" | `gate-info-tokenonchain` |237| "Compare XX and YY" | `gate-info-coincompare` |238| "Recent news?" | `gate-news-briefing` |239240---241242## Safety Rules2432441. **No trading advice**: Do not output "recommend going long/short" or "buy at XX"2452. **No specific price predictions**: Do not output "will rise to XX tomorrow" or "target price XX"2463. **Acknowledge limitations**: Clearly state that technical analysis is based on historical data and may fail2474. **Data transparency**: Label K-line data range and indicator parameter settings2485. **Flag missing data**: When indicators are unavailable, explicitly state it — never fabricate values