OPEN-SOURCE SCRIPT
已更新 Pivot Levels [UkutaLabs]

█ OVERVIEW
The Pivot Levels Indicator provides real-time insight into key price levels within the market that can serve as powerful support and resistance levels. These levels are based on currently-relevant price-action information to ensure that the lines being drawn provide the most value to traders regardless of their trading style.
The aim of this script is to simplify the trading experience of users by automatically identifying and displaying price levels that they should be aware of.
█ USAGE
At the beginning of each trading day, the script will identify the previous day’s hlc3 level. We refer to this level as the day’s Source Level, and it is from this price that the other Resistance and Support levels are calculated.
The script then identifies the total price range of the previous day (Previous Day High - Previous Day Low), then draws Resistance and Support lines based on the Source Level and the previous day’s range.
The script identifies these levels on both sides of the Source. Levels above the Source are considered to be points of Resistance and below the Source are considered to be Support, but the levels are free to be interpreted and used in whatever way fits the user’s trading strategy.
A label is drawn at the end of each line that identifies the line and whether it represents support or resistance. These labels can be disabled in the settings.
█ SETTINGS
Configuration
• Show Labels: Determines whether or not labels are displayed at the end of each line.
• Display Mode: Determines the number of days for the script to load.
Line Settings
• Resistance Color: Determines the color of the resistance lines and labels above the Source Level.
• Source Color: Determines the color of the source line and label.
• Support Color: Determines the color of the support lines and labels below the Source Level.
• Line width: Determines the width of lines.
• Line Style: Determines the style of lines.
The Pivot Levels Indicator provides real-time insight into key price levels within the market that can serve as powerful support and resistance levels. These levels are based on currently-relevant price-action information to ensure that the lines being drawn provide the most value to traders regardless of their trading style.
The aim of this script is to simplify the trading experience of users by automatically identifying and displaying price levels that they should be aware of.
█ USAGE
At the beginning of each trading day, the script will identify the previous day’s hlc3 level. We refer to this level as the day’s Source Level, and it is from this price that the other Resistance and Support levels are calculated.
The script then identifies the total price range of the previous day (Previous Day High - Previous Day Low), then draws Resistance and Support lines based on the Source Level and the previous day’s range.
The script identifies these levels on both sides of the Source. Levels above the Source are considered to be points of Resistance and below the Source are considered to be Support, but the levels are free to be interpreted and used in whatever way fits the user’s trading strategy.
A label is drawn at the end of each line that identifies the line and whether it represents support or resistance. These labels can be disabled in the settings.
█ SETTINGS
Configuration
• Show Labels: Determines whether or not labels are displayed at the end of each line.
• Display Mode: Determines the number of days for the script to load.
Line Settings
• Resistance Color: Determines the color of the resistance lines and labels above the Source Level.
• Source Color: Determines the color of the source line and label.
• Support Color: Determines the color of the support lines and labels below the Source Level.
• Line width: Determines the width of lines.
• Line Style: Determines the style of lines.
版本注释
• Added a new setting: Timeframe. This setting gives users the ability to choose whether Pivot Levels will be drawn based on the daily, weekly or monthly timeframe.• Added a new setting: Font Size. This settings gives users the ability to change the font size of labels, improving the user experience on mobile devices.
版本注释
- Changed default load period to one day.- Added ability to change alignment of labels.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。