OPEN-SOURCE SCRIPT

Efficient Support & Resistance Levels

Mis à jour
This script is a mixture of my two previous scripts "True Strong Classical Support/Resistance Levels" and "Hidden Supports & Resistances + Round Levels". This combination brings on better identification of the most efficient support/resistance levels.

Note that "Hidden SnR Levels" part of the code is only expected to work on Forex charts, but apart from that, the other parts could be applied to any chart.

The script may:
- Draw classical support/resistance levels which retraced the price previously, aided by multi-timeframe analysis
- Draw hidden support/resistance levels based on psychological patterns of the price
- Adjust to wicks better than Pine Script built-in pivot functions
- Differ the levels color based on chart reactions
- Merge nearby classical levels to avoid congestion on the chart

Feel free to use it and send me your thoughts.
Notes de version
Count of levels on the chart has been increased.
Notes de version
Major Update!

Finally Pine Script added support for lines to arrays and made me to update some of my scripts like this one. So:
- Now user could define the count of most recent detected levels to be drawn on the chart
- Levels detection now works better than before
- Many levels which would be lost because of the language limitations are now fully present on the chart
- All detected types of levels could now be combined
- From now on, Forex-specific levels will be automatically hidden on non-Forex charts

This is my most complete S/R indicator so far and you could switch from all my previous ones to this one. Good luck!
Notes de version
Fixed some small bugs.
Added an option and a procedure of auto-detecting proper distance to combine nearby levels on the chart, so:
- There is no more need to manually set the minimum ticks in case of time-frame and/or asset changes.
- The proper distance will be calculated dynamically and maybe change relative to the chart and bars conditions.
Notes de version
- A tweak to automatic calculation of the distances
Notes de version
- Fixed some bugs
- Fixed disappearance of round levels in some cases
- Removed visible levels count limit (Practically it's at most 500 because of Pine Script limitation)
ATRclassicalForexhiddenlevelsmtfmulti-timeframe-analysispsychologicalroundSupport and Resistance

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité