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.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.