SutraLipi — algorithmic trading platform
Options

OI Walls & Max Pain on Your Chart: Reading Option Open Interest

Published 16 November 2026 · 9 min read · SutraLipi

Option open interest tells you where traders have actually committed money — and the heaviest strikes often act as support and resistance. Most tools show you that as a separate dashboard. This guide explains how to read OI walls, Max Pain and an OI profile, and shows a different way to use them: directly on your price chart, time-aware, so you can replay how those levels built up — and then backtest and automate around them.

What open interest is (in one minute)

Open interest (OI) is the number of option contracts currently open at a given strike — positions that have been opened and not yet closed. It is not volume. Volume counts how many contracts changed hands; open interest counts how many are still live. A strike with large open interest is a strike where a lot of money is parked, which is why these levels matter.

The simple reading most traders use: option writers (sellers) have an incentive to defend the strikes where they have sold the most, so heavy OI tends to behave like a barrier.

OI walls: where the crowd has drawn the lines

An OI wall is simply the strike with the largest open interest on one side of the chain. There are two that matter most:

WallWhat it isHow it is usually read
Call wall (CE)The strike with the highest call OI, above the current pricePotential resistance — call writers there have reason to cap the move
Put wall (PE)The strike with the highest put OI, below the current pricePotential support — put writers there have reason to defend the level

In practice the price often trades in the channel between the put wall and the call wall, respecting them until a strong move or an event breaks through. When a wall is breached on heavy volume, it can flip — yesterday's resistance becomes today's floor.

Max Pain: the magnet near expiry

Max Pain is the expiry price at which option buyers, as a whole, lose the most — equivalently, the strike that minimises the total payout option writers have to make. The theory is that price tends to drift toward Max Pain as expiry approaches, because the large writers collectively benefit when it does.

Max Pain is a reference, not a prediction. Its relevance is highest on and around expiry day and weakest early in a series. Treat it as one more level on the chart, confirmed by price action — not a target to trade blindly.

The OI profile: the whole chain, at a glance

A single call wall and put wall are the tallest two bars. The OI profile shows every strike as a horizontal bar beside the chart — call OI and put OI across the strikes around the current price. Reading the profile instead of just the two walls tells you how concentrated the positioning is: a single towering strike is a hard level; a broad, even spread is a weak one.

OI levels are only as trustworthy as the open interest behind them. On illiquid strikes and thinly-traded stock options, a “wall” can be noise. Confirm a level against today's change in OI and against price action before you lean on it.

The catch most OI tools miss: a snapshot is only now

Here is the limitation to understand before you rely on any OI tool. Almost every open-interest screen — option-chain tables, OI heatmaps, standalone OI dashboards — shows you a live snapshot: the walls and Max Pain as they are right now. That is useful, but it hides the most important thing, which is how the positioning got here. Did the call wall at a strike build steadily all morning, or did it appear in the last ten minutes? Did the put wall hold through a sell-off, or shift down with price? A snapshot cannot answer that.

Reading OI the way SutraLipi does it: on the chart, and time-aware

SutraLipi draws the walls, Max Pain and the OI profile on the price chart itself, and makes them time-aware. Because every historical candle carries its own open-interest data, the walls and Max-Pain line recompute for whatever candle your crosshair is on. Scrub back across the session — or across past sessions — and watch the call wall, put wall and Max Pain move candle by candle, exactly as they did in real time.

That turns open interest from a static number into something you can study: where the levels were when a breakout started, how they shifted into expiry, whether a wall actually held when it was tested.

The difference in one line: other tools tell you where the walls are now. A time-aware chart lets you replay where they were — so you can see which levels actually mattered, not just which look big today.

Why it matters that this lives on your trading chart

The second difference is where this sits. OI dashboards are usually separate sites you tab away to, read, and then come back to place a trade somewhere else. In SutraLipi the OI view is on the same chart where you build strategies, backtest them on tick data, paper-trade and go live. The analysis and the action are in one place — so a level you spot on the chart is a level you can immediately build a rule around.

That is the real point of OI-aware trading: not just looking at walls, but designing strategies that respect them — for example, selling premium into a strong wall, or standing aside when price is pinned near Max Pain on expiry.

How to turn it on

On any option chart in MarketWatch, the OI overlay is opt-in, per chart — toggle it on from the chart's tools. Once on:

The first version covers the band of strikes around the current spot on the nearest expiry, for NSE/BSE index and stock options. It is built for the levels that matter most intraday — the heavily-traded strikes near the money.

From a level to a strategy

Say the OI profile shows a firm call wall just above spot and a solid put wall below — a classic range. A premium-selling idea like a short straddle or strangle expresses “I expect price to stay inside those walls.” The option chain resolves the strikes for you, so the strategy is short to write:

OptionChain  chain = NFO:OPTIDX:"NIFTY";
EquitySymbol nifty = NSE:IDX:"NIFTY";
OptionSymbol ce;
OptionSymbol pe;

onStart {
    ce = chain.ATM(CE, Expiry.Weekly(0), nifty);
    pe = chain.ATM(PE, Expiry.Weekly(0), nifty);
    OrderSend(ce, SELL, 1, 0, 0, 0, NORMAL, DAY, "straddle ce");
    OrderSend(pe, SELL, 1, 0, 0, 0, NORMAL, DAY, "straddle pe");
}

In practice you would add a stop-loss and a square-off, and you would want to see the walls on the chart before committing. Build it visually in the options strategy builder or in the SutraLipi language, then backtest the short straddle on tick data before risking money. New to testing? Start with how to backtest a trading strategy.

Reading OI honestly — a short checklist

Try it

Open an option chart in SutraLipi, switch on the OI overlay, and scrub the crosshair back through today's session to see how the walls and Max Pain built up — then build and backtest a strategy around them, free to start.

Try it on SutraLipi — free

Build, backtest and paper-trade the ideas in this guide without writing code.

Get Started Free

This article is for education only and is not investment advice. Trading and investing in securities and derivatives carry risk of loss; past performance and backtested results do not guarantee future returns. Please read our Risk Disclosure Statement and consult a SEBI-registered adviser before trading.

Keep reading

Basics What Is Algo Trading? A Plain-English Guide for Indian Traders Regulation Is Algo Trading Legal in India? SEBI Rules Every Retail Trader Should Know Backtesting How to Backtest a Trading Strategy (Step by Step, No Coding)