Options Vol/Open Interest For ThinkOrSwim

This script works great for options volume, but it won't work for any symbol greater than 1000 (AMZN, TSLA, SHOP). Give it a try. I've tried everything and cannot get it to plot.
 
My take: ITM/ATM call/put volume is useless, because it doesn't really tell us anything that we souldn't already know. We KNOW that there is going to be X amount of volume at those strikes. The real place de resistance will be the OTM call/put volume, because as the delta and the gamma of those change, it will effect how dealers have to hedge. For example, if there is LOTS of hedging (or short bets) on OTM puts on SPY and price goes up/IV goes down that will cause dealer hedging to buy the underlying in SPY...

Moreover, OTM puts ARE the biggest option flow.
 
The ToS Options Hacker Module doesn't allow the using of custom scripts to scan against options related data.
Your scan requests can't be scripted into the scanner.
 
Hi All,

I want to add a new column "OI Change" in the Option chain.
Can someone help how to create the new column and calculate the change in OI.

Thanks
Umasankar
 
@usahu Not possible. ToS doesn't allow you to add custom columns to their option chain.
Thanks @Ben Ten. In thinkorswim there are predefined dummy custom columns available (Custom1, Custom2 etc). We can add the code to one of the custom column. Can you help me with the code to find the change in OI number? Update the change in OI every minute.
 
I have been trying (unsuccessfully) to create a TOS script that would scan for the % of options sold at the bid or ask (or even just a script that can search for options trades at the bid or ask). There was some talk regarding this in this discussion. Has anyone been able to create something to look for this?
 
Is there a way to scan stocks those are certain percentage/value above or below of a moving average.
For example symbol XXX 10% above EMA 50. In other words stock price should be around 50EMA.
 
The ToS Options Hacker Module doesn't allow the using of custom scripts to scan against options related data.
Your scan requests can't be scripted into the scanner.
 
Last edited:
@Zardoz0609 Hi. First, thank you so much for the study and contribution. I just installed this script, I can see lines on the 1y1d chart but nothing on a daily. I'm new to trading and I'm learning every day. Quick question as the market opens does it shows lines as calls and puts happening? Is the default ex-date set to a few weeks out? I'm trying to day trade and mostly scalp options, got burned too many times holding. I try not to hold anything anymore . Any information/suggestions are greatly appreciated.
 
I’m needing to customize a scan that shows current volume contracts 2x(times) the open interest. Just a basic scan with no specific price or expiration
 
The ToS Options Hacker Module doesn't allow the using of custom scripts to scan against options related data.
Your scan requests can't be scripted into the scanner.
 
@DeusMecanicus , @BenTen it does not work with 4 digit strike price as it gets comma in Option ticker.

BNHHbTu.png
 
@DeusMecanicus , @BenTen it does not work with 4 digit strike price as it gets comma in Option ticker.

BNHHbTu.png

I was able to resolve issue by using AsPrice(PutStrike)

Code:
#Using ConCAT notation
AddLabel(1, Concat(".", Concat(GetSymbol(), Concat(optionSeriesPrefix, Concat("P", AsPrice(PutStrike))))) , Color.WHITE);

#Using "+" notation
AddLabel(1, "."+ GetSymbol()+ optionSeriesPrefix +"P"+ AsPrice(PutStrike) , Color.WHITE);

BYjsilI.png


bB4RWO7.png
 
I got this code here that I want to search for Option Volume (not stock volume) and I don't know the code for it. Can you help, please?
 
Last edited:
when using the stockhacker/ option hacker there is no known available thinkscript code/syntax for "option volume" to be able to scan against. You have to use the built in scanner for option volume which is pretty much just setting the minimum or maximum volume. If you want to scan for option volume and be able to create custom scans against option volume (other than min/max option vol) you will have to use a different platform/service that allows it. The best you can do is call TOS support and request that feature.
 
I started out very simple and built up scanner criteria. Study applies to Option Chart. So, I thought if I make scanner under Option Hacker, it will pull data from Option Charts, but that's not the case. Can anyone build a custom scanner that pulls Live Market Data from TOS and I give you all the criteria, really simple stuff and very profitable!!!!! Do you know a platform/service that let you create a custom volume scan for options on 10 Minute Option Chart (not stock chart)?
 
frednam5, a trade ideas service from www.trade-ideas.com is very customizable to scan against many market variables, there may be other services available to do what you want... maybe others can chime in.
 

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
421 Online
Create Post

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top