Discretionary traders often use support and resistance zones that are based on past price action of the instrument traded.
This simple script is used to plot support and resistance zones for a given instrument. The data for the zones themselves has to be determined by the past price action of the instrument and are not based on the provided data by Tradingview.
The zones input has to come as a string. Each zone consists of a string with: "<low(number)>,<high(number)>,<"S"|"R"|"L">,<"Normal"|"Strong">"" The different zone strings have to be seperated by either new line or space.
An example for the zones input looks like:
3919.25,3919.25,L,Normal
3897.50,3906.50,R,Normal
3891.00,3894.50,S,Strong
I appreciate any feedback.