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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。