DYORLearn hubBlog
Home / Learn hub / Metrics Builder

Metrics Builder: single metric

8 min · DYOR Education
PRORight rail
Goal

Cover the Metrics Builder in the “Single metric” mode: exchange, source, field, indicator, second leg, adding to the chart. And why calculate a formula over data already visible on the chart.

Metrics Builder: data source, field, indicator, “Preview”
Metrics Builder: data source, field, indicator, “Preview”
What it shows

A technical indicator on top of any DYOR data. In essence, your own indicator, built in the interface without code.

  • you choose the exchange — once for the whole metric, the chart’s exchange by default;
  • take a source — order book, trades, OI and funding (Binance, Hyperliquid, Deribit), liquidations, lending, Depth Index, options, Coinbase premium, coin price and others, about thirty. Sources with no data on the chosen exchange are not in the list; if such a metric already stands in the layout, the legend says “no data on exchange”;
  • a field from it;
  • apply a classic indicator: SMA, EMA, WMA, RSI, Std Dev, ROC, Bollinger Bands, MACD, Percentile, Z-Score, Cumulative Sum, Lowest, Highest, Range, Percent Rank. Or Raw — no processing.

The result is a pane on the chart, like a regular indicator.

Why bother if DYOR indicators already exist. A regular indicator shows the current picture in the data: how many dollars sit in the order book, how many contracts are in OI. That's the raw value. A formula on top of it asks the same number a different question. How unusual is it for the last N bars — Z-Score, Percentile. How fast did it change — ROC, RSI. What corridor does it move in — Bollinger Bands. That's how a local anomaly shows up in data that looks flat. And the other way round: a spike on the raw line turns out to be normal for this coin.

A live example. BTC/USDT, 1h, asks 3% on spot, September 20, 03:00.

  • Raw line: 72.9M. Over the last 100 hours asks ranged from 39M to 97M, median 64M. 72.9M is the middle, nothing catches the eye. Percentile(100) = 56.
  • Z-Score(20) on the same data: −3.5. For twenty hours before that, asks held at 83–95M, 87M on average. In one hour 15M was pulled — the sharpest drop in ten days.
  • One number, three answers. Raw — “normal”. Percentile over 100 bars — “normal”. Z-Score over 20 bars — “very rare”. Different formulas and different windows ask different questions.

The anomaly here is a fact about the current bar: the value is rare for the last N bars. It doesn't say where the price goes next.

asks 3%, raw value, $M72.9 — mid-range over 100 hourssame data, Z-Score(20)0−2−3.5 — sharpest drop in ten days
One number, two answers. Raw — “normal”, the formula on top — “very rare”. That's the whole point of the builder.
What it's for

Ask the data your own question instead of the raw value: smooth it, measure the speed, find a local anomaly. It's your own indicator, written in the DYOR interface without code. A tool for those who know what they want to compute.

For example.

  • Z-Score(20) on asks 3% — the moment asks were pulled sharply relative to the last 20 hours, even if the dollar value is ordinary.
  • Percentile(100) on spot trade volume — the current hour against the last hundred. BTC/USDT, 23.09 14:00: volume 463M against a median of 73M, Percentile 98 — almost the maximum in four days.
  • RSI(14) on bids 3% — how fast bids are being added. BTC/USDT, 23.09 15:00: RSI 79, bids 92.6M — the maximum in a hundred hours.
  • MA(20) on COIN TRADES — a smoothed trade delta instead of columns. RSI on Open Interest (Coin) — how fast positions are being built relative to the last bars.
Where to find it

Right rail → Metrics Builder. Mode: Single metric. Only on a new chart.

Settings
  • Exchange — between “Mode” and “Data Source”: Binance, Coinbase, Hyperliquid or Deribit, the chart’s exchange by default. Chosen once per metric.
  • Data Source — where to take the numbers from; the names have no word Binance: “Open Interest (Coin)”, “Open Interest (Total)”, “Options”, “Coinbase Premium”. Next to it Source Settings:
    • Market Type — Spot or Futures.
    • Order book depth.
    • Total Type for total sources. For the order book and trades — TOTAL / TOTAL2 / TOTAL3 / OTHERS / TOTAL (-STABLE), for Open Interest (Total) — only TOTAL / TOTAL2 / TOTAL3.
    • BTC Pairs for Bitcoin.
  • Second Leg — for the depth index, the aggregated order book and aggregated trades: which second market to compare the coin with. “Same Exchange” — spot against futures of the coin’s exchange; another exchange — the same coin there: Binance spot, Binance futures, Coinbase spot, Hyperliquid futures, Deribit futures. Coins on Coinbase, Hyperliquid and Deribit have one market, so for them the second leg is mandatory. Total Depth Index has the same aggregated fields as Depth Index.
  • Field — which exact value of the source to take.
  • Indicator and its Parameters, e.g. period.
  • Preview — shows the result. Then Add Indicator.
  • After adding, the pane parameters get Timeframe (Chart / 1m … 1d) and Color Threshold — the threshold at which the color changes.
In alerts

Yes, via the Composite metric. It is the same builder inside the condition form. That is how sources that are not in the list directly get into an alert: TOTAL TRADES, Depth Index with comparison fields, the second leg. The form has two different fields: “Exchange” — the real exchange, Binance, Coinbase, Hyperliquid or Deribit; “Market Type” in the source settings — Spot or Futures. Market cap is no longer among the sources.

Try it yourself
  1. Right rail → Metrics Builder. Source Order Book, field Asks ($), Depth 3%, indicator Z-Score, period 20.
  2. Add it to the chart and find the bar with the lowest value of the week.
What you should get. You found the hour when asks were pulled hardest relative to the last 20 hours — something you can't see on the raw line.
Paid feature.
Takeaway

The builder lays a classic indicator over any DYOR data: exchange → source → field → indicator → “Add Indicator”. A regular indicator shows the raw value. A formula on top of it answers a different question: how unusual the value is for the last N bars, how fast it changes, in what corridor it moves. A local anomaly emerges from data that looks flat, and a spike on the raw line turns out to be normal for this coin. It is your own indicator without code, for those who know what to calculate. An anomaly is a fact about the bar, not a forecast of direction. Through the “Composite metric” indicator the same builder works in an alert: there is a real “Exchange” there and a separate “Market Type”. The second leg compares the coin with the same asset on another exchange.

Quick check

Asks 3% on BTC/USDT are 72.9M, mid-range over 100 hours. Z-Score(20) shows −3.5. What does it mean?

Show answer

Correct answer: For the last 20 hours asks held noticeably higher, and within an hour they were pulled sharply

Quick check

Percentile(100) = 56 and Z-Score(20) = −3.5 on the same bar. Why are the answers different?

Show answer

Correct answer: Different windows and different formulas: over 100 bars the value is ordinary, over 20 it's a sharp drop

← Previous lesson Next lesson →
See these concepts live on real Binance data — the DYOR workspace is free to start.
Open DYOR Platform