OPEN-SOURCE SCRIPT
GeeksDoByte/Rayen Kamta ORB Clean

This script is an advanced, all-in-one technical analysis tool designed primarily for intraday traders who use the Opening Range Breakout (ORB) strategy. Its main purpose is to automatically identify the key high and low levels established at the market open, provide clear trading signals based on breakouts, and keep the chart exceptionally clean by focusing only on the current trading day's action.
Here is a breakdown of what it does:
Core Functionality
Customizable Opening Range Breakout (ORB)
The script automatically calculates and draws the high and low of the market's opening period.
You can choose a standard period (like the first 5, 15, or 30 minutes) or define a completely custom time session (e.g., "0930-1030") in the settings.
Breakout Signals with Volume Confirmation
When the price closes above the ORB High or below the ORB Low, a distinct triangle arrow appears, signaling a potential trade entry.
To filter out weak signals or "fakeouts," these breakout signals can be qualified by volume. You can require the volume on the breakout candle to be a certain multiple (e.g., 1.5x) of the recent average volume, indicating strong conviction behind the move.
RSI Momentum Signals
A built-in Relative Strength Index (RSI) provides additional momentum context.
The script generates its own unique circle-shaped signals when the RSI crosses your defined upper or lower thresholds, helping to identify overbought or oversold conditions that might support or contradict a breakout trade.
Automatic Profit Targets
When the opening range is established, the script automatically projects a 1:1 risk/reward profit target.
It calculates the height of the opening range and projects that distance from the high (for a long target) and from the low (for a short target).
Key UI & UX Features (User Interface & Experience)
"Current Day Only" by Default
This is the script's most important feature. To keep your chart clean and prevent "indicator clutter," all drawings (lines, zones, targets, signals) are automatically cleared at the start of each new trading day. This ensures you are only ever looking at today's relevant levels.
Optional Historical View
If you need to analyze past performance or see how the indicator behaved on previous days, there is a simple checkbox in the settings ("Show Historical Drawings") to toggle the visibility of all past signals.
Enhanced Visuals
ORB Zone: The opening range itself is drawn as a distinct, shaded gray box.
Extended Lines: Dashed lines for the high (green) and low (red) extend from this zone across your screen for the rest of the day.
Clean Targets: Profit targets are not messy plots; they are clean, dotted horizontal lines with a "T1" label, making them easy to see without cluttering price action.
Modern Info Panel
A professional, easy-to-read panel in the bottom-right corner provides critical data at a glance:
ORB High & Low: The exact price levels.
Range Size: The size of the opening range in both points (e.g., $1.50) and as a percentage (e.g., 0.75%).
Live Status: A dynamic field that tells you if the current price is in a "Breakout Up," "Breakout Down," or still "Inside Range."
How to Use & Configure
All features can be turned on or off in the indicator's settings menu (the gear icon).
The settings are organized into logical groups like "ORB," "Confirmation & Signals," and "RSI" for easy navigation.
Every setting includes a tooltip explaining what it does.
Alerts
You can set up proactive alerts for key events so you don't have to watch the chart all day. Alerts can be created for:
ORB Established: Notifies you when the day's range is set.
ORB Confirmed Breakout Up/Down: Notifies you when a volume-confirmed breakout occurs.
RSI Buy/Sell Signal: Notifies you when an RSI momentum signal triggers.
In summary, this script consolidates multiple essential trading concepts into a single, clean, and highly configurable indicator, perfect for traders looking to systematize their approach to opening range strategies.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。