Black Friday 60% OFF: Pro $29/mo and Ultra $39/mo, for as long as you stay subscribed.Ends Mon 30 NovSee the offer

Scripting

Build indicators on raw order flow.In a language made for it.

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.

Past the candle close.Into the raw feed.

Most chart scripts stop at candle closes. Yours subscribes to the raw tape, the book, CVD, open interest, and liquidations.

Chart
A v3 script reading the raw tape: trade-size cohorts, spread, and response curves on a live BTC chart
sweep.mmt
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}

Live feed, subscribe(data.*)Only on MMT

Each script subscribes to exactly the feeds it reads, with a minimum trade size or a history window per subscription.

data.ohlcv + data.trades

Candles with buy and sell volume, and the raw tape.

data.book

Order book imbalance and depth.

data.vd / data.cvd / data.oi

Volume delta, CVD, and open interest.

data.volume

Volume profile with point of control and value area.

data.stat

Liquidations, funding, and mark price.

Not just a price pane.A whole indicator platform.

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.

Workspace
A multi-pane workspace rendered by one v3 script: panes, heatmap, and table outputs

Workspace: panes, windows, heatmaps

One script renders its own panes, heatmap, and table outputs across the workspace.

pane / window

Stack panes, and dock extra windows that scale on their own.

axis.index / axis.category

General charts: lines, scatter, distributions, and term structures.

heatmap.new

Build your own heatmaps, keyed by venue, price, or hour.

table.new

Live tables with per-cell alignment and styling.

anchor.topLeft

HUD visuals pinned to the pane, not the timeline.

entities.linePool

Pooled lines, boxes, labels, and markers, capacity-bounded and recycled.

A real type system.Checked before you run.

The editor checks types and catches mistakes before you run.

zone.mmtStatically typed
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

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 it fires.Route it out.

When your logic fires, route it out of the terminal.

Script condition, alert, destination

An alert on your own script condition, sent to Discord, Telegram, or a webhook.

Script alerts

Alerts on your own script conditions.

Discord, Telegram, webhooks

Discord and Telegram templates, and any webhook URL on Ultra.

Once or on repeat

Fire once, or repeat after a cooldown.

Publish it.Get discovered.

Publish your indicator and get it in front of traders.

Browse community indicators
  • Community 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.

Live data on every plan.Historical tape on Ultra.

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.”
BigBoyKev@BigBoyOrderflow on X
“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.”
Blueprint Research@Blueprint_So9 on X

200K+ traders on MMT.

More on X

Free forever.Pro when you outgrow it.

Start free with no card. Upgrade only when you hit a limit.

Black Friday, 60% off Pro and Ultra. Ends Mon 30 Nov.

Free

$0/mo

forever free

Kick the tires. No credit card.

  • 4 Widgets
  • 5 Layers per chart
  • 2 Charts
  • 2 Saved workspaces
  • 1 Alert
Start Free

$99$39/mo

Keep your sub, keep your rate

Enhanced edge & increased limits.

  • 100 Widgets
  • 50 Layers per chart
  • 50 Chart templates
  • 50 Saved workspaces
  • 30 Alerts
  • 20 Custom timeframes
  • 50k Historical bars
  • 10k Sub-minute bars
  • Non-time rotation candles
Upgrade to Ultra

Pay with cryptoAnnual plans available via USDC or USDT.

Cancel anytime. No questions, no guilt trips.Get started in Discord

Questions?Answers.

Do I need to know a specific language?

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.

What data can a script access?

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.

Can an AI agent help me write scripts?

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.

How do I publish an indicator?

Apply for builder status, then publish to the community catalog. Published scripts get stars, attribution, and their own indexed page.

What is free, and what needs Ultra?

Live data, including the realtime tape, runs on every plan. Historical raw trades are on Ultra, and data history depth follows your plan.

Open the editor.Build your first indicator.

Free forever. No credit card.