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.
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。