NexusFi: Find Your Edge


Home Menu

 





TOS Custom Implied Volatility Rank Watchlist/Scanner Column


Discussion in ThinkOrSwim

Updated
    1. trending_up 2,825 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 0 posts
    2. attach_file 0 attachments




 
Search this Thread

TOS Custom Implied Volatility Rank Watchlist/Scanner Column

  #1 (permalink)
blackhawkdown2002
Fountain, Colorado
 
Posts: 1 since Jun 2020
Thanks Given: 0
Thanks Received: 1

Hey everyone,

I am a newbie and searched around for awhile to find a custom column to allow the sorting of Implied Volatility Rank in my scanner or watchlist. This optimizes my selling strategy to only thie highest RANKED implied volatility regardless of their current volatility percentage because the two seem to not always go hand in hand like I assumed.

Here is the simple code I used to create the custom column using thinkscript. Hopefully this will help someone.

def vol = Imp_Volatility();
#rec data = if !isNaN(vol) then vol else data[1];
def data = vol;
def hi = highest(data,252);
def lo = lowest(data,252);
def perct = round((data - lo)*100/ (hi - lo),0);
plot x = perct;

Reply With Quote
The following 2 users say Thank You to blackhawkdown2002 for this post:





Last Updated on June 16, 2020


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts