################################################################################## ## ## This code is a script that will draw vertical line on the chart at the ## beginning of each week. Then the expected move levels are drawn. ## 1) The user may select Add vertical lines to delineate weeks. ## 2) The user may select whether to indicate breaches of the expected move at ## expiration. ## 3) Volitility for select futures contracts is derived from a corresponding ## ETF's volitility. ## ## 10/15/2017 Implemented by Tim Sayre - ThinkorSwim thinkScript ## 11/17/2017 tjs - Added theme color select and weekly vertical line switch. ## 11/27/2017 tjs - Added user defined factor. This is simply a percentage of the ## calcuated expected move to be used. ## (ie. .75 is 75% of the calculated expected move.) ## ## NO ACTUAL OR IMPLIED WARRANTIES OFFERED - USE AT YOUR OWN DISCRETION ##################################################################################
Click below for full ThinkScript Code