TOS Custom Implied Volatility RANK Column Watchlist/Scanner

B

blackhawk_down2002

New member
Hey everyone,

I am a newbie and searched around for a while 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 the 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.

Code:
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;
 
Last edited by a moderator:
V

Vimal Mittal

Member
@blackhawk_down2002 Can I use in multiple time frames or only daily chart?Thanks. I can not wait to try.
 

Similar threads

Top