Steel-man note: the naive claim "writers pin the price" is only true when the market-maker/dealer complex is net long the gamma they've warehoused. Empirical pinning near high-OI strikes typically reflects dealers being net long options at those strikes (buy-low/sell-high), not writers amplifying moves.
We want the spot price S at expiry that causes the least total payout to option buyers (equivalently, the most pain — hence "max pain").
Step 1 — payoff of one option at expiry.
A Call at strike K pays the buyer: max(S−K,0).
A Put at strike K pays the buyer: max(K−S,0).
Why this step? At expiry there's no time value left — only intrinsic value remains. That's the definition of intrinsic value.
Step 2 — total buyer payout across all strikes.
Let OIKC and OIKP be open interest (contracts) at each strike. Total cash the writers must pay (per unit lot):
Pain(S)=K∑[OIKC⋅max(S−K,0)+OIKP⋅max(K−S,0)]
Why this step? Every rupee a buyer receives is a rupee a writer loses. Writers (usually well-capitalized, often institutions) have incentive/ability to nudge S toward low-payout zones.
Step 3 — minimize.
Smaxpain=argSminPain(S)
Why this step? The strike minimizing total intrinsic payout is where the most options die worthless. Empirically, price often drifts toward this level into expiry (pinning) when dealers are net long gamma there, though it is a tendency, not a law.
Imagine a see-saw with a magnet in the middle. Some players own bets and act like the magnet — every time the see-saw tips, they gently push it back to the center number, so it stays put ("pinning"). Other players sold bets and act the opposite — when the see-saw tips, they push it further the same way, making it swing wildly. On the last day both effects get super strong. Which group is bigger decides whether the price stays stuck on a magic number or suddenly rockets away.
Expiry day pe options ka game asli maze ka hota hai. Sabse important baat: hedging price ko pin karegi ya breakout degi, yeh depend karta hai gamma ke sign pe. Jo trader options kharidta hai woh long gamma hota hai — uska hedge buy-low / sell-high hota hai, jo moves ko dabata hai aur price ko strike ke paas chipka deta hai (pinning). Jo bechta hai (writer) woh short gamma hota hai — uska hedge buy-high / sell-low hota hai, jo move ko aur tez kar deta hai (breakout).
Ek galatfehmi door karo: log kehte hain "writers price ko pin karte hain" — yeh galat hai. Writers short gamma hote hain, unka hedging move ko badhata hai, pin nahi karta. Pinning tab hoti hai jab dealer/buyer complex net long gamma ho us strike pe. ATM strike aur expiry najdeek ho to gamma dono taraf bahut bada ho jaata hai, isliye jo side bhaari padti hai wahi din ka behavior decide karti hai.
Max Pain ka simple matlab: woh price jahan sabse zyada options bekaar expire ho jaayein, yaani buyers ko sabse kam paisa mile. Formula bas intrinsic value ka total minimize karna hai — call ka (S−K)+ aur put ka (K−S)+, OI se multiply karke. Par yeh guarantee nahi — sirf tab tak magnet hai jab tak dealers net long gamma hain. Wall toot gaya to short-gamma hedgers chase karte hain aur price rocket ki tarah bhaagta hai (gamma unwind).
Practical 80/20: expiry pe theta bahut fast hai, isliye sasti OTM weekly options kharidna aksar loss ka sauda hai. Max Pain aur high-OI strikes ko magnet/wall samjho. Mnemonic yaad rakho: "Long gamma PINs, Short gamma SPINs". Monthly expiry me OI aur rollover zyada, isliye trend bade aur saaf ho sakte hain.