This guide walks you through the steps to create a custom option chain table in Thinkorswim, enhancing your market analysis by adding specific custom fields.
The fields include changes in open interest (OI), percentage changes in OI, and volume comparisons between today and yesterday.
The guide provides detailed instructions on how to customize your layout by adding custom scripts for these fields, enabling you to track market movements more effectively. Finally, it explains how to save and access your custom view for future use.
This document walks through the creation of a custom option chain table in Thinkorswim. The custom fields we will be adding are:
OI Change – The change in OI from yesterday to today
OI – Today’s OI (it matches the built in OI field, but combines the column w/ OI Change)
OI% Change – The change in OI as a percentage
Volume from Yesterday
Volume from Today (it matches the build in Volume field, but combines the column w/ Yesterday’s volume)
Volume % Change – Today’s volume, expressed as a percentage of yesterday’s volume. 100% = the same volume today as yesterday.
Net Volume – A very rough, assumption heavy volume accumulator that attempts to show volume as a net positive (buying) or negative (selling). On uptick, volume is added. On downtick, volume is subtracted. The color represents the last uptick (green or red).
Step 1. Trade Tab
Go on the Trade Tab of your Thinkorswim platform and click on Layout.
How to build a custom Option Chain Table in Thinkorswim 10
Then click on the Customize option and select Custom Quotes from the dropdown.
How to build a custom Option Chain Table in Thinkorswim 11
Step 2: Create Custom Fields
We will be changing 5 custom quotes. Start by clicking the icon next to any custom quote.
Here are the settings for the first custom quote.
Update the column name
Make sure the timeframe is set to DAILY (the D next to the name)
Click thinkScript Editor
Add the code
Click OK
The name of the custom field should now reflect the name you chose
How to build a custom Option Chain Table in Thinkorswim 12
Next we must repeat the process for the other 4 custom fields
Step 3: Custom Fields Code Script
Here you can access the scripts to copy and paste in the custom field section. Simply copy the script.
def POSVU = if close() > close()[1] then volume else
if close() == close()[1] then roundup(volume/2, numberOfDigits = 0) else 0;
def UpVu = TotalSum(POSVU);
def NEGVU = if close() < close()[1] then volume else
if close() == close()[1] then rounddown(volume/2, numberOfDigits = 0) else 0;
def DnVu = TotalSum(NEGVU);
plot NetVu = UpVu – DnVu;
NetVu.assignValueColor(if NetVu > NetVu[1] then color.green else if NetVu < NetVu[1] then color.red else color.current);
Step 4: Ad your Custom Fields to your View
Now you can add those custom quote fields to your current view.
How to build a custom Option Chain Table in Thinkorswim 13
Now you will be able to see the fields in your View.
The last step is to save the layout for quick access in the future.
Click the Layout drop down.
Click Save As and either accept the default name or save it as a unique name.
How to build a custom Option Chain Table in Thinkorswim 14
To access this view in the future, simply select it from the Layout drop down.
In This Guide
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.