Skip to content

Indicators with an AI agent

This guide covers basic tools and prompt examples for adding, tuning and removing built-in indicators on a chart through the cTrader local MCP server.

Tip

When starting a new session with your AI agent, begin your prompt with Using the cTrader local MCP server.... This helps ensure that the agent calls the MCP server instead of routing requests to web search.

Add an indicator

Add the RSI indicator to the active chart.
Add a 50-period Simple Moving Average to the active chart.
Add MACD with default settings to the active chart.

Update indicator parameters

Change the period of the SMA on the active chart to 100.
Change the RSI period to 21 on the active chart.

List indicators on a chart

What indicators are currently on the active chart?

List available indicators

What built-in indicators are available?

Remove an indicator

Remove the RSI indicator from the active chart.
Remove all indicators from the active chart.

Combining prompts

Add RSI and a 200-period SMA to the active chart and tell me 
whether the current price is above or below the SMA.

Warning

The MCP server is a tool for AI-assisted trading and does not provide financial, investment, legal or tax advice. AI-generated actions may trigger real trades and result in losses. Users are solely responsible for verifying outputs, supervising strategies, securing credentials and using the MCP server at their own risk.