OPEN-SOURCE SCRIPT
已更新 AIO Key Levels

All In One Key Levels - Displays key levels for any type of chart.
Over 30 levels at your complete disposal.
Filled with a host of features that allow you to customise the appearance and display of the indicator to suit your individual trading style.
The result is a clear and concise indicator that helps traders easily identify key levels.
For Pine coders.
Why did I create it when there are many counterparts?
Simply because counterparts have very large and complex code and modest functionality and flex.
Here I have managed to fit it into 100 lines still readable.
You can learn how to call lots of lines and marks with just one function.
I also created a unique loop that connects labels if they are too close together for better visibility on a plot.
I have left detailed comments for each action.
I would be glad if someone could tell me how to make it more easier.
Over 30 levels at your complete disposal.
Filled with a host of features that allow you to customise the appearance and display of the indicator to suit your individual trading style.
The result is a clear and concise indicator that helps traders easily identify key levels.
- - The indicator is easy to use and does not need a detailed description.
- - With customisable input parameters such as display style, line style, font style, offset, threshold and index.
- - The colours for the key levels can also be customised.
- - The script uses a 'switch' function and selected input parameters to set display, line and font styles.
- - The key levels are constructed using the data received and the selected styles and colours.
- - A unique cycle helps to improve the readability of the levels without "polluting" the graph with multiple labels
- - In addition, I have left hints in the indicator to help you understand it better.
For Pine coders.
Why did I create it when there are many counterparts?
Simply because counterparts have very large and complex code and modest functionality and flex.
Here I have managed to fit it into 100 lines still readable.
You can learn how to call lots of lines and marks with just one function.
I also created a unique loop that connects labels if they are too close together for better visibility on a plot.
I have left detailed comments for each action.
I would be glad if someone could tell me how to make it more easier.
版本注释
Improved the loop to merge labels at close price levels. Added the ability to change the position of the labels. By default they are centered.
版本注释
A little hotfix :)版本注释
Small but useful update!Added:
- Show level price.
- Ability to display any day of the week in any time zone.
- Ability to display the level at any time in any time zone. For example New York Open.
- More ToolTips.
Modified:
- Now the current and previos levels have the same color for easier customization.
- It is now possible to disable some type of levels at once with one click.
- The level setting as a whole now has an easier way to adjust.
- A way to manage colors.
版本注释
- Added Priority of High Timeframe Levels (TFP).
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。