OPEN-SOURCE SCRIPT
更新済 CB LOD Reversal

For the LOD one (swap high/low wording for HOD):
**LOD Reversal Scanner**
Flags intraday reversals off the low of day.
How it works: when a candle sets a new low of day and the *next* candle closes above that candle's close, the indicator prints a "REV" marker and sets a Signal value of 1. Red dots mark each new-LOD candle so you can see the setup forming.
The logic always runs on a fixed signal timeframe (default 15 minutes) regardless of the chart interval, so it can be used in Pine Screener on any interval at or below the signal timeframe.
Settings: signal timeframe, minimum 20-day average daily volume (default 1M), regular-session-only toggle.
Pine Screener use: add the indicator, set interval to 15m (or lower), filter `Signal` equal to 1, and rescan after each candle close.
For HOD version, change to: "when a candle sets a new high of day and the next candle closes below that candle's close… Green dots mark each new-HOD candle."
**LOD Reversal Scanner**
Flags intraday reversals off the low of day.
How it works: when a candle sets a new low of day and the *next* candle closes above that candle's close, the indicator prints a "REV" marker and sets a Signal value of 1. Red dots mark each new-LOD candle so you can see the setup forming.
The logic always runs on a fixed signal timeframe (default 15 minutes) regardless of the chart interval, so it can be used in Pine Screener on any interval at or below the signal timeframe.
Settings: signal timeframe, minimum 20-day average daily volume (default 1M), regular-session-only toggle.
Pine Screener use: add the indicator, set interval to 15m (or lower), filter `Signal` equal to 1, and rescan after each candle close.
For HOD version, change to: "when a candle sets a new high of day and the next candle closes below that candle's close… Green dots mark each new-HOD candle."
リリースノート
Release notes (for the "Update" publish box):**v2 — Signal no longer limited to the very next candle**
Previously the reversal had to occur on the candle immediately after the new low-of-day candle. Now, once a candle sets a new low of day, its close becomes the reference level and the indicator stays armed. The first later candle in the same session that closes above that level fires the REV signal, whether it's the next candle or several candles later. Each LOD candle can fire at most once; a new low of day resets the reference and re-arms the signal.
For the HOD script, swap "low of day → high of day" and "closes above → closes below."
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。