← The essay Your own charting platform, built by an agent, on your broker's data Open in a tab ↗
Reports · Real Stories · November 2026

Your own charting platform, built on your broker's data

A coding agent built a charting platform that reads MT5, shows your own trades and can't place a single order. Try it below, preview what you could add, and leave with the prompt for your own version.

  • $19in usage with Claude Opus 5.5 for the whole build
  • 74tests, including one that fails if an order function appears
  • 0orders it can place: it only reads from MT5
  • Apache 2.0open source, free to download and build on

Most of what the platform does is a copy of what you know from any advanced trading platform. What it adds comes from reading MT5 directly: your own trades on the chart, a journal next to it, a replay of your trades and the spread and slippage on every fill.

The code is public, so you don't start from an empty folder. This edition lets you try the platform on simulated data, look at three of the features you could add, and turn the ones you want into a prompt for your coding agent.

The platform

Click through it like you would on your own screen.

This is the same chart library the platform uses, TradingView's Lightweight Charts, running on simulated prices and simulated trades, so nothing here comes from a real account.

hello.purpleCHARTS DEMO
▲ buy▼ sellSimulated data, illustrative only TradingView Lightweight Charts™ Copyright (c) 2025 TradingView, Inc. https://www.tradingview.com
Copied from any advanced platform
  • Timeframes from 5 seconds to a month
  • Every symbol your broker offers
  • SMA, EMA, Bollinger Bands, RSI, MACD
  • Drawing tools
  • Up to four linked charts
  • Alerts
  • CSV export
New, because it reads MT5
  • Your trades drawn automatically
  • Risk, target and result in R
  • A journal in R, never in money
  • Replay with your own trades
  • Spread and slippage per fill
Three things you could add

Order flow, previewed on simulated ticks.

Footprint and TPO charts come with TradingView's Premium plan and higher, and a DOM needs a broker that supplies the data. On the platform, each one is a request to your coding agent. Play with the previews to see what they show.

Your build list

Pick what you want, take the prompt.

Choose the features you'd use. The prompt on the right updates as you go, with the safety rules the platform already follows, so you can paste it straight into your coding agent once you've downloaded the code.

The boring part is done. The rest is a conversation with your agent.

Download the code, ask for one feature at a time, and check every result against your MT5 terminal.

Get the code on GitHub
For agents and sceptics

Sources and assumptions

  1. The code: Hello Purple Charts, Apache License 2.0, https://github.com/purple-technology/hello-purple-charts
  2. TradingView, free charting libraries (Lightweight Charts, Apache 2.0): https://www.tradingview.com/free-charting-libraries/
  3. Lightweight Charts, AI coding assistants and agent skills: https://tradingview.github.io/lightweight-charts/docs/ai
  4. TradingView blog, Volume footprint chart type (Premium and higher): https://www.tradingview.com/blog/en/new-chart-type-volume-footprint-44399
  5. TradingView blog, TPO indicator (Premium and higher): https://www.tradingview.com/blog/en/new-indicator-time-price-opportunities-43010
  6. TradingView, Depth of market (needs a broker with Level 2 data): https://www.tradingview.com/support/solutions/43000516459
  7. MQL5 blog, what tick volume is in MetaTrader 5: https://www.mql5.com/en/blogs/post/774938
  8. MQL5, market_book_get (reading the depth of market from Python): https://www.mql5.com/en/docs/python_metatrader5/mt5marketbookget_py
  9. Hello Purple, A safety check for the trading tool you built with AI: https://hello-purple.com/reports/safety-check-ai-built-trading-tool/

Assumptions: the platform demo, the footprint and the TPO preview use simulated prices from a seeded random walk, with simulated trades whose stops and targets are set at fixed multiples of recent volatility; they show how the views work, not how any market or trader performed. Buy and sell in the footprint preview are estimated with the tick rule (a tick up counts as buying, a tick down as selling). The DOM preview uses the EURUSD order book snapshot quoted in the article (four levels per side, sizes 0.1, 1.5, 3 and 5 million). The $19, the 74 tests and the licence come from the build described in the article. Nothing here is investment advice.

By email

Get the next piece the day it is published.

You are on the list. One email when a new report lands.

One email when a new report lands, nothing else. By subscribing you agree to our privacy policy.