data.ohlcv + data.trades
Candles with buy and sell volume, and the raw tape.
Scripting
MMT scripting is a purpose-built, statically typed language for order flow indicators. Scripts subscribe directly to candles, the order book, the raw tape, volume, CVD, open interest, funding, and liquidations, then plot to panes, heatmaps, and tables. The editor checks types and catches mistakes before you run.
Most chart scripts stop at candle closes. Yours subscribes to the raw tape, the book, CVD, open interest, and liquidations.

1script "Sweep detector"2 3data chart = subscribe(data.ohlcv)4data tape = subscribe(data.trades, minSize: 5.0)5data book = subscribe(data.book, history: 30m)6 7pane flow = pane(title: "Order flow", height: 0.3)8plot (9 delta = plot.histogram(title: "Large-print delta", on: flow)10 tilt = plot.line(title: "Book imbalance", on: flow)11)12 13state barDelta: float = 0.014 15on tape.trade(tr) {16 barDelta = barDelta + (tr.isBuy ? tr.size : -tr.size)17}18 19on chart.update {20 delta.plot(barDelta)21 tilt.plot(book.imbalance(1.0))22}23 24on chart.close {25 barDelta = 0.026}Each script subscribes to exactly the feeds it reads, with a minimum trade size or a history window per subscription.
Candles with buy and sell volume, and the raw tape.
Order book imbalance and depth.
Volume delta, CVD, and open interest.
Volume profile with point of control and value area.
Liquidations, funding, and mark price.
V3 is a new language and a much larger indicator platform. Render the raw feed into panes, extra windows, general charts, heatmaps, tables, and pinned HUDs.

One script renders its own panes, heatmap, and table outputs across the workspace.
Stack panes, and dock extra windows that scale on their own.
General charts: lines, scatter, distributions, and term structures.
Build your own heatmaps, keyed by venue, price, or hour.
Live tables with per-cell alignment and styling.
HUD visuals pinned to the pane, not the timeline.
Pooled lines, boxes, labels, and markers, capacity-bounded and recycled.
The editor checks types and catches mistakes before you run.
1script "Value zone"2 3data chart = subscribe(data.ohlcv)4data volume = subscribe(data.volume)5 6type Zone {7 low: float8 high: float9 10 fn contains(price: float) -> bool {11 return price >= self.low && price <= self.high12 }13}14 15on chart.update {16 let point = volume.poc()17 if point != null {18 let zone = Zone { low: point.price * 0.998, high: point.price * 1.002 }19 let atPoc = zone.contains(chart.close ?? 0.0)20 }21 let trend = match chart.close - ta.ema(chart.close, 20) {22 null => "Waiting"23 >= 0.0 => "Above the EMA"24 _ => "Below the EMA"25 }26}Statically typed values, inputs, and returns. Custom types, lambdas, and pattern matching. Multiple event handlers and per-subscription timeframes. Built-in technical analysis like moving averages.
Connect an AI agent through MMT's MCP server, and it can read the language reference and your chart context to help write scripts.MCP
When your logic fires, route it out of the terminal.
An alert on your own script condition, sent to Discord, Telegram, or a webhook.
Alerts on your own script conditions.
Discord and Telegram templates, and any webhook URL on Ultra.
Fire once, or repeat after a cooldown.
Publish your indicator and get it in front of traders.
Browse community indicatorsCommunity indicators
1000+
In the catalog and counting.
Builder status
Apply for builder status, then publish to the community catalog.
Stars and attribution
Stars, attribution, and an optional public source.
Your own page
Your own indexed page for the indicator.
Realtime data, including the raw tape, runs on every plan. Historical raw trades are on Ultra; Free and Pro scripts begin at the live edge. Data history depth follows your plan.
Live tape
Free
Realtime data, including the raw tape, on every plan.
Historical raw trades
Ultra
Free and Pro scripts begin at the live edge.
Data history
By plan
History depth follows your plan.
“My first ever indicator developed on MMT Scripting v3 (Beta). What started as a project to learn the new language turned into this monster on $BTC.”
“I was scripting Japanese candlestick labels over the footprint data the other day. Each pattern, bearish engulfing and so on, represents a read on buyer/seller conviction, so it was cool to assess that.”
200K+ traders on MMT.
More on XStart free with no card. Upgrade only when you hit a limit.
Black Friday, 60% off Pro and Ultra. Ends Mon 30 Nov.
$0/mo
forever free
Kick the tires. No credit card.
$69$29/mo
Keep your sub, keep your rate
For traders who take this seriously
$99$39/mo
Keep your sub, keep your rate
Enhanced edge & increased limits.
Pay with cryptoAnnual plans available via USDC or USDT.
MMT scripting is its own typed language, built for market data. If you have written an indicator before, the concepts carry over, and the editor catches type mistakes before you run.
Candles with buy and sell volume, the raw order book, the tape, volume, volume delta, CVD, open interest, funding, mark price, and liquidations, through explicit subscriptions. You can read order book imbalance and depth, and volume profile with point of control and value area.
Yes. Connect an agent through MMT's MCP server and it can read the language reference and your chart context to write and edit scripts.
Apply for builder status, then publish to the community catalog. Published scripts get stars, attribution, and their own indexed page.
Live data, including the realtime tape, runs on every plan. Historical raw trades are on Ultra, and data history depth follows your plan.
Free forever. No credit card.