ZigZag HighLow Repaint


Category:
0
0

Hello, I am interested in seeing the true accuracy of the ZigZag HighLow study. I am aware it repaints but looking at the code I wasn’t able to decipher where exactly it repaints. I have two questions: Is it possible to tweak the study so it will not repaint or does the nature of it using High and Lows make it always repaint. My second question is at what point will it repaint and what line of the code states this. I am looking at the built in ZigZagHighLow indicator in thinkorswim.

 

Thanks for the help and can post code if need be.

Marked as spam
Posted by (Questions: 6, Answers: 4)
Asked on June 12, 2020 8:39 am
933 views
0
Private answer

The repainting issue is at the very core of all the ZigZag studies. There is no way to remove that without completely destroying it's structure. The reason for this is that is always uses future data in forming it's plots. That's why it appears to be so darn accurate. Very similar to the TTM Scalper Alert. It is impossible to trade any of it's signals unless you can go back in time and make trades based on what happens several bars into the future.

In summary, all ZigZag studies are mostly useless. The only value they provide is to train the eye to see the structure of the market, higher highs and high lowers and vise versa. If you want something similar that does produce tradeable signals then you should be using the Williams Fractal Pattern. Details in this previous post:

https://www.hahn-tech.com/ans/short-intermediate-long-term-swing-points/

There are other posts on this topic too. Just search for "Williams Fractal" in this forum.

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on June 12, 2020 10:26 am
0
Thank you very much for the quick response! I will look into the Williams Fractal as an alternative to the ZigZag
( at June 12, 2020 10:56 am)