OPEN-SOURCE SCRIPT
Sentinel 5 — OHL daybreak signals [KedArc Quant]

Overview
Sentinel 5 plots the first-bar high/low of each trading session and gives clean, rules-based signals in two ways:
1) OHL Setups at the close of the first bar (Open equals/near High for potential short; Open equals/near Low for potential long).
2) Breakout Signals later in the session when price breaks the first-bar High/Low, with optional body/penetration filters.
Basic workflow
1. Wait for the first session bar to finish.
*If O≈H (optionally by proximity) → short setup. •
*If O≈L → long setup. • If neither happens, optionally allow later breakouts.
2. Optional: Act only on breakouts that penetrate a minimum % of that bar’s range/body.
3. Skip the day automatically if the first bar is abnormally large (marubozu-like / extreme ATR / outsized vs yesterday).
Signals & Markers
Markers on the chart:
▲ O=L (exact) / O near L (proximity) – long setup at first-bar close.
▼ O=H (exact) / O near H (proximity) – short setup at first-bar close.
▲ Breakout Long – later bar breaks above first-bar High meeting your penetration rule.
▼ Breakout Short – later bar breaks below first-bar Low meeting your penetration rule.
Sentinel 5 plots the first-bar high/low of each trading session and gives clean, rules-based signals in two ways:
1) OHL Setups at the close of the first bar (Open equals/near High for potential short; Open equals/near Low for potential long).
2) Breakout Signals later in the session when price breaks the first-bar High/Low, with optional body/penetration filters.
Basic workflow
1. Wait for the first session bar to finish.
*If O≈H (optionally by proximity) → short setup. •
*If O≈L → long setup. • If neither happens, optionally allow later breakouts.
2. Optional: Act only on breakouts that penetrate a minimum % of that bar’s range/body.
3. Skip the day automatically if the first bar is abnormally large (marubozu-like / extreme ATR / outsized vs yesterday).
Signals & Markers
Markers on the chart:
▲ O=L (exact) / O near L (proximity) – long setup at first-bar close.
▼ O=H (exact) / O near H (proximity) – short setup at first-bar close.
▲ Breakout Long – later bar breaks above first-bar High meeting your penetration rule.
▼ Breakout Short – later bar breaks below first-bar Low meeting your penetration rule.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
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.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
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.