OPEN-SOURCE SCRIPT

Support and Resistance

Updated
what is "Support and Resistance"?
it is a support and resistance indicator.

what it does?
it draw support and resistance zones on the chart.

how it does it?
It determines the zones where the price leaves with a big candle after going horizontal for a while as support or resistance zones according to the price movement direction. while doing this, it compares the size of the candles and the elapsed time.

how to use it?
Red zones represent resistance and green zones represent support. You can buy in the support zone or sell in the resistance zone. my advice is to make your own interpretation by taking into account the price movement with different indicators. they are considered useful if there is a closure beyond the zones. otherwise, they continue to be shifted to the right.

notice: As new zones are created, old ones may disappear. so it might be wise to draw boxes using drawing tools where the old zones are.

Support and resistance are very important concepts for technical analysis. so I am thinking of updating and improving this indicator many times in the long run. but I couldn't wait long to post it.

examples:
snapshot
snapshot
snapshot
snapshot
snapshot
Release Notes
added input to change transp.
added 4 extra zones (2 buy and 2 sell).
snapshot
Release Notes
The indicator has become more efficient so you will no longer get an error when new bars are added.
second important change: you will now be able to see the previous signals by changing the inputs in the settings section
Release Notes
Minor changes.
Release Notes
color option added.
resistancesresistenceressistancesupply_and_demandsupplyandemandzonesSupply ZonesupportSupport and Resistancesupportandresistancezonessupports

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