Article
Draw IBKR Support and Resistance With Claude, via MCP
Connect Claude to your local MyLinedChart IBKR session and have it draw support, resistance, and trend lines on your live chart — anchored to real prices, confirmed by you.
AI can already describe a chart. The harder problem is getting it to act on your chart — to actually draw the levels you are talking about, on your live IBKR data, without you redrawing everything by hand. MyLinedChart runs locally against your own Interactive Brokers session and exposes your chart to Claude through MCP, so you can ask for support, resistance, and trend lines and have them appear on the chart — every change confirmed by you before it lands. Your account and orders stay read-only the whole time; this is a chart-drawing workflow, never a trading one.
Why AI Usually Cannot Draw on Your IBKR Chart
Most AI chart workflows are read-only. You paste a screenshot, the model describes candles and patterns in prose, and then you translate that back onto your chart by hand. The IBKR-certified Claude and ChatGPT connector goes further on the account side — it reads positions, orders, and market data and can draft trades for your approval — but it does not see or touch your chart's drawings or technical-analysis context. That is a separate layer.
MyLinedChart fills that layer. It runs on your machine, connects to your own IBKR session through the Connector, and exposes your live chart to an MCP-connected AI. So instead of describing a level, the AI can propose drawing it, and you approve it with one click.
- Screenshot workflows: the AI describes, you redraw.
- IBKR connector: reads account and market data, drafts trades — but no chart drawings.
- MyLinedChart MCP: the AI proposes actual drawings on your live IBKR chart.
What You Can Ask For
Through the propose_chart_changes tool, Claude can add the full drawing toolkit: horizontal levels, trend lines, rays, segments, Fibonacci retracements, rectangles or boxes, and text notes — all anchored to real dates and prices, not floated on top as pixels. You describe the structure in plain language and the AI turns it into concrete drawings.
Examples you can say out loud: 'Draw a horizontal line at yesterday's high and low on ES.' 'Add a trend line on QQQ from the March low to now.' 'Box the overnight range and label it.' 'Mark the gap fill from Tuesday.' The AI proposes each as a drawing object; you confirm before anything appears.
- Support and resistance as horizontal lines at exact prices.
- Trend lines, rays, and segments across real date/price anchors.
- Zones and boxes for ranges, gaps, and consolidations, with text labels.
How the Safety Model Works
Every proposed change is confirmation-gated: nothing lands on your chart until you approve it (or until you explicitly mark a trusted source as always-allow). AI-made drawings are tagged separately from your own, so you can always tell what you drew versus what the AI added, and clear them independently.
Just as important is what the tool cannot do. There is no trade or order field anywhere in propose_chart_changes. Your IBKR account and orders stay strictly read-only through MyLinedChart — the AI can operate your chart, never your money. Everything runs locally on your machine; your chart context does not leave the process.
- Confirmation-gated: you approve every change.
- AI drawings tagged separately from yours.
- Account and orders read-only — never a trade.
Turning Drawn Levels Into Reusable Data
Because the drawings are structured objects, not baked-in pixels, they export cleanly to JSON, XLSX, or CSV with their coordinates and labels. That means the support and resistance you drew today can feed a journal, a backtest, or a weekly review — and the AI can read them back next session to compare what held and what broke.
For the full picture of how AI reads and operates your chart safely, see Let Your AI Operate Your Chart, Safely — What Changed and What Didn't. For the IBKR + Codex and Claude chart-data workflow that started this, see Using Codex or Claude Code With IBKR Chart Data, and for the MCP setup itself, see /mcp.
FAQ
Does this place trades on my IBKR account?
No. MyLinedChart keeps your IBKR account and orders read-only. The drawing tool has no trade or order field at all — it can add drawings to your chart, nothing more.
Do I have to approve every drawing?
Yes by default — every AI change is confirmation-gated. You can optionally mark a trusted source as always-allow, but account and order access stays read-only regardless.
Which AI agents work with this?
Any MCP client — Claude (Claude Code or desktop), Codex, and others — via MyLinedChart's local MCP server. See /mcp for setup.
Can I export the levels the AI draws?
Yes. Drawings are structured data and export to JSON, XLSX, or CSV with coordinates and labels for journals, backtests, and reviews.
Sample Structured Chart-Data Exports
Review how chart drawings, annotations, OHLC, volume, and execution context become reusable structured data.

