in Search

TASC Building Automatic Trendlines

Last post 07-22-2009, 19:57 by behealed. 8 replies.
Sort Posts: Previous Next
  •  10-23-2006, 12:41 21608

    TASC Building Automatic Trendlines

    With respect to the algorithm I presented in my article for the
    Technical Analysis of Stocks & Commodities magazine
    (November 2006 issue): "Building Automatic Trendlines":

    You can go to my commercial website:

    http://www.daedalussoft.com


    click the "Free Section" link and download the "GSautoTL.zip" file.
    The file contains an add-on for automatic construction of trendlines in Metastock
    (version 9 and above) along with a help tutorial (can be viewed with Internet Explorer).

    The add-on is freeware.

    Regards,
    Giorgos E. Siligardos
    Giorgos E. Siligardos
    http://www.daedalussoft.com
  •  10-23-2006, 22:40 21614 in reply to 21608

    Re: TASC Building Automatic Trendlines

    Hi Giorgos,

    This web site is down.

    Regards

    WT

     

  •  10-24-2006, 15:46 21624 in reply to 21614

    Re: TASC Building Automatic Trendlines

    Giorgos, just looking at the SI/GS indicators and custom DLL function.

    They seem very similar to the ZigZag function in that they definitely use hindsight to find peaks and troughs, so this tool is of very limited value for either backtesting or generating valid trading signals.


    jose '-)
    MetaStockTools.com
  •  10-25-2006, 3:28 21627 in reply to 21624

    Re: TASC Building Automatic Trendlines

    YES. The SI indicator is a variation of the ZigZag function but not identical (as mentioned in my article) and YES, this tool is of limited value for either backtesting or generating valid trading signals but that is not its purpose.

    The aim of my article (upon which this add-on is based) is to make pubicly available a step-by-step algorithm for automatic construction of trendlines (there are some commercial software that do just that, but now an algorithm  is available for free) not the presentation of a trading system.  The add-on simply implements this algorithm in Metastock and serves as a quick guide for trendline indentification (again, it is not a trading system or something similar). It is not of no value however due to a couple of reasons. First, novices will find an easy way to identify active proper trendlines (the terms "active trendline" and  "proper trendline" are defined in my article) and second, an exploration can be constructed (using the functions of the add-on) which can show at a glance which securities broke a trendline, or are very close to a trendline.

    I must mention that my algorithm is the first block of a somehow complex technique for identification of short, medium and long term trends based completely upon automatic trendlines. I have not decided yet if I will publish an article about this technique however.

    Regards,

    Giorgos E. Siligardos
    http://www.daedalussoft.com



    Giorgos E. Siligardos
    http://www.daedalussoft.com
  •  10-27-2006, 23:57 21708 in reply to 21627

    Re: TASC Building Automatic Trendlines

    Thanks for developing and sharing those plugins, Giorgos, and for making the effort to do the animated introductory walkthroughs as well.


    When you see that in order to produce, you need to obtain permission from men who produce nothing - when you see that money is flowing to those who deal, not in goods, but in favors - when you see that men get richer by graft and by pull than by work, and your laws don't protect you against them, but protect them against you - when you see corruption being rewarded and honesty becoming a self-sacrifice - you may know that your society is doomed. - Ayn Rand
  •  09-20-2008, 15:04 27912 in reply to 21608

    Re: TASC Building Automatic Trendlines

    I tried this and the SI would plot but the TL would not... any thoughts?
    "The dogs may bark, but the caravan rolls on...."
  •  10-21-2008, 23:29 28079 in reply to 27912

    Re: TASC Building Automatic Trendlines

    Guess not ;)
    "The dogs may bark, but the caravan rolls on...."
  •  10-21-2008, 23:50 28080 in reply to 28079

    Re: TASC Building Automatic Trendlines

    Those with PowerPivots might try this:

    PPivot:=Input("P 1=minor 2=intermediate 3=major 4=primary",1,4,2);
    TPivot:=Input("T -1=minor -2=intermediate -3=major -4=primary",-4,-
    1,-2);
    Mlt:=Input("ATR multiplier",0,10,0);
    FTrough := LastValue( ExtFml("Powerpivots.NthPivotPrice",Tpivot,0,1));
    STrough := LastValue( ExtFml("Powerpivots.NthPivotPrice",Tpivot,1,1));
    DeltaVerticalU := FTrough - STrough;
    DeltaHorizontalU :=
    LastValue(ExtFml("Powerpivots.BarsSinceNthPivot",Tpivot,1)) -
    LastValue(ExtFml("Powerpivots.BarsSinceNthPivot",Tpivot,0));
    DeltaPerBarU := DeltaVerticalU / DeltaHorizontalU;
    BarNoSecondTrough := LastValue(
    Cum(1) - ExtFml("Powerpivots.BarsSinceNthPivot",Tpivot,1));
    TrendD := If(Cum(1) < BarNoSecondTrough,
    BarsSince(Cum(1) >= BarNoSecondTrough),
    STrough +
    (DeltaPerBarU * (Cum(1) - BarNoSecondTrough)));
    Up:=If(FTrough >= STrough,
    TrendD,
    BarsSince(FTrough >= STrough));
    FPeak := LastValue( ExtFml("Powerpivots.NthPivotPrice",Ppivot,0,1));
    SPeak := LastValue( ExtFml("Powerpivots.NthPivotPrice",Ppivot,1,1));
    DeltaVerticalD := FPeak - SPeak;
    DeltaHorizontalD :=
    LastValue(ExtFml("Powerpivots.BarsSinceNthPivot",Ppivot,1)) -
    LastValue(ExtFml("Powerpivots.BarsSinceNthPivot",Ppivot,0));
    DeltaPerBarD := DeltaVerticalD / DeltaHorizontalD;
    BarNoSecondPeak := LastValue(
    Cum(1) - ExtFml("Powerpivots.BarsSinceNthPivot",Ppivot,1));
    TrendU := If(Cum(1) < BarNoSecondPeak,
    BarsSince(Cum(1) >= BarNoSecondPeak),
    SPeak +
    (DeltaPerBarD * (Cum(1) - BarNoSecondPeak)));
    Dn:=If(FPeak <= SPeak,
    TrendU,
    BarsSince(FPeak <= SPeak));
    X:=If(PPivot=1,ATR(5),If(PPivot=2,ATR(20),ATR(40)));
    Up+mlt*x;Up-Mlt*x;Dn+mlt*x;Dn-Mlt*x;Up;Dn

    do not remember where I got this from. I added an allowance for atr margins above and below the trend lines.

  •  07-22-2009, 19:57 30229 in reply to 21608

    Re: TASC Building Automatic Trendlines

    I have set up a live video feed to my trendlines, it is at: http://www.dualj.com/trendlines.aspx
View as RSS news feed in XML