@BbenSD Here's the ORB breakout (bullish) scan that Mobius posted a few months ago. Run that on a 5 min aggregation scan. A breakdown (bearish) scan can be written in no time
Code:
# Opening Range Breakout - UP
# Highest and Best use for this scan is as a Dynamic WatchList
# Scan Resets Every Day
# Set Aggregation Period to 5 minutes or less
# Mobius
# Scan
def Active = if SecondsFromTime(0930) > 0 and
SecondsTillTime(1000) >= 0
then 1
else 0;
def ActiveHigh = if Active and !Active[1]
then high
else if Active and
high > ActiveHigh[1]
then high
else ActiveHigh[1];
plot Breakout = if !Active and close > ActiveHigh
then 1
else 0;