Quote from TSOKAKIS:
Note that perc is used for peaks/troughs recognition through zig() function. This will introduce a delay, a peak will be recognized as a peak when the price will drop by perc%. When you increase perc, you need more bars to recognize the last peak/trough. I use perc=3 to perc=5 for EOD.
Hello Dimitris,
I'm glad i found you here!
I love your parabolic trendline code.
As for the Dutch ^AEX the parabolic trendline is there from 25-10-2004 with perc=3.
The problem is, you miss a lot of points at the end, while still ascending. When I take perc=1 the parabolic is much shorter, but the candles are on the left side of the parabolic, so profitable.
Is it possible to work with the peak en troughs, say from the last 40 bars or is changing to a lower perc a better option?
Tia,
Sjaak