Option Chain Column For ThinkOrSwim

HumbledTrader

New member
@rad14733 what your looking at is it, and yes you can do a custom column by editing the script in the custom extras custom 1-whatever amount they give you, in fact, what your looking at is real it is not mine to give as i need permission, but it slows the system and i have a decent computer i beleive

Yes Please if you can help?
 
what your looking at is it, and yes you can do a custom column by editing the script in the custom extras custom 1-whatever amount they give you, in fact, what your looking at is real it is not mine to give as i need permission, but it slows my computer
Yes, this is a new feature... I created a custom column but it isn't populating... All I get is "loading"...
 

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

@rad14733 @BenTen I was given permission to share and improve this code if you can tell me how we can get it that it wouldn't be a lag on TOS

Code:
plot OI_NetChg = open_interest() - open_interest()[1]; OI_NetChg.SetDefaultColor(color.black); AssignBackgroundColor(if OI_NetChg > 0 then color.GREEN else if OI_NetChg < 0 then color.PINK else color.GRAY);

oi2.png
 
I added two columns I had wanted a while ago but the Custom Columns slow down the Option Chain so much I had to remove them... There really is no way to speed things up because Custom Columns are a low priority so they only calculate when the servers can get to them... It's unfortunate but that's how TOS works and we can't change the platform...
 
I added two columns I had wanted a while ago but the Custom Columns slow down the Option Chain so much I had to remove them... There really is no way to speed things up because Custom Columns are a low priority so they only calculate when the servers can get to them... It's unfortunate but that's how TOS works and we can't change the platform...
First thank you for trying i appreciate it , Its a shame this is very useful was considering just running that on one computer
but i assume that would not help
 
First thank you for trying i appreciate it , Its a shame this is very useful was considering just running that on one computer
but i assume that would not help
It would definitely help... I have used almost every Custom Column and that further hinders my refresh rate... The more cells that need to be updated, the worse the update lag gets...

Oh, and you're very welcome... ;) (y)
 
It would definitely help... I have used almost every Custom Column and that further hinders my refresh rate... The more cells that need to be updated, the worse the update lag gets...

Oh, and you're very welcome... ;) (y)
May I ask let's say i ran the options chain with just this and OI would that help, like this i can run one just look up thoughts?
 
May I ask let's say i ran the options chain with just this and OI would that help, like this i can run one just look up thoughts?
Yes... The fewer the cells requiring calculation the better... I mean ALL cells, whether Option Chain, Watchlists, etc... So if you have another system with a stripped down setup it should improve performance to some extent... I just mentioned the other day how I've switched my systems around so that my active trades are monitored and made on a "clean" system and my research and potential trade monitoring is done on another...
 
Heres one i use for V:OI. It blacks out the (in my opinion ) irrelevant data.

Code:
#Column for Volume to OI (open interest)
def x = (volume / open_interest)*100;
AddLabel(yes,  + Round(x , 0) + "%",color.black);
assignBackgroundColor (if  x > 150 and volume is greater than 100 then color.orange else if x > 75 and volume is greater than 90 then color.LIGHT_GRAY else  if x >= 0 then color.black else color.black);
 
I was looking for a way to add an OI column to the Time and sales list,,but this could be handy. Im new and I wonder what do I do with this code to get it to work? I watched a youtube video that had me add it to the "edit studies" section but I didnt notice anything different.
 
I was looking for a way to add an OI column to the Time and sales list,,but this could be handy. Im new and I wonder what do I do with this code to get it to work? I watched a youtube video that had me add it to the "edit studies" section but I didnt notice anything different.
time and sales can not currently have columns added to them, you can call TD Ameritrade and request the feature, if enough people call they may add.
 
So this code tells me change in open interest but is there a way to know how many contracts(open interest) were closed?

Todays Open interest represents OI=OI[1]+volume[1]-closedOI

So is there a way to take yesterdays open interest at the beginning of the day and subtract that from end of the day open interest?
so OIchange=OI[start of day]-OI[end of day]

@HumbledTrader @XeoNoX It will help find out if the Market Makers are closing their bearish or bullish sentiment of the underlying since most contracts are written by market makers who have more intel than the average trader.
 

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
412 Online
Create Post

Similar threads

Similar threads

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