What it shows
Open interest is the number of futures contracts open. Most bars change it a little; the detector marks the bars that changed it far more than the bars before them did, and names each by what price did over the same bar. A square sits beyond the bar on the price chart, with a matching one in the Open interest pane.
| Case | Open interest and price |
|---|---|
| New longs | Open interest rose unusually fast while price rose: new positions opened with buyers leading. |
| New shorts | Open interest rose unusually fast while price fell: new positions opened with sellers leading. |
| Long liquidation | Open interest fell unusually fast while price fell: longs closed, by choice or forced. |
| Short covering | Open interest fell unusually fast while price rose: shorts closed, by choice or forced. |
It also marks liquidation clusters: bars whose forced orders, by size or by count, were larger than most recent bars with liquidations. The examples on this page show the open interest side only, since the synthetic market has no liquidations.
How it works
1The usual change
For each closed bar the detector takes the change in open interest over the bar and compares it with the changes of the 50 bars before it: their mean and their spread (standard deviation).
2Far beyond it
When the change is at least 3 standard deviations from that mean, the bar is marked. A rise with price up is new longs, as in the break out of the range in the example.
3Named by price
The same rise with price down is new shorts. Each case only says which way open interest and price moved together on that bar.
4Positions closing
Falling open interest is positions closing: long liquidation when price falls with it, short covering when price rises.
How to use it
Turn it on with OI anomalies in the Detectors menu. Point at a mark for its card: the change in open interest and its z-score, the usual change it was compared with, and the price move. The settings sketch a synthetic perpetual that changes with each setting, and Runs on picks the timeframe.
- A higher z-score keeps only the largest changes, as view C does; a longer window compares each bar with more history.
- Read a mark with the bars around it: a jump in open interest on a breakout says positions were added during the move, not that they will be rewarded.
| Setting | Default | What changes |
|---|---|---|
| Z-score | 3 | How many standard deviations from the usual change a bar’s change must be. |
| Window | 50 bars | How many bars before it each change is compared with. |
| Liquidation window | 100 bars | How many bars before it a bar’s liquidations are compared with. |
| Percentile | 95th percentile | How much larger than recent bars with liquidations a cluster must be. |
What it does not tell you
- Every contract has a buyer and a seller. The names say how open interest and price moved together, not who acted or why: a long liquidation may be longs closing by choice.
- Spot markets have no open interest or liquidations, so there the detector is unavailable and says so.
- Binance sends at most one liquidation per symbol each second, so its liquidation clusters come from a sample; the card says so. Open interest and liquidations exist only where they were recorded.
- An unusual change is context to test on your market, not a signal by itself.
Test it in the Strategy Builder
OI anomaly passes on an open interest anomaly of the case you pick or on a liquidation cluster, from the closed bar it happened on, pointing the way price moved (or the way the forced orders traded).
Nodes to look for in the Strategy Builder’s palette:
- OI anomaly
Related
Other layers in this family
- Naked levelsThe POC, VAH and VAL of past days, weeks and months that price has not traded at since.
- Level retestsEach return to a swing, a profile level or an imbalance zone price had left, and whether it held or broke.
- Value area ruleThe 80% rule: a day opens outside the prior value area, is accepted back inside, and targets its far side.
Questions
How many standard deviations a bar’s change in open interest is from the mean change of the bars before it. At the default a bar must be far outside what the window saw to be marked.
Not necessarily. Open interest fell while price fell, so long positions closed; some may have been liquidated and some closed by choice. Liquidation clusters show the forced orders themselves.
Spot markets have no futures contracts, so they have no open interest and no liquidations to read.