ZZ SR (ZigZag Support Resistance) is a smart chart-based indicator that combines classic ZigZag swing detection with automatic support and resistance mapping. It identifies significant market turning points and projects them forward as horizontal levels, helping traders visually understand where price has previously reacted and where it may react again.

The indicator uses a ZigZag algorithm controlled by Depth, Deviation, and Backstep to filter out market noise and focus only on meaningful highs and lows. Each confirmed peak and bottom is plotted directly on the chart with color-coded ZigZag lines, making market structure clear at a glance. From these swing points, the indicator draws horizontal support (from bottoms) and resistance (from peaks) lines that extend until price decisively breaks them. This dynamic behavior keeps the chart clean and relevant to current price action.

ZZ SR is highly customizable. You can choose to display only the ZigZag, only support/resistance lines, or both. Colors for peaks, bottoms, and horizontal levels can be adjusted to fit any chart theme. The Number of past ZigZag points option lets you control how many historical levels are shown, avoiding clutter while keeping the most important zones visible.