Option Greeks In ThinkOrSwim

halcyonguy

Moderator - Expert
VIP
Lifetime
I'm currently trying to figure out how ThinkOrSwim calculates the greeks and Implied Volatility. If anyone has any insight on how it does this and would share, I would be very greatful.

here are some links on option greeks that might help

options data, greeks, delta, theta,

https://usethinkscript.com/threads/black-scholes-options-model-by-mobius-for-thinkorswim.326/
custom
Black Scholes Options Model by Mobius for ThinkorSwim
markos
Jul 10, 2019

post7
Here are some threads that mention the SeriesVolatility function
https://www.one-tab.com/page/jQhBYwoGTi-zEaCB7pMgjQ

--------------------------------

https://usethinkscript.com/threads/option-greeks-calculation-labels-for-thinkorswim.399/#post-2643
indicators
Option Greeks Calculation Labels for ThinkorSwim
markos
Jul 25, 2019

===========================
options, 2nd order greeks

vanna
https://spotgamma.com/options-vanna-charm/

https://www.thebalance.com/vanna-explanation-of-the-options-greek-1031331

2nd order greeks
https://medium.com/hypervolatility/options-greeks-vanna-charm-vomma-dvegadtime-77d35c4db85c

Options Greeks: Vanna, Charm, Vomma, DvegaDtime

https://spotgamma.com/options-vanna/

https://financetrainingcourse.com/education/2014/06/vega-volga-and-vanna-the-volatility-greeks/

option basics
https://www.thebalance.com/options-definition-3305952

------------------------
xls file
calc greeks
https://financetrainingcourse.com/e...ks-using-solver-to-hedge-vega-gamma-exposure/
In this chapter we start with building a simple Excel spreadsheet that will us allow us to hedge Gamma and Vega exposure for a single short position in a call option contract.
 

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

I haven't even tried this one yet, as I'm pretty sure ill just disappoint myself even further when it comes to being an old fart that doesn't know what the F*$k is going on when it comes to coding... I use the options charts along with the underlying next to it. Im wondering if its possible to have a delta label on the option chart that shows what the current delta is of whatever option I have on the chart at the time, as opposed to having to go the the option chain and looking for the option to see what the current delta is as its always changing. Thanks to all you fellers who have helped me out before, and anyone who might try to help me in the future!
 
this will show 4 option stats, of the option symbol on the chart.
delta, theta, gamma, vega
in edit studies, can choose yes/no to display each one

Code:
# option_stats_0

input show_delta = yes;
input show_theta = yes;
input show_gamma = yes;
input show_vega = yes;

def d = delta();
addlabel(show_delta, "Delta " + d, color.yellow);

def t = theta();
addlabel(show_theta, "Theta " + t, color.yellow);

def g = gamma();
addlabel(show_gamma, "Gamma " + g, color.orange);

def v = vega();
addlabel(show_vega, "Vega " + v, color.orange);
#
 
Halcyonguy, no doubt! you sure replied fast enough that you make that **** look easy...I surely do appreciate ya guy!

Interesting...only watching it for a little bit so far I realize that while most of the time the deltaLabel is within 2 cents of the delta listed on the option chain, there are times when its way the hell off...i see you used the predetermined Delta condition in the code...does that mean there is not much else that can be done to that parameter? Im not sure why it wouldnt be even close at times and within 2 cents or so at others...either way thanks again whether you mess with it or not!
 
Last edited by a moderator:

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
368 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