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.
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 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-trendanalysis-23description: Trend and technical analysis. Use this skill whenever the user asks for technical or trend analysis of one coin. Trigger phrases include: technical analysis, K-line, RSI, MACD, trend, support, resistance. MCP tools: info_markettrend_get_kline, info_markettrend_get_indicator_history, info_markettrend_get_technical_analysis, info_marketsnapshot_get_market_snapshot.4---56# gate-info-trendanalysis78> 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.910**Trigger Scenarios**: User explicitly mentions technical analysis, K-line, indicators, trend, support/resistance, or similar keywords.1112---1314## Routing Rules1516| User Intent | Keywords | Action |17|-------------|----------|--------|18| Technical analysis | "technical analysis" "K-line" "RSI" "MACD" "Bollinger" "moving average" "support" "resistance" "trend" | Execute this Skill's full workflow |19| Comprehensive analysis (incl. fundamentals) | "analyze BTC for me" | Route to `gate-info-coinanalysis` |20| Price only | "what's BTC price" | Call `info_marketsnapshot_get_market_snapshot` directly |21| Raw K-line data only | "BTC 30-day K-line" | Call `info_markettrend_get_kline` directly — no need for full Skill |2223---2425## Execution Workflow2627### Step 1: Intent Recognition & Parameter Extraction2829Extract from user input:30- `symbol`: Coin ticker (BTC, ETH, SOL, etc.)31- `timeframe`: Analysis timeframe (e.g., "daily" → 1d, "4-hour" → 4h; default: 1d)32- `indicators`: Specific indicators the user cares about (e.g., "RSI", "MACD"; default: all)33- `period`: K-line lookback days (default: 90)3435### Step 2: Call 4 MCP Tools in Parallel3637| Step | MCP Tool | Parameters | Retrieved Data | Parallel |38|------|----------|------------|----------------|----------|39| 1a | `info_markettrend_get_kline` | `symbol={symbol}, timeframe={timeframe}, limit=90` | K-line OHLCV data (default 90 bars) | Yes |40| 1b | `info_markettrend_get_indicator_history` | `symbol={symbol}, indicators=["rsi","macd","bollinger","ma"], timeframe={timeframe}` | Technical indicator history | Yes |41| 1c | `info_markettrend_get_technical_analysis` | `symbol={symbol}` | Multi-timeframe composite signals (1h/4h/1d/1w) | Yes |42| 1d | `info_marketsnapshot_get_market_snapshot` | `symbol={symbol}, timeframe="1d", source="spot"` | Real-time market snapshot (price, volume, OI, funding rate) | Yes |4344> All 4 Tools are called in parallel.4546### Step 3: LLM Analysis4748The LLM performs technical analysis on the raw data, completing the following reasoning:491. Identify trend from candlestick patterns (uptrend / downtrend / sideways channel)502. Combine indicator history to assess current position (overbought / oversold / neutral)513. Evaluate multi-timeframe signal alignment or divergence524. Identify key support and resistance levels5354### Step 4: Output Structured Report5556---5758## Report Template5960```markdown61## {symbol} Technical Analysis Report6263> Analysis time: {timestamp} | Primary timeframe: {timeframe}6465### 1. Current Market Snapshot6667| Metric | Value |68|--------|-------|69| Price | ${price} |70| 24h Change | {change_24h}% |71| 24h Volume | ${volume_24h} |72| 24h High | ${high_24h} |73| 24h Low | ${low_24h} |74| Open Interest | ${oi} (if available) |75| Funding Rate | {funding_rate}% (if available) |7677### 2. Trend Assessment7879**Overall Trend**: {Uptrend / Downtrend / Sideways / Trend Reversal}8081{Trend analysis based on candlestick patterns and MA alignment:}82- MA7 / MA25 / MA99 alignment: {Bullish / Bearish / Tangled}83- Recent candlestick patterns: {Bullish Engulfing / Doji / Hammer / etc.} (if notable)84- Volume confirmation: {Rising volume + price up (healthy) / Declining volume + price up (weak momentum) / Rising volume + price down (accelerated selling)}8586### 3. Technical Indicator Details8788#### RSI (14)89| Timeframe | Value | Status |90|-----------|-------|--------|91| 1h | {rsi_1h} | {Overbought/Oversold/Neutral} |92| 4h | {rsi_4h} | {Overbought/Oversold/Neutral} |93| 1d | {rsi_1d} | {Overbought/Oversold/Neutral} |9495{RSI divergence analysis: any bullish/bearish divergence present?}9697#### MACD98| Timeframe | DIF | DEA | Histogram | Status |99|-----------|-----|-----|-----------|--------|100| 1h | {dif} | {dea} | {histogram} | {Golden Cross/Death Cross/Above Zero/Below Zero} |101| 4h | ... | ... | ... | ... |102| 1d | ... | ... | ... | ... |103104#### Bollinger Bands (20, 2)105| Metric | Value |106|--------|-------|107| Upper Band | ${upper} |108| Middle Band | ${middle} |109| Lower Band | ${lower} |110| Bandwidth | {bandwidth}% |111| Current Position | {price relative to bands + percentile} |112113{Narrowing bands → breakout imminent; price touching upper band → potential pullback to middle; touching lower band → potential bounce}114115### 4. Key Price Levels116117| Type | Price | Basis |118|------|-------|-------|119| Strong Resistance | ${resistance_1} | {Previous high / MA99 / Upper Bollinger / Round number} |120| Weak Resistance | ${resistance_2} | ... |121| Weak Support | ${support_1} | ... |122| Strong Support | ${support_2} | {Previous low / MA99 / Lower Bollinger / Volume profile cluster} |123124### 5. Multi-Timeframe Signal Summary125126| Timeframe | Composite Signal | Bullish Indicators | Bearish Indicators |127|-----------|-----------------|--------------------|--------------------|128| 1h | {Strong Buy/Buy/Neutral/Sell/Strong Sell} | {count} | {count} |129| 4h | ... | ... | ... |130| 1d | ... | ... | ... |131| 1w | ... | ... | ... |132133**Signal Consistency**: {Are multi-timeframe signals aligned? e.g., "Short-term bearish but medium/long-term bullish — divergence present"}134135### 6. Overall Technical Assessment136137{LLM generates a comprehensive assessment:}138- Current trend strength evaluation139- Short-term (1-3 day) likely direction140- Medium-term (1-2 week) likely direction141- Key observation: a break above ${resistance_1} opens upside; a break below ${support_2} signals trend weakening142143### Risk Warnings144145{Data-driven risk alerts}146147> Technical analysis is based on historical data and cannot predict future price movements. This does not constitute investment advice.148```149150---151152## Decision Logic153154| Condition | Assessment |155|-----------|------------|156| RSI > 70 (multi-timeframe consistent) | "Multi-timeframe RSI overbought — high pullback probability" |157| RSI < 30 (multi-timeframe consistent) | "Multi-timeframe RSI oversold — high bounce probability" |158| MACD daily golden cross + 4h golden cross | "MACD multi-timeframe golden cross confirmed — bullish signal" |159| MACD daily death cross + 4h death cross | "MACD multi-timeframe death cross confirmed — bearish signal" |160| Bollinger bandwidth < 5% | "Extreme Bollinger squeeze — breakout imminent" |161| Price breaks above upper Bollinger | "Short-term overextended — potential pullback to middle band" |162| MA7 > MA25 > MA99 | "Bullish MA alignment" |163| MA7 < MA25 < MA99 | "Bearish MA alignment" |164| 3 consecutive days of rising volume + price up | "Rising volume rally — healthy trend" |165| Declining volume + price up | "Low-volume rally — watch for weakening momentum" |166| Short-term vs medium/long-term signals diverge | Flag "Bull/bear divergence — awaiting directional resolution" |167| funding_rate > 0.1% | "Extreme long crowding in futures — risk of long squeeze" |168| Any Tool returns empty/error | Skip that indicator analysis; note "Data unavailable" |169170---171172## Error Handling173174| Error Type | Handling |175|------------|----------|176| Coin does not exist | Prompt user to verify the coin name |177| info_markettrend_get_kline insufficient data | Reduce lookback period or switch to larger timeframe; note limited data |178| info_markettrend_get_technical_analysis fails | Derive signals from K-line and indicator history manually; label "Composite signal manually derived" |179| info_markettrend_get_indicator_history partial indicators missing | Display available indicators; note missing ones as "temporarily unavailable" |180| All Tools fail | Return error message; suggest the user try again later |181182---183184## Cross-Skill Routing185186| User Follow-up Intent | Route To |187|-----------------------|----------|188| "What about fundamentals?" / "Full analysis" | `gate-info-coinanalysis` |189| "Why is it pumping/dumping?" | `gate-news-eventexplain` |190| "On-chain chip analysis" | `gate-info-tokenonchain` |191| "Compare XX and YY" | `gate-info-coincompare` |192| "Recent news?" | `gate-news-briefing` |193194---195196## Safety Rules1971981. **No trading advice**: Do not output "recommend going long/short" or "buy at XX"1992. **No specific price predictions**: Do not output "will rise to XX tomorrow" or "target price XX"2003. **Acknowledge limitations**: Clearly state that technical analysis is based on historical data and may fail2014. **Data transparency**: Label K-line data range and indicator parameter settings2025. **Flag missing data**: When indicators are unavailable, explicitly state it — never fabricate values