OPEN-SOURCE SCRIPT

Hull ZigZag

Updated
A simple indicator I use to filter out noise. it tracks reversals of a Hull Moving Average, which ultimately highlights short term trends and potential chart patterns. I've also included an option to project the most recent trend forward, if that is something you would like to tinker with.
Release Notes
Added a second trendline to indicate if price trend is accelerating or decelerating. The gray line will follow the colored one, the angle between the lines is indicative of the change in momentum.

- if GREEN line is above (RED below) the gray, the trend is parabolic.
- if GREEN line (or RED) is near gray, the trend is linear.
- if GREEN line is below (RED above) the gray, the trend is consolidating.
Release Notes
Added max_bars_back to weed out a bug that causes intermittent errors upon loading.
Release Notes
just to update picture
Chart patternsHull Moving Average (HMA)Zig Zag Indicator

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