OPEN-SOURCE SCRIPT
Mis à jour 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.
Notes de version
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.
Notes de version
A little hotfix :)Notes de version
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.
Notes de version
- Added Priority of High Timeframe Levels (TFP).
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit de TradingView, le créateur de ce script l'a rendu open-source, afin que les traders puissent examiner et vérifier sa fonctionnalité. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.