OPEN-SOURCE SCRIPT

Gamma & Max Pain Helper

335
Gamma & Max Pain Helper
Plots Call Wall, Put Wall, and Max Pain levels directly on your chart so you can see where options positioning might influence price.

Features:

Manually enter Call Wall, Put Wall, and Max Pain strike prices.

Lines auto-update each bar — no redrawing needed.

Labels display name + strike price.

Option to only show lines near current price (within a % you choose).

Color-coded:

Red = Call Wall (potential resistance)

Green = Put Wall (potential support)

Blue = Max Pain (price magnet into expiry)

Adjustable line width & extension.

Use Case:
Perfect for traders combining options open interest/gamma analysis with price action, pivots, VWAP, and other intraday levels. Quickly spot overlaps between option walls and technical barriers for high-probability reaction zones.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.