OPEN-SOURCE SCRIPT
更新済 Period Highlighter Pro

Period Highlighter Pro is a versatile Pine Script indicator designed to visually highlight specific time periods on your TradingView charts, making it easier to analyze seasonal patterns, trading sessions, or specific weekdays. With customizable settings for months, weekdays, or intraday time ranges, this tool adapts to your trading strategy, allowing you to focus on key periods with precision.
Features
How It Works
Select a highlight mode and configure the corresponding settings:
Use Cases
Why Use Period Highlighter Pro?
This indicator simplifies time-based analysis by providing a clear visual overlay for your chosen periods. Whether you're studying historical trends or focusing on specific trading hours, Period Highlighter Pro offers the flexibility and precision to enhance your chart analysis.
Licensed under the Mozilla Public License 2.0.
Features
- Flexible Highlight Modes: Choose from three modes to highlight:
- Month Range: Highlight specific months or a range (e.g., March to June) for seasonal analysis.
- Weekday Range: Highlight specific weekdays (e.g., Mondays or Monday to Wednesday) for weekly pattern analysis.
- Time Range: Highlight daily time windows (e.g., 15:30–22:00) for intraday session analysis, restricted to weekdays.
- Customizable Timezone: Set any IANA timezone (e.g., America/New_York, Europe/London) or UTC offset to align highlights with your preferred market hours.
- Historical Range Control: Define how far back to apply highlights with options for years (Month Range), weeks (Weekday Range), or days (Time Range).
- Visual Customization: Choose your highlight color to match your chart style.
- User-Friendly Inputs: Intuitive dropdowns and tooltips guide you through configuring each mode, ensuring only relevant settings are adjusted.
How It Works
Select a highlight mode and configure the corresponding settings:
- Month Range: Pick a start month and an optional end month (or "Disabled" for a single month) and set the number of years back.
- Weekday Range: Choose a start weekday and an optional end weekday (or "Disabled" for a single day) and set the number of weeks back.
- Time Range: Specify a start and end time (24-hour format) and the number of weekdays back. The indicator then applies a semi-transparent background color to chart bars that meet your criteria, making it easy to spot relevant periods.
Use Cases
- Seasonal Traders: Highlight specific months to analyze recurring market patterns.
- Day Traders: Focus on active trading sessions (e.g., New York open) with precise time range highlighting.
- Weekly Pattern Analysts: Isolate specific weekdays to study price behavior.
- Global Traders: Adjust for any timezone to align with your market of interest.
Why Use Period Highlighter Pro?
This indicator simplifies time-based analysis by providing a clear visual overlay for your chosen periods. Whether you're studying historical trends or focusing on specific trading hours, Period Highlighter Pro offers the flexibility and precision to enhance your chart analysis.
Licensed under the Mozilla Public License 2.0.
リリースノート
Period Highlighter Pro is a versatile Pine Script indicator designed to visually highlight specific time periods on your TradingView charts, making it easier to analyze seasonal patterns, trading sessions, or specific weekdays. With customizable settings for months, weekdays, or intraday time ranges, this tool adapts to your trading strategy, allowing you to focus on key periods with precision.リリースノート
Fixed some stuff and cleand up some code.オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。