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ể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Đ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ể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.