OPEN-SOURCE SCRIPT

Best ORB Strategy Detector + Entry Finder

705
Best ORB Detector + Entry Finder

An Opening Range Breakout (ORB) indicator focused on one thing: find the opening range, catch the break, and manage the trade with clear entry, stop, and targets.

Most ORB tools only draw two lines and leave the rest to you. This one goes further — session selection, a single clean ORB stage, breakout/retest logic, optional filters, and full trade management on the chart.

The idea is simple: the first minutes of a session often define support and resistance for the day. When price breaks that range with conviction, moves can travel. When it breaks without conviction, they fail. This script helps you see both.
Built by the Xcelerate Trade team.

What makes it different

One ORB at a time
Instead of stacking four ranges on the chart, you pick one stage: ORB 5M, 15M, 30M, or 60M. Cleaner chart, clearer plan.

Session-aware
Choose Asia, London, or New York. The opening range is built from that session’s start — not a generic “market open” that may not match how you trade.

Entry the way you actually trade

Breakout — enter after the range breaks
Retest + Rejection — wait for price to come back to the ORB level, reject, then enter
Both — allow either path
This matches how many discretionary ORB traders work: the break is the alert, the retest is often the entry.

Trade management built in
When a setup triggers, you get entry, classic ORB stop (beyond the opposite side of the range, with optional buffer), and take-profit levels from 1R to 6R. Lines extend forward until stop or the last enabled target is hit.

Optional quality filters
Volume and FVG filters are available and off by default, so you start with raw price action and tighten only when you need fewer, cleaner signals.

Core features

1. ORB stages (pick one)

ORB 5M — fastest, more noise
ORB 15M — balanced, most common day-trading window
ORB 30M — slower, more confirmed
ORB 60M — slowest, strongest filter
During the window, the script tracks high and low. When the window completes, those levels become your ORB high and low.

2. Breakout detection
Labels appear when price closes outside the range (body close or wick, depending on your setting). Signals are confirmed on close — no repainting.

3. Retest and cycle tracking
After a breakout, if price returns to the ORB level, you can get a retest label. Useful if you missed the first move, or if you wait for retest entries by design.
Signal mode: First Only (cleaner) or Track Cycles (breakout → retest → re-break).

4. Failed / weak breaks
Settings like breakout buffer, min bars outside, and min distance for retest help filter tiny wiggles and half-hearted breaks.

5. TP / SL lines

Entry
Stop (classic ORB stop + buffer %)
TP1 (1R) through TP6 (6R)
Enable only the targets you use. When the last enabled TP or the stop is hit, lines freeze.

6. Info panel
Bottom-left dashboard with active ORB, range size, volatility, volume status (when the filter is on), ORB status, and the live setup (entry / stop / TPs / R:R). Panel size and theme are adjustable.

Volume filter

Many ORB fakeouts happen on thin volume. When Enable Volume Filter is on, a breakout needs volume confirmation.

Modes:

Increasing — breakout bar volume higher than the previous bar (Academy-style “volume in expansion”)
Above Average — volume at least X times the volume MA
Both — stricter: rising and above average
Use this on stocks and futures where volume is meaningful. On some CFDs, volume can be weak or synthetic — if signals disappear, turn the filter off or loosen the mode.

FVG filter (Fair Value Gap)

FVGs are short inefficiencies left by strong momentum candles. When Enable FVG Filter is on, breakouts are preferred when they interact with a nearby gap. You can also Show FVG Boxes without forcing the filter, just for context.

Why it helps: breaks through an FVG often carry more follow-through than breaks into empty air.
FVG Proximity controls how close the gap must be to count.

Start without FVG. Add it when you want fewer, higher-conviction setups.

How to use it

Simple start

Chart: 5m or 15m on a liquid symbol
Select Session (e.g. New York)
Select ORB (e.g. ORB 15M)
Leave filters off at first
Watch breakout / retest labels and the dashboard for entry, stop, and targets
Tighter setup

Entry Mode = Retest + Rejection
Volume Filter = Increasing or Both
FVG Filter on if you want institutional-style confirmation
Enable the TPs you actually take (many traders use TP1 + TP2, and leave TP3–TP6 for runners)
Suggested take-profit approach

Conservative: full exit at TP1
Balanced: partial at TP1, rest at TP2
Aggressive: trail toward TP3–TP6 on strong trend days
After TP1, many traders move stop to breakeven.

Tips

ORB works best on liquid instruments during the real session
The first hour matters most — that is when the range forms and the first breaks appear
Not every day is an ORB day; skip chop
Filters reduce noise but also reduce frequency — adjust to your style
Always use a stop; the R-multiple targets only make sense if risk is defined
Limitations

Intraday tool — not meant for daily/weekly charts
Needs a clear session definition
Can still false-break in ranges; filters help but do not remove risk
Volume quality depends on the symbol/feed
Indicator = decision aid, not a fully automated strategy
FAQ (short)

Why no signals? Check timeframe (intraday), session hours, breakout detection on, and whether filters are blocking you.

Best ORB stage? ORB 15M is a good default. 5M is faster/noisier; 30M/60M are slower/cleaner.

Should I enable all filters? No. Start clean, then add Volume first, then FVG if you still want fewer trades.

First Only vs Track Cycles? First Only = one main idea per direction. Track Cycles = more opportunities, busier chart.

Disclaimer
For education and research only. Not financial advice. Trading involves risk of loss. Paper trade first. Manage risk. Decisions are yours.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。