OPEN-SOURCE SCRIPT
Diupdate 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."
Catatan Rilis
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."
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.