Opening Range Breakout (ORB) Scanner for ThinkorSwim

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

how come i dont receive alerts for stock which break out or below ORB? the alert only pops up is if i click on the ticker to switch to it
 
My watchlist scanner on the left column doesn't update was blank most of the day i had to manually scan in the scan tab. anyone know why?
 
Any way you could toggle the green cloud on/off in the ORB Settings? Or what code to change the color to tone it down a bit?
 
Thanks BenTen - Must have an older version, didn't see that Cloud toggle. Will try another one. I was really just looking for a basic script for the OR.
 
Hello Mr Ben Ten. Hope you are doing well. Is there a way to remove all the bubbles(PC, RO, etc) in the ORB indicator? Just unchecking them in the settings does not seem to work. Thank you in advance for your time and help. Have a great one.
 
Thanks! @BenTen Looking to add/get code for the opening price on Futures charts for the Market Open of the day, so 9:30est. Futures are 24/5 so haven't been able to add this with other code I've seen. Any ideas?
 
@15minofpham You can use this code:

Rich (BB code):
# 30 min opening range
# Robert Payne
# WalkingBallista Watchlist

def OpenRangeMinutes = 30;
def MarketOpenTime = 0930;
input ShowTodayOnly = yes;

def Today = if GetDay() == GetLastDay() then 1 else 0;
def FirstMinute = if SecondsFromTime(MarketOpenTime) < 60 then 1 else 0;
def OpenRangeTime = if SecondsFromTime(MarketOpenTime) < 60 * OpenRangeMinutes then 1 else 0;

def ORHigh =  if FirstMinute then high else if OpenRangeTime and high > ORHigh[1] then high else ORHigh[1];
def ORLow = if FirstMinute then low else if OpenRangeTime and low < ORLow[1] then low else ORLow[1];

def OpenRangeHigh = if ShowTodayOnly and !Today then Double.NaN else if !OpenRangeTime then ORHigh else Double.NaN;
def OpenRangeLow = if ShowTodayOnly and !Today then Double.NaN else if !OpenRangeTime then ORLow else Double.NaN;

def dailyRange = high(period = "day" )[1] - low(period = "day" )[1];
def range = Average(dailyRange, 10);

plot status = if close > OpenRangeHigh then 1 else if close < OpenRangeLow then 0 else -1;
status.AssignValueColor(if status == 1 then Color.Dark_Green else if status == 0 then Color.Dark_Red else Color.Dark_Orange);
AssignBackgroundCOlor(if status == 1 then Color.Dark_Green else if status == 0 then Color.Dark_Red else Color.Dark_Orange);

This gives me a NaN value when added to my watchlist.
 
@netarchitech What is “limiter” means? Sorry for lack of my knowledge . I am new. Thanks.
@Vimal Mittal Sorry for the delay with this reply...I have only recently returned to uTS, after a lengthy hiatus...

What I call "limiter" is just providing the user with an additional degree of flexibility with the amount specified for the breakout/breakdown thresholds previously fixed at 6%, thereby limiting the user to a specific result set...

Hope this helps...

Good Luck and Good Trading :)
 
Last edited:

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
408 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top