OPEN-SOURCE SCRIPT

Support and Resistance plotter

Updated
The script uses high/low/higher high/lower low for Support and Resistance identification but takes into account only pivots with wick making low/high opposite to candle body. Such candles point to hard market swings into during candle timeframe.
Price usually come bake to such levels and make double top/bottom, divergences on different osc or starts a new trend if this level is broken.
snapshot
If Support lvl and Resistance lvl meets the movement of price in the direction from this combined lvl is much accelerated.
examples
snapshot
snapshot
Release Notes
added bar colors for better trend visualization - close over support and resistance = green, above = red
Candlestick AnalysisSupport and ResistanceTrend 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