I wouldn't call myself very knowledgeable with AB! Not sure exactly what you mean by "linear Zig /Peak/Trough".
It appears they have several auto plots (channel etc) ... referencing the first auto trend line example. IMO it is not based on Zig Zag but it could be described at linear peak/trough. It looks like they use a version of peak, or trough, to identify the start of a trend and then use cross of the current trend line as the trend end. Note that there are several versions of a peak and trough around ... personally I don't agree with them except for the most simple definition e.g. a peak == lower high, higher high and lower high across three consecutive bars (it can also be 2.1.2 bars for a more conservative approach but I don't like that as much as 1.1.1). Once you have two lower highs (peaks) then you have a downtrend (according to this model). >From their example there are a couple of minor trends missing but the rest of it fits the model. I have coded peaks and troughs (and variations thereon) in this way but I havenot tried to plot an auto trend line. I have plotted lines that visually give the exact same info, or that could trigger a coded response to the end of a 'trend' BUT they were not trend lines as such (I considered each lower low/higher high as a natural support or resistance line). I don't have the code handy although I could possibly find it (I don't archive code because it makes me mentally lazy and too attached to old trading ideas ... if and when I reinstall AB I start afresh with no saved AFL) ... possibly I have a hard copy, or a AFL file somewhere on an old drive, left over from my archiving days. If I trip over it, with a quick search I will post it ... if I don't post it that indicates I burnt the code (sorry I can't take time out to renew research on trendlines at the moment). If you are interested in pattern recognition then Thomas.Z and PatternExplorer are worth a thought. Ensign seem to also have auto Gann lines and Fibo lines. I think Bill Seward is a Gann and Fibonacci guy and his work may also be worth consideration. Either of them might provide a leg up. http://www.amibroker.com/links.html If you like doing it yourself there must be some code around somewhere that attmempts autotrends. brian_z --- In [email protected], "Tim" <[EMAIL PROTECTED]> wrote: > > What do you think they are using in this Ensign study called Auto > trends. Is it zig zag , or linear Zig /Peak/Trough. Perhaps some of > the members who are very knowledgeable with Amibroker can tell me. > Here is the url for the Ensign study: > > http://ensign.editme.com/t58analysis > > Thank you for your thoughts on this matter. > > Kindest regards, > > Tim >
