科研技能库/图表分析工作流
数据分析
未发现用户侧风险

图表分析工作流

分析图表——设置交易品种/时间周期,添加指标,滚动到关键日期,添加注释并截图。在用户需要进行技术分析或图表审查时使用。

文件预览

1 个文件
SKILL.md
2.1 KB · 可预览
---
name: chart-analysis
description: Analyze a chart — set up symbol/timeframe, add indicators, scroll to key dates, annotate, and screenshot. Use when the user wants technical analysis or chart review.
---

# Chart Analysis Workflow

You are performing technical analysis on a TradingView chart.

## Step 1: Set Up the Chart

1. `chart_set_symbol` — switch to the requested symbol
2. `chart_set_timeframe` — set the appropriate timeframe
3. Wait for the chart to load (the tool handles this)

## Step 2: Add Indicators

Use `chart_manage_indicator` to add studies. Common names (must use FULL names):
- "Relative Strength Index" (not RSI)
- "Moving Average Exponential" (not EMA)
- "Moving Average" (for SMA)
- "MACD"
- "Bollinger Bands"
- "Volume"
- "VWAP"
- "Average True Range"

After adding, use `indicator_set_inputs` to customize settings (e.g., change EMA length to 200).

## Step 3: Navigate to Key Areas

- `chart_scroll_to_date` — jump to a specific date of interest
- `chart_set_visible_range` — zoom to a specific date window
- `chart_get_visible_range` — check what's currently visible

## Step 4: Annotate

Use drawing tools to mark up the chart:
- `draw_shape` with `horizontal_line` for support/resistance
- `draw_shape` with `trend_line` for trend channels (needs two points)
- `draw_shape` with `text` for annotations

## Step 5: Capture and Analyze

1. `capture_screenshot` — screenshot the annotated chart
2. `data_get_ohlcv` — pull recent price data for quantitative analysis
3. `quote_get` — get the current real-time price
4. `symbol_info` — get symbol metadata (exchange, type, session)

## Step 6: Report

Provide the analysis:
- Current price and recent range
- Key support/resistance levels identified
- Indicator readings (RSI overbought/oversold, MACD crossover, etc.)
- Overall bias (bullish/bearish/neutral) with reasoning

## Cleanup

If you added indicators the user didn't ask for, remove them:
- `chart_manage_indicator` with action "remove" and the entity_id
- `draw_clear` to remove all drawings if they were temporary

SKILL.md

元数据
namechart-analysis
description分析图表——设置交易品种/时间周期,添加指标,滚动到关键日期,添加注释并截图。在用户需要进行技术分析或图表审查时使用。

图表分析工作流

您正在对TradingView图表执行技术分析。

步骤1:设置图表

  1. chart_set_symbol — 切换到请求的交易品种
  2. chart_set_timeframe — 设置适当的时间周期
  3. 等待图表加载完成(工具会自动处理)

步骤2:添加指标

使用 chart_manage_indicator 添加研究。常用指标名称(必须使用全称):

  • "Relative Strength Index"(不要用RSI)
  • "Moving Average Exponential"(不要用EMA)
  • "Moving Average"(代表SMA)
  • "MACD"
  • "Bollinger Bands"
  • "Volume"
  • "VWAP"
  • "Average True Range"

添加完成后,使用 indicator_set_inputs 自定义参数(例如,将EMA长度改为200)。

步骤3:导航至关键区域

  • chart_scroll_to_date — 跳转到特定的感兴趣日期
  • chart_set_visible_range — 缩放到指定的日期窗口
  • chart_get_visible_range — 查看当前可见范围

步骤4:标注

使用绘图工具在图表上做标记:

  • draw_shape 配合 horizontal_line 绘制水平线(支撑/阻力)
  • draw_shape 配合 trend_line 绘制趋势线(需要两个点)
  • draw_shape 配合 text 添加文字注释

步骤5:捕获与分析

  1. capture_screenshot — 截取带标注的图表截图
  2. data_get_ohlcv — 拉取近期价格数据进行定量分析
  3. quote_get — 获取当前实时价格
  4. symbol_info — 获取交易品种元数据(交易所、类型、交易时段)

步骤6:报告

给出分析结论:

  • 当前价格与近期区间
  • 识别出的关键支撑/阻力位
  • 指标读数(RSI超买/超卖、MACD交叉等)
  • 总体倾向(看涨/看跌/中性)及依据

清理

如果添加了用户未请求的指标,请移除它们:

  • 使用 chart_manage_indicator,动作为"remove"并指定entity_id
  • 使用 draw_clear 清除所有临时绘图(如果为临时性标注)