ScanYourStrat

Open Interest by strike

Overview:
What is open interest (OI)? Is the total number of open derivative contracts, such as options, that have not been settled. These positions have been opened, but have not been closed out, expired, or exercised. This indicator helps with giving the open interest of selected equities on the market. It will give you the current weekly expiration date and has also the option to give the monthly expiration date (3rd Friday of the month).

How it works/Calculations:
This indicator will bring the data from an outside source and will have the closest options strikes to the current spot price of the underlying. The bars size will be equivalent to the amount of open interest. In the settings, you can see current weekly expiration options OI or have the option to see monthly expiration. When the weekly expiration is the monthly expiration week, then monthly expiration will show the next monthly expiration. (Example: On December 6, 2023 you will see weekly expiration of Dec 8, 2023 and monthly expiration will be Dec 15, 2023. On December 11, 2023 you will see weekly expiration of Dec 15, 2023 and monthly expiration will be Jan 19, 2024). You will also have the option to see the values or hide them. Also can see delta OI (for each strike subtract the calls and puts and display the remaining values). Open Interest updaters once a day, this indicator will update as well to give the most current values.

Current equities available for the data:
1. XLK 2. XLY 3. XLV 4. XLI 5. XLF 6. AAPL 7. MSFT 8. NVDA 9. AMD 10. V 11. Crm 12. Meta 13. Goog 14. NFLX 15. Amzn 16. Tsla 17. HD 18. Low 19. TGT 20. Wmt 21. XOM 22. Cvx 23. JPM 24. AXP 25. GS 26. ABBV 27. Cat 28. DE 29. BA 30. Fdx 31. UPS 32. Shop 33. SQ 34. Abnb 35. Snow 36. Coin 37. Crwd 38. Uber 39. SBUX 40. ENPH 41. XLP 42. XLE 43. XLB 44. NKE 45. UPS

How to use:
You should not be using this indicator for entries or stop. This indicator will help you see where there are possible levels that will serve as imaginary support and resistance.

Settings:
As above, you can choose weekly or monthly expiration date as explained above. Also you can choose to see the values or delta OI or no values.

Disclaimer:
This is still an indicator that in no way should be used alone.
The information contained in this script does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts are only for educational purposes!
Release Notes:
This update fixes a bug on the bars showing at times the wrong numbers.
Release Notes:
Update code to fix monthly and weekly data.

Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact ScanYourStrat for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.

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.

Author's instructions

Will be in closed beta for now, but will be available in the near future at www.scanyourstrat.com

Want to use this script on a chart?

Warning: please read before requesting access.