OPEN-SOURCE SCRIPT
Adjustable Timezone Swap Highlighter

Swap Hour Candle Highlighter
This simple, lightweight indicator highlights candles that form during a specific "swap hour" or low-liquidity session by changing their color on your chart. It features a built-in timezone setting to ensure the highlighted window perfectly aligns with your local screen time.
Why this script was created:
Especially for pattern traders, swap candles can make a market structure look better or worse than it actually is. Countless times, I found myself placing too much emphasis on a structure because of candles that weren't really showing genuine price action (PA).
I built this small script to serve as a constant visual reminder that candles created during the swap hour do not hold the same weight as candles formed during highly active, liquid trading sessions. It filters out the noise so you can focus on true market volume.
Features:
This simple, lightweight indicator highlights candles that form during a specific "swap hour" or low-liquidity session by changing their color on your chart. It features a built-in timezone setting to ensure the highlighted window perfectly aligns with your local screen time.
Why this script was created:
Especially for pattern traders, swap candles can make a market structure look better or worse than it actually is. Countless times, I found myself placing too much emphasis on a structure because of candles that weren't really showing genuine price action (PA).
I built this small script to serve as a constant visual reminder that candles created during the swap hour do not hold the same weight as candles formed during highly active, liquid trading sessions. It filters out the noise so you can focus on true market volume.
Features:
- Customizable Session: Define your specific swap hour using the HHMM-HHMM format.
- Flexible Timezone Selection: A built-in timezone dropdown (e.g., GMT+8) to easily match your chart's display time.
- Fully Customizable Colors: Adjust the candle overlay color directly from the style menu to fit your chart theme.
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.