OPEN-SOURCE SCRIPT
CRT [odnac]

This indicator is an algorithm that captures long and short entry signals by utilizing higher timeframe (HTF) liquidity sweeps and price breakout patterns.
Higher Timeframe (HTF) Auto/Manual Mapping: Automatically determines the higher timeframe based on the chart period or allows manual configuration.
Auto Mapping Guide: 1m/3m -> 15m / 5m/10m -> 60m / 15m/30m -> 240m (4H) / 1h–3h -> Daily (D) / 4h–12h -> Weekly (W) / Daily -> Monthly (M) / Weekly -> Yearly (12M)
Liquidity Sweep Detection: Captures the moment when the current price temporarily breaches (sweeps) the higher timeframe reference line (high/low), opening up reversal possibilities.
A, B, C Structure Definition:
A (Reference Point): The previous high or low reference line of the higher timeframe (HTF).
B (Sweep Point): The zone where the price temporarily breaks (sweeps) the A reference line and forms a new extreme.
C (Breakout Reference Line): The highest high (for long) or lowest low (for short) within the range from the sweep occurrence point back to the A reference point.
C Range and Breakout Confirmation: Sets the post-sweep high/low as the reference (C) and triggers the final signal when the price breaks out of this range (Crossover/Crossunder).
HTF Bar Validity Period Settings: Allows configuring the number of allowed higher timeframe bars after a sweep occurs.
Filter Functions: Applies session time settings and weekend filters to block signals during unnecessary volatility periods.
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.