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.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.