通过本地 MCP 服务器设置和分析图表¶
本指南向您展示如何通过 cTrader 本地 MCP 服务器使用 AI 代理控制图表,包括打开图表、应用指标和模板、使用图表对象标注关键水平,以及通过自然语言提示执行可视化技术分析。
提示
在与您的 AI 代理开始新会话时,请以 Using the cTrader local MCP server... 开始您的提示。 这有助于确保代理调用 MCP 服务器,而不是将请求路由到网络搜索。
1. 为您的交易品种打开图表 ¶
首先为您想要分析的交易品种和时间周期打开图表。
Open a chart for EURUSD on the H1 period.
代理打开新图表并将其置于焦点。 如果您已经打开了图表,则可以改为更改其交易品种和时间周期:
Change the active chart to EURUSD on H4.
2. 应用您首选的模板 ¶
如果您已保存包含首选颜色、网格设置或默认指标的图表模板,请应用一个模板以获得一致的起点。
Apply the template 'My Trading Setup' to the active chart.
要查看可用的模板:
What chart templates are available?
3. 添加技术指标 ¶
叠加您用于分析的指标。
Add a 200-period Simple Moving Average to the active chart.
Add RSI and MACD with default settings to the active chart.
要检查图表上已有的内容:
What indicators are currently on the active chart?
4. 使用图表对象标记关键水平 ¶
使用图表对象直接在图表上标注支撑位、阻力位和其他水平。
Draw a horizontal line on the active chart at 1.1200 and
another at 1.1350.
Add a trend line from the swing low at 1.1100 to the
recent higher low at 1.1180.
这些可视化标记使您可以轻松查看价格相对于关键水平的位置。
5. 获取指标值进行分析 ¶
要求代理读取图表上指标的计算值。
What are the current RSI and MACD values on the active chart?
Is RSI overbought or oversold?
Get the last 20 values of the 200-period SMA on the active
chart and tell me whether price is above or below it.
代理读取指标输出值并提供简明的摘要。
6. 调整视图 ¶
滚动和缩放以关注重要的价格走势。
Scroll the active chart back 100 bars so I can see the
previous trend.
Zoom in on the active chart to see the last 20 bars
in detail.
7. 组合成完整的分析工作流程 ¶
一旦您熟悉了各个步骤,就可以将它们组合成一个提示。
Open a chart for EURUSD on H4, apply my 'Swing Trading'
template, add RSI and a 200-period SMA, draw horizontal
lines at 1.1200 and 1.1350, then tell me whether RSI is
overbought or oversold and whether price is above or below
the 200 SMA.
代理执行所有图表操作,应用您的指标和水平,并返回分析摘要。
警告
MCP 服务器是一个 AI 辅助交易工具,不提供财务、投资、法律或税务建议。 AI 生成的操作可能会触发实际交易并导致亏损。 用户全权负责验证输出、监督策略、保护凭证安全以及自行承担使用 MCP 服务器的风险。