Hi guys,
I'm looking for some advice, and not sure if this is possible. So I have open a discussion regarding this topic. I would like to plot the zig formula with its actual turning points, rather than when zig turns ( to your percentage, you give it in the formula), and reverts back to its last previous high or low. I hope this makes sense. The reason for this is this. when you code for example the line to be down, that is all great, BUT, when the zig eventually turns, all the bars that were previously down will disappear, as the ZIG turning point reverts back to a previous low point. So I would like to see, when zig turns (to your %), those actual turning points.
MA20 = MA(C,20);
MA20ZIG = Zig(MA20,0.1);
Plot(MA20,"20ma ",colorBlue,styleDashed,0,0,0,0,2);
Plot(MA20ZIG,"20ma zig",colorYellow,styleLine,0,0,0,0,5);``
![ZIG|690x285](upload://h3qwRJ3CTkPKBdbA3kEWAKUojSy.png)
In this example, the Yellow is the zig and the Blue is the actual 20MA.
The red is a drawn in line of guessing, just to illustrate this point, of what it could look like. Any thoughts/advice on this would be greatly appreciated.
Thanks.