PROTECTED SOURCE SCRIPT
OptionLens for NSE Indices

OptionLens is a unique tool designed to give traders of NIFTY, BANKNIFTY, FINNIFTY, and MIDCPNIFTY real-time insights into market sentiment by analyzing live option premiums across multiple strike prices. Unlike traditional indicators, OptionLens draws on the collective effect of option pricing mechanics—including the influence of Delta (directional conviction), Gamma (momentum of Delta), Theta (impact of time decay), Vega (volatility response), and Rho (interest rate sensitivity). By tracking how traders are bidding for Calls and Puts around the ATM strike, it estimates whether the broader market is leaning bullish or bearish—reflected as a 4-color histogram:
Dark Green bars signal strong bullish sentiment
Light Green bars reflect a developing bullish bias or price consolidation
Light Red bars suggest mild bearish undertones or price consolidation
Dark Red bars represent strong bearish momentum
OptionLens does not rely on volume or open interest but uses price action in the options market to offer a clean, visual snapshot of sentiment shifts. It includes built-in alerts for significant sentiment transitions, making it an ideal companion for intraday and swing traders seeking a deeper edge from the derivatives market.
Dark Green bars signal strong bullish sentiment
Light Green bars reflect a developing bullish bias or price consolidation
Light Red bars suggest mild bearish undertones or price consolidation
Dark Red bars represent strong bearish momentum
OptionLens does not rely on volume or open interest but uses price action in the options market to offer a clean, visual snapshot of sentiment shifts. It includes built-in alerts for significant sentiment transitions, making it an ideal companion for intraday and swing traders seeking a deeper edge from the derivatives market.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.