Support Board
Date/Time: Tue, 16 Dec 2025 15:54:14 +0000
Post From: Average of ZigZag Length
| [2017-06-21 09:52:54] |
| Neo - Posts: 198 |
|
The Zigzag line length implementation is correct, you can visually replicate +/- swing movements from the picture posted, as shown by the green/ red squares, and horizontal profile ( see pic) - This can all be shown in 1 chart region. however, the horizontal profile will only show visable chart bars, and not all bars loaded on the chart. @ SC Engineering: The moving average implementation looks wrong. -You need 2 x moving average studies- 1x moving average that ignores chart bars on the lookback and only calculates on subgraph values > 0, and 1 x moving average that ignores chart bars on the look back and only calculates on subgraph values <0. Then if you wanted to measure "normal" versus an "extreme" zigzag length in either direction, you would do a comparison of the CurrentSubgrpah/ AverageSubgrpah. Date Time Of Last Edit: 2017-06-21 09:53:24
|
| |
