Loading...
Loading...
Technical analysis indicators — RSI, MACD, Bollinger Bands, ADX, support/resistance, and 200+ pre-calculated indicators. Use when the user asks about ANY technical indicator for crypto.
npx skill4agent add starchild-ai-agent/official-skills taapi最多调用 indicator/support_resistance 共 5 次。
⛔ 绝对禁止:bash、write_file、learning_log、coin_price、cg_ohlc_history 等非 TaAPI 工具。
⛔ 布林带已含中轨(中轨≈当前价),不需要再调 coin_price 获取价格。
⛔ RSI 问题只需 indicator(name="rsi") 一次,不需要 learning_log 或其他工具。indicator(name="rsi", symbol="BTC/USDT")indicator(name="macd", symbol="ETH/USDT")indicator(name="bbands", symbol="SOL/USDT")support_resistance(symbol="BTC/USDT")| 用户说 | 工具 | 参数 |
|---|---|---|
| RSI/超买/超卖 | | name="rsi" |
| MACD/金叉/死叉 | | name="macd" |
| 布林带/Bollinger/带宽/收缩 | | name="bbands" |
| 支撑位/阻力位/关键价位 | | |
| EMA/均线/移动平均 | | name="ema" |
| ADX/趋势强度 | | name="adx" |
| ATR/波动率 | | name="atr" |
| KDJ/Stochastic/随机指标 | | name="stoch" |
| OBV/成交量指标 | | name="obv" |
| 综合技术分析 | 多次 | 依次调 rsi, macd, bbands |
WRONG: cg_ohlc_history(symbol="BTC") → bash("python3 calc_rsi.py")
RIGHT: indicator(name="rsi", symbol="BTC/USDT", interval="1h")WRONG: learning_log(...) → indicator(name="rsi", ...) → indicator(name="rsi", ...)
RIGHT: indicator(name="rsi", symbol="BTC/USDT", interval="1h") # 一次即可WRONG: indicator(name="bbands", symbol="BTC/USDT") → coin_price(coin_ids="bitcoin") # 多余!
RIGHT: indicator(name="bbands", symbol="BTC/USDT", interval="1h")WRONG: indicator(name="rsi") + indicator(name="macd") + coin_price(...) # coin_price 无关
RIGHT: indicator(name="rsi") + indicator(name="macd") # 技术分析只用 TaAPI 工具WRONG: indicator(name="rsi") + coin_ohlc(coin_id="bitcoin") # 用K线手动找支撑
RIGHT: support_resistance(symbol="BTC/USDT", interval="1d")support_resistanceWRONG: indicator(name="bbands", symbol="SOL/USDT", interval="1h") # 单次无法判断趋势
RIGHT:
indicator(name="bbands", symbol="SOL/USDT", interval="1h") # 当前带宽
indicator(name="bbands", symbol="SOL/USDT", interval="4h") # 更大周期对比
indicator(name="atr", symbol="SOL/USDT", interval="1h") # ATR 辅助判断波动率WRONG: indicator(name="rsi", symbol="BTC/USDT", interval="1hour")
RIGHT: indicator(name="rsi", symbol="BTC/USDT", interval="1h")WRONG: indicator(name="rsi") → "RSI 看多所以看多"
RIGHT:
indicator(name="rsi") → 动量
indicator(name="macd") → 趋势
indicator(name="bbands") → 波动率
→ 综合三者给结论WRONG: indicator(name="support_resistance", symbol="BTC/USDT")
RIGHT: support_resistance(symbol="BTC/USDT", interval="1d")support_resistanceindicator| Name | Description | Key Levels |
|---|---|---|
| rsi | Relative Strength Index | >70 超买, <30 超卖 |
| stoch | Stochastic Oscillator | >80 超买, <20 超卖 |
| cci | Commodity Channel Index | >100 超买, <-100 超卖 |
| mfi | Money Flow Index | >80 超买, <20 超卖 |
| Name | Description | Signal |
|---|---|---|
| macd | MACD | histogram>0 看多, <0 看空 |
| adx | Average Directional Index | >25 强趋势 |
| ema | Exponential Moving Average | 价格在上=多头 |
| sma | Simple Moving Average | 价格在上=多头 |
| Name | Description | Signal |
|---|---|---|
| bbands | Bollinger Bands | 带宽收缩=将突破 |
| atr | Average True Range | 值大=波动大 |
indicator(name="rsi", symbol="BTC/USDT", interval="1h")
indicator(name="macd", symbol="BTC/USDT", interval="1h")
→ RSI + MACD 同向 = 强信号indicator(name="rsi", symbol="BTC/USDT", interval="4h")
indicator(name="macd", symbol="BTC/USDT", interval="4h")
indicator(name="bbands", symbol="BTC/USDT", interval="4h")
indicator(name="adx", symbol="BTC/USDT", interval="4h")
support_resistance(symbol="BTC/USDT", interval="1d")
→ 5 维度综合分析Q: BTC 当前 RSI 是多少?
✅ 调用: indicator(name="rsi", symbol="BTC/USDT", interval="1h")
✅ 输出: 58.3
❌ 错误: learning_log() → indicator() → indicator() # 重复调用+无关工具Q: BTC 布林带上下轨在哪?当前价格离哪个轨近?
✅ 调用: indicator(name="bbands", symbol="BTC/USDT", interval="1h")
✅ 输出: 上轨 $96,800 | 中轨 $94,200(≈当前价)| 下轨 $91,600 → 离下轨更近
❌ 错误: indicator(name="bbands") + coin_price(coin_ids="bitcoin") # coin_price 多余Q: BTC 当前支撑位和阻力位在哪?只要两个数字
✅ 调用: support_resistance(symbol="BTC/USDT", interval="1d")
✅ 输出: 支撑 $82,000 | 阻力 $88,500
❌ 错误: indicator(name="rsi") + coin_ohlc(...) # 完全错工具Q: BTC 技术面怎么看?RSI 和 MACD 什么信号?
✅ 调用: indicator(name="rsi", ...) → indicator(name="macd", ...)
✅ 输出: RSI 62(多头区间)| MACD histogram +220(多头加速)→ 短期偏多
❌ 错误: indicator() + coin_price() # 技术分析不需要价格工具COIN/USDTBTC/USDTETH/USDTSOL/USDT