OPEN-SOURCE SCRIPT
Atualizado

ORB-HL

2 053
1. Opening Range Detection

Automatically calculates the high and low of the first 15 minutes after the selected session opens.

Supported sessions:

New York (Futures): 08:30–08:45 EST
New York (Equities): 09:30–09:45 EST
London: 03:00–03:15 GMT
Asia: 19:00–19:15 JST

Plots ORB high/low lines for the rest of the day.

2. Breakout Signals

Highlights the first valid breakout above or below the ORB range on the:
5-minute timeframe
15-minute timeframe
Green arrows = breakout up (long)
Red arrows = breakout down (short)

3. 1-Minute Projection

When a breakout is confirmed on a higher timeframe (5m or 15m), a projection label (e.g., "5m", "15m") appears on the 1-minute chart.

Purple label = 5m breakout
Teal label = 15m breakout
Helps you confirm momentum in real time while on the 1-minute chart.

4. Trailing Stop System

Uses ATR to create an adaptive trailing stop after breakout.
Turns green when price is above stop (bullish), red when below (bearish).
Optional Buy / Sell signal labels appear on crossover events.

5. Session High/Low Visualization

Tracks and displays the previous session’s High and Low for:
Tokyo
London
New York

Lines extend into the current session to act as S/R reference.

Labels like "NY High", "Asia Low" are placed at the end of each line.

6. Alerts

Built-in alerts for:
First 5m or 15m breakout (long/short)
Trailing stop Buy/Sell crossover

7. Customization Options

Turn session H/L lines on/off per session
Customize projection visibility
Adjust ATR period and sensitivity

Set how far each session line extends using bar offsets

Notas de Lançamento
Fixing the max 500 length
Notas de Lançamento
Adding ICT
Notas de Lançamento
Updating time DST BS,
Notas de Lançamento
Fixing Time Issue with Sessions.
Notas de Lançamento
Update Time Mismatch
Notas de Lançamento
Removing ICT concept to make script more smooth
Notas de Lançamento
Updating time to just use Exchange Time to avoid issues with different users across the globe.
Notas de Lançamento
Time must be in exchange

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.