Bid & ask delta
The difference in volume across market depth.

Indicator appearance.
Description
Bid & ask delta calculates the absolute difference in volume between the various ask and bid limit orders and displays the values as a bar histogram. Positive values mean that bid volume is larger than ask volume. Negative values mean the opposite.
Bid & ask imbalance is the ratio of the difference between bid-side and ask-side market depth to the total market depth.
Tests
Coming soon…
Location
The model is available in three forms, all on the Pro plan and above:
- the Bid & ask delta indicator — a histogram in a separate pane (Indicators → search for "Bid & ask delta");
- the Bid & ask delta highlighter indicator — highlights the background of the main chart in the color of the dominant side;
- the Bid & Ask Delta screener — Screeners → Microstructure → Bid & Ask Delta.
Functionality
The user can change the following parameters:
- Symbol - the asset for which to display the model values.
- Source - the data source for the calculation. Available options: 'Filled orders', 'Best bid & ask size', 'DOM by 1%', 'DOM by 2%', 'DOM by 3%', 'DOM by 4%', 'DOM by 5%', 'DOM by 6%', 'DOM by 7%', 'DOM by 8%', 'DOM by 9%', 'DOM by 10%’.
- Measure - the unit of measurement: Coin (in coins of the base asset), USD (in dollars) or Percent (the difference between bid and ask as a percentage of their sum, as in the Imbalance formula above);
- Moving average typeline - the type of moving average to calculate. Possible values: "SMA" (simple moving average), "EMA" (exponential moving average), "WMA" (weighted moving average), "VWMA" (volume-weighted moving average), "LSMA" (linear regression);
- Length - the period of the moving average and the standard deviation;
- Show metrics? - a button that turns on the display of the standard deviation and the moving average;
- Background highlight value - the background highlight threshold: a bar is colored in the color of the dominant side when the absolute value of the delta is at least this value (in Measure units). The default is 0, so every bar is highlighted.
Bid & ask delta highlighter
The indicator is drawn over the main chart and highlights the bar background based on the same delta. Settings: Symbol, Source (DOM by 1% by default), Measure (Coin, USD or Percent) and Background highlight value.
Bid & Ask Delta screener
A table of all instruments with the columns:
- Symbol - the instrument;
- Delta % - the difference between bid and ask order volume as a percentage of their sum. A positive value means bid is larger, a negative value means ask is larger.
The order book depth used to calculate the delta is selected in the widget header: from 1% to 10% of the price, 1% by default.
Use cases
Coming soon…