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
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.