PROTECTED SOURCE SCRIPT
ORB NY Sesión (Visual R:R) - Final

This script is a Visual Indicator (Not a Backtesting Tool) designed to identify and plot the New York Open Range Breakout (NY ORB) and project clear risk/reward (R:R) levels immediately following a high-probability breakout event.
🔑 Core Functionality
Strict Session Filtering: The indicator logic and signals are only activated during standard trading days (Monday to Friday), ignoring weekends completely.
Opening Range Identification: It calculates the high and low price within the user-defined session time (default: 09:30 - 10:00 NY). This range is visually marked by black circular dots.
Signal Detection: A buy signal (BUY, Blue color) or sell signal (SELL, Red color) is generated on the first bar that crosses and closes beyond the range high (orbHigh) or range low (orbLow).
📐 Visual Risk Management
Once a signal is detected, the indicator projects the risk/reward levels using short lines that extend from the entry point to the current bar, clearly visualizing the trade plan:
Entry Line (Gray): Drawn at the closing price of the breakout bar.
Stop Loss (SL - Red): Fixed at the opposite boundary of the Opening Range (ORB Low for long trades, ORB High for short trades), which defines the risk (1R).
Take Profit (TP - Blue): Dynamically calculated based on the user-configured Risk/Reward Ratio (R:R) (default is 2.0).
Labels: Displays the exact Entry, SL, and TP prices.
📊 Aesthetics and Clarity
Clean Visuals: Level lines do not extend indefinitely (extend.none), ensuring a clutter-free chart.
Floating Title: A small table in the top-left corner displays the indicator title, active session time, and the configured R:R for quick reference.
This indicator is built for traders to practice breakout strategies with immediate visual confirmation of the calculated risk management plan.
🔑 Core Functionality
Strict Session Filtering: The indicator logic and signals are only activated during standard trading days (Monday to Friday), ignoring weekends completely.
Opening Range Identification: It calculates the high and low price within the user-defined session time (default: 09:30 - 10:00 NY). This range is visually marked by black circular dots.
Signal Detection: A buy signal (BUY, Blue color) or sell signal (SELL, Red color) is generated on the first bar that crosses and closes beyond the range high (orbHigh) or range low (orbLow).
📐 Visual Risk Management
Once a signal is detected, the indicator projects the risk/reward levels using short lines that extend from the entry point to the current bar, clearly visualizing the trade plan:
Entry Line (Gray): Drawn at the closing price of the breakout bar.
Stop Loss (SL - Red): Fixed at the opposite boundary of the Opening Range (ORB Low for long trades, ORB High for short trades), which defines the risk (1R).
Take Profit (TP - Blue): Dynamically calculated based on the user-configured Risk/Reward Ratio (R:R) (default is 2.0).
Labels: Displays the exact Entry, SL, and TP prices.
📊 Aesthetics and Clarity
Clean Visuals: Level lines do not extend indefinitely (extend.none), ensuring a clutter-free chart.
Floating Title: A small table in the top-left corner displays the indicator title, active session time, and the configured R:R for quick reference.
This indicator is built for traders to practice breakout strategies with immediate visual confirmation of the calculated risk management plan.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 이를 자유롭게 제한 없이 사용할 수 있습니다 – 자세한 내용은 여기에서 확인하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 이를 자유롭게 제한 없이 사용할 수 있습니다 – 자세한 내용은 여기에서 확인하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.