Shaded Opening Range Indicator for Think or Swim

There is a function in Think Desktop called “AddCloud()”. This function shades the space between two plots. Assuming that you have previously defined two plots, plotA and plotB, here’s how you would use it:

AddCloud(plotA, plotB);

That’s it! The area between the two plots will be shaded–green if plotA is above plotB, and red if plotB is above plotA.

There are a lot of uses for this, but here’s one I threw together–a shaded opening range indicator:

Shaded OR

You input the market open time, and the time that you want the opening range (OR) to finish. As time progresses through the OR, the peak high and low are constantly updated and revised backward, thanks to the declare fullrange; operator. With this indicator, you get a red shaded area when the OR is active, and it turns green once the OR is completed.

You can download the “OR_Shaded” indicator from my google site in the Thinkscript Studies section. This one is free. Thanks to all my readers, donors, and customers! Your support is appreciated. Comment if you have any thoughts or questions.

Tags: , ,

5 Responses to “Shaded Opening Range Indicator for Think or Swim”

  1. RappidFyre Says:

    Thanx Pro,

    This is a nice useful feature. I just added this study to my existing OR study where as I have the shaded visual plotting various OR time frames sporting different shaded colors. Just a little mod to the color codings. The 5, 15, 30, 45, and 60 are shaded differently to indicate the time frame’s specific OR range. I can also hide any of the ranges I don’t wish to focus on at the time.

    Helpful for entries, covering and keeping out of the binding ranges.

    Peace-

  2. S&P E-mini Futures (ES) Trades: 7-28-09 « Read the Prospectus Says:

    […] used a 133 tick chart of ES. You can see my Shaded Opening Range Indicator on there (set from 0930 to 0931), as well as my Volatility-Based Trailing Stop. I’ve also got […]

  3. GW Says:

    RappidFyre, how do you customize colors for each OR region?

  4. John Says:

    Thank you, Iwill try it..

  5. vic Says:

    anyone know how to make a study alert of the ORB, been trying to but just can get the script right any help appreciated

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: