Stronger Classical Support/Resistance + Round Levels

I wrote some Support/Resistance scripts before this. In this new script, I implemented the logic of the code from the scratch, so it's very different from my previous S/R indicators and I think it's more advanced , accurate and efficient.
As the result it could do the followings for now:
- Draw more strong classical resistance/support levels by checking previous direction changes of the chart as far as Pine technically allows
- Colorize the levels based on the counted points of retracement/pullback (The darker the color is, the stronger the level is.)
- Show the number of reactions to each level
- Change the color of each level based on its main role as support, resistance or both
- Draw close round levels to current price for Forex pairs

I suggest all users of my previous S/R indicators to try this one.
Feel free to send me any issue or opinion!
Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go dodać do ulubionych, żeby używać go na wykresie.

Chcesz użyć tego skryptu na wykresie?


Thank you!
+1 Odpowiedz
informanerd drmch2020
@drmch2020, you're welcome!
Fantastic script. Thanks for sharing. For people using a dark tradingview theme, changing roundColor from black to white should work, right? If so it would be a nice improvement to the script to allow to switch from dark to bright theme. Thanks.
informanerd Hurricane1973
@Hurricane1973, Thank you! Of course there is the option to change level colors in the indicator settings. You could change them as you wish.
Thanks sir
informanerd santoshmdhas
@santoshmdhas, You're welcome
Dear sir, what is the green color line indicates about?..and the value indicated on each line is for which purpose??
informanerd breather36
@breather36, Green means the level recently acted only as support. That's the count of rejections the level made.
Dear sir first of all thanks for great indicator. I could not see some of the s/R line but number is still show on screen .