Momentum-based ZigZag (incl. QQE) NON-REPAINTING
Published on MillionChart by TradeMasterX.
This is a non-repainting ZigZag that follows momentum instead of waiting for a fixed number of candles to confirm a pivot. The author's idea is that once momentum reverses, the reversal is already real, so the highest or lowest point of the previous impulse can be marked immediately without a delay set by the user.
How it works:
- You pick a momentum source, such as MACD, a single moving average, or QQE, which is an improved version of work by JustUncleL, who in turn built on Glaz. A selector lets you switch between options, similar to many moving average tools.
- When the chosen momentum reverses, the extreme of the preceding impulse is captured and the ZigZag line is drawn.
- The indicator does not repaint. Lines can look slightly later than other ZigZags, but they are printed at the moment the pivot was actually recognised, not earlier.
- It also marks which impulses carried strength, so you can see when a move is progressing without force, which often occurs before a reversal of a larger move.
Credits: thanks to JustUncleL and Glaz for the QQE code.