informanerd

True Strong Classical Support/Resistance Levels

informanerd Updated   
This script is based on the approach of filtering signals by checking higher timeframes.
So basically setting higher numbers in "Strength Of Levels" option, will make the indicator check for support and/or resistance levels in timeframes higher than the current.
Unfortunately, I was forced to still use inefficient built-in functions pivothigh() and pivotlow(). I hope they fix them up soon!
I'm looking for any opinion about the idea and if you like any of my scripts, anything you send means a lot to me.

This script is published for the third time because of some moderators absurd behavior.
But thank heavens, the code is now more clean and of course the option "Strength Of Levels" accepts float numbers.
Release Notes:
Major Update!
I replaced Pine Script built-in pivot functions with my own codes which lead to:

- Better adjustment of levels to wicks
- Different colored levels based on their reactions till now (Green: Just Support, Red: Just Resistance, Blue: Probably Both)
- Combining of nearby levels to avoid congestion on chart
- Ability to highlight even stronger (combined) levels

So check new options and send me your thoughts.
Release Notes:
Small coding tweaks!
Release Notes:
Count of levels on the chart has been increased.
Release Notes:
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

Good Luck!
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?