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.
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.
- 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
- 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
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.
Every candle, split into its price levels.
Each cell shows how many ticks went down (sell) and up (buy) at that price, with the point of control outlined and the delta below. On forex and CFDs, MT5 has tick volume rather than traded volume, so buying and selling are estimated from the direction of each tick.
Simulated ticks, illustrative only.
Where the market spent its time.
A TPO chart, or market profile, gives every 30-minute period a letter and prints it at each price the market reached. The shaded rows are the value area, where 70% of the time was spent, and the outlined row is the point of control. It only needs time and price, so it works on every MT5 symbol.
Simulated 30-minute candles, illustrative only.
The price you get depends on your order size.
On the CFD account used for the article, MT5's order book for EURUSD showed four prices on each side, one for each order size. Move the slider to see which price a buy order of that size would get, and how far it sits from the best price.
From one order book snapshot on 6 November 2026, quoted in the article. Sizes in units of the base currency.
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 GitHubSources and assumptions
- The code: Hello Purple Charts, Apache License 2.0, https://github.com/purple-technology/hello-purple-charts
- TradingView, free charting libraries (Lightweight Charts, Apache 2.0): https://www.tradingview.com/free-charting-libraries/
- Lightweight Charts, AI coding assistants and agent skills: https://tradingview.github.io/lightweight-charts/docs/ai
- TradingView blog, Volume footprint chart type (Premium and higher): https://www.tradingview.com/blog/en/new-chart-type-volume-footprint-44399
- TradingView blog, TPO indicator (Premium and higher): https://www.tradingview.com/blog/en/new-indicator-time-price-opportunities-43010
- TradingView, Depth of market (needs a broker with Level 2 data): https://www.tradingview.com/support/solutions/43000516459
- MQL5 blog, what tick volume is in MetaTrader 5: https://www.mql5.com/en/blogs/post/774938
- MQL5, market_book_get (reading the depth of market from Python): https://www.mql5.com/en/docs/python_metatrader5/mt5marketbookget_py
- 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.