OPEN-SOURCE SCRIPT
Mis à jour Current Swing

The Current Swing indicator automatically identifies the most recent valid Swing High and Swing Low points on a higher timeframe (e.g., 3m) and projects key Fibonacci retracement levels directly onto your lower timeframe chart (e.g., 1m).
Pullback Depth Analysis: Maps out the 0%, 40%, 50%, 60%, and 100% levels of the active swing range to gauge market retracement depth.
Trend Continuation Insight: Helps you instantly assess whether price is holding premium/discount zones or pulling back too deeply, indicating whether a continuation is likely or if the structure is failing.
Sweep Protection: Filters out noise by only plotting confirmed swings that have remained unswept for a customizable period, keeping your chart clean and focused on valid structure.
Pullback Depth Analysis: Maps out the 0%, 40%, 50%, 60%, and 100% levels of the active swing range to gauge market retracement depth.
Trend Continuation Insight: Helps you instantly assess whether price is holding premium/discount zones or pulling back too deeply, indicating whether a continuation is likely or if the structure is failing.
Sweep Protection: Filters out noise by only plotting confirmed swings that have remained unswept for a customizable period, keeping your chart clean and focused on valid structure.
Notes de version
This update introduces zero-lag realtime range expansion, ensuring the 0% and 100% levels dynamically anchor directly to the exact bar where each swing point originates instead of lagging behind.Notes de version
The order of 40% + 60% were corrected. Notes de version
The script was updated to ensure minor internal pivot highs no longer overwrite the major swing high during an ongoing move. Additionally, direction detection was fixed so that 0%, 100%, 40%, and 60% levels automatically flip and align correctly based on whether the market structure is bullish or bearish.Notes de version
This update introduces an ATR-based minimum range filter and longer pivot lookbacks to effectively ignore minor price noise and lock onto true macro market structure swings.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.