Analysis Techniques & Strategies
Name | Expression | Default | Description |
Price | Numeric | Close | Price on which to base swing points. |
RetracePnts | Numeric | 5 | Minimum point difference between swing points to plot. |
LineColor | Numeric | Yellow | Color to use for the trendlines. |
LineWidth | Numeric | 1 | Thickness to use for the trendlines. |
The ZigZag Pnts indicator finds swing points that are distant by at least some number of points specified by the input RetracePnts. A high swing point is when the price is higher than the prices before and after it; a low swing point is when the price is lower than the prices before and after it. The color and weight of the lines drawn with this indicator may be adjusted by editing the inputs LineColor and LineWidth.
This indicator does not plot any values. When applied to a chart, this indicator displays lines connecting high and low swing points.