HALDRO

AIO Key Levels

HALDRO 已更新   
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.


  • - 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 :)
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?