OPEN-SOURCE SCRIPT

AIO Key Levels

Updated
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.
Release Notes
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.
Release Notes
A little hotfix :)
Release Notes
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.
Release Notes
  1. Added Priority of High Timeframe Levels (TFP).
Fundamental AnalysishighkeylevellevellevelsLOWohlcopenoptionsTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer