OPEN-SOURCE SCRIPT
已更新 High Volume Price Levels x3

This script detects recent huge volume areas to help you finding out good support and resistance levels.
For each of the3 periods (defaults : 100, 200, 500) a new line will be drawn from the last time the volume amount exceeded n% (default 99%) of the highest volume on the same period, to the next occurence.
Most of time, these lines represent strong support and resistance levels which can be helpful in your technical analysis.
Options:
Notes:
* Sometimes, the last detected level from every periods can be the same at the same moment. In this situation, you'll only see one or two of the lines instead of three.
* I'd like to figure out how to continuously draw every interesting levels without making the chart unreadable. Of course this script will be updated if I find a good way to do it.
* Feel free to suggest any improvements/modifications.
Example:

For each of the3 periods (defaults : 100, 200, 500) a new line will be drawn from the last time the volume amount exceeded n% (default 99%) of the highest volume on the same period, to the next occurence.
Most of time, these lines represent strong support and resistance levels which can be helpful in your technical analysis.
Options:
- Volume trigger level: represents the minimum % of the highest volume within the given period on which you want to draw a new price level. (But higher this % is, stronger the levels will be)
- Periods: The reference periods for high volume detection.
- Show period: Enable/Disable the use of any period.
- Period Color: Select a color correspondig to each period.
- Show current levels only: Disable drawing of previous levels, to display current levels only.
- Extend last level: Extend current lines to right/left/both or none sides of your chart.
Notes:
* Sometimes, the last detected level from every periods can be the same at the same moment. In this situation, you'll only see one or two of the lines instead of three.
* I'd like to figure out how to continuously draw every interesting levels without making the chart unreadable. Of course this script will be updated if I find a good way to do it.
* Feel free to suggest any improvements/modifications.
Example:
版本注释
Demo chart updated. Previous levels drawn版本注释
- Corrected mistyped short title
- A "Ghost lines" option that extend 3rd period price lines has been added (activated by default)
- Previous levels are now colored in gray
版本注释
Fix wrong operator in the previous update 1min (ago)版本注释
fix: old lines corresponding to 3rd price level still in red instead of gray when ghost lines are disabled版本注释
fix: tiny display bug for period1 linefix: removing useless empty lines
fix: any line width is now fixed to 3
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。