OPEN-SOURCE SCRIPT
已更新 Daily Weekly Monthly Yearly Opens Labelled - >30min Timeframes

█ OVERVIEW
The "Daily Weekly Monthly Yearly Opens" indicator plots the opening prices for daily, weekly, monthly, and yearly timeframes on your chart. This visual aid helps traders quickly identify critical levels across multiple timeframes, providing a comprehensive view of market dynamics.
█ FEATURES
• Daily Opens: Plots the opening prices of daily candles. The color, visibility, and lookback period are customizable.
• Weekly Opens: Displays the opening prices of weekly candles. Users can adjust the color, visibility, and lookback period.
• Monthly Opens: Shows the opening prices of monthly candles with options for color, visibility, and lookback period.
• Yearly Opens: Marks the opening prices of yearly candles. Customizable features include color, visibility, and lookback period.
• Date Display Format: Allows selection between three date formats: "Names" (e.g., "Monday", "January"), "MM/DD/YY", and "DD/MM/YY".
• Show Tails: Option to extend the last opening prices to the left of historical bars.
• Discover Prices: Enables discovering the opening prices from intraday charts, useful when there are discrepancies between intraday and higher timeframes.
• Extended Hours: Option to discover the opening prices from extended trading hours if available.
• Offset: Adjust the offset for extending lines to the right of the chart.
• Highlight Most Recent Opens: Highlights the most recent opening prices for better visibility.
█ HOW TO USE
1. Add the indicator to your chart.
2. Customize the settings according to your preference:
- Enable or disable daily, weekly, monthly, and yearly opens.
- Set the colors for each timeframe's lines.
- Adjust the lookback period to control how many past opens are displayed.
- Choose the date display format to show names, MM/DD/YY, or DD/MM/YY.
- Enable tails to extend the lines of the last opening prices to the left.
- Use the discover prices option for intraday discrepancies.
- Enable extended hours if needed.
- Adjust the offset to extend lines further to the right.
- Highlight the most recent opening prices for better visual distinction.
3. Observe the lines and labels on the chart, which provide critical open levels for different timeframes, aiding in making informed trading decisions.
█ NOTES
This indicator is particularly useful for identifying support and resistance levels based on the opening prices of different timeframes. By having a clear view of these levels, traders can better plan their entries and exits, anticipate market movements, and manage risk more effectively.
█ THANKS
Special thanks to the original creator, sbtnc, for their foundational work. This version includes enhancements and additional features provided by GreatestUsername.
The "Daily Weekly Monthly Yearly Opens" indicator plots the opening prices for daily, weekly, monthly, and yearly timeframes on your chart. This visual aid helps traders quickly identify critical levels across multiple timeframes, providing a comprehensive view of market dynamics.
█ FEATURES
• Daily Opens: Plots the opening prices of daily candles. The color, visibility, and lookback period are customizable.
• Weekly Opens: Displays the opening prices of weekly candles. Users can adjust the color, visibility, and lookback period.
• Monthly Opens: Shows the opening prices of monthly candles with options for color, visibility, and lookback period.
• Yearly Opens: Marks the opening prices of yearly candles. Customizable features include color, visibility, and lookback period.
• Date Display Format: Allows selection between three date formats: "Names" (e.g., "Monday", "January"), "MM/DD/YY", and "DD/MM/YY".
• Show Tails: Option to extend the last opening prices to the left of historical bars.
• Discover Prices: Enables discovering the opening prices from intraday charts, useful when there are discrepancies between intraday and higher timeframes.
• Extended Hours: Option to discover the opening prices from extended trading hours if available.
• Offset: Adjust the offset for extending lines to the right of the chart.
• Highlight Most Recent Opens: Highlights the most recent opening prices for better visibility.
█ HOW TO USE
1. Add the indicator to your chart.
2. Customize the settings according to your preference:
- Enable or disable daily, weekly, monthly, and yearly opens.
- Set the colors for each timeframe's lines.
- Adjust the lookback period to control how many past opens are displayed.
- Choose the date display format to show names, MM/DD/YY, or DD/MM/YY.
- Enable tails to extend the lines of the last opening prices to the left.
- Use the discover prices option for intraday discrepancies.
- Enable extended hours if needed.
- Adjust the offset to extend lines further to the right.
- Highlight the most recent opening prices for better visual distinction.
3. Observe the lines and labels on the chart, which provide critical open levels for different timeframes, aiding in making informed trading decisions.
█ NOTES
This indicator is particularly useful for identifying support and resistance levels based on the opening prices of different timeframes. By having a clear view of these levels, traders can better plan their entries and exits, anticipate market movements, and manage risk more effectively.
█ THANKS
Special thanks to the original creator, sbtnc, for their foundational work. This version includes enhancements and additional features provided by GreatestUsername.
版本注释
Allowed customized size of labels and lines版本注释
Updated settings layout and max value for line thickness版本注释
Added New York and London market opens for the hour版本注释
Corrected NY Open time to 13:30Added calculations for different timeframes
版本注释
- NY Open only shows on timeframes 30 minutes or less版本注释
- Fixed daily time calculation版本注释
- Show NY Open on higher timeframes than 30 minutes版本注释
- Changed NY Open to daily and below. (Weekly didn't make sense)版本注释
- Fixed bar index out of range error版本注释
Added daylight savings time for London and NY Opens版本注释
Updated London Open time during daylight savings to 700 UTC开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。