The last best-fit parabolic

Discussion in 'Technical Analysis' started by TSOKAKIS, Sep 3, 2004.

  1. OH NO!!!!!!!!!!

    New name with only 2 posts - "Dynomitedoll" (name of Natasha at the bottom).................not another PrettyGirl ! :eek:
     
    #41     Jan 31, 2005
  2. 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.
     
    #42     Jan 31, 2005
  3. I do not know the Tradestation language. If anybody wants to make the conversion, I could explain the best-fit principles.
    I hope it helps.
     
    #43     Jan 31, 2005
  4. Now, if you want to catch a [Close, parabolic] cross for the very last bar, use the

    Filter = IIf ( g , Cross ( C , p ) , Cross ( p , C ) ) ;
    AddColumn ( g , " g " , 1.0 ) ;

    The N100 exploration for the 28/1/2005 gives 25 stocks, 12 with descending parabolic [g=1] and 13 for the ascending one [g=0].
    [I think QCOM and APOL were interesting for further analysis...]
    You could also replace C by H or L or Avg according to your plans.
     
    #44     Jan 31, 2005
  5. ____________________________________________________
    Now, if you want to catch a [Close, parabolic] cross for the very last bar, use the

    Filter = IIf ( g , Cross ( C , p ) , Cross ( p , C ) ) ;
    AddColumn ( g , " g " , 1.0 ) ;

    The N100 exploration for the 28/1/2005 gives 25 stocks, 12 with descending parabolic [g=1] and 13 for the ascending one [g=0].
    [I think QCOM and APOL were interesting for further analysis...]
    You could also replace C by H or L or Avg according to your plans.
    ____________________________________________________

    Please find attached support and resistance for entry and exit for your code(I could use this this way also i guess).A slightly higher thresh-hold for the zig > 10 gives a long term support or resistance.It is a really nice code much better and effective than most i have see around including s&c mag.Currently Developing a trading system using this .What is the significance of the fvar.How does one attenuate using it.It shoots up within a few bars and then moves slowly in opposite direction.
    Thanks for sharing this .It really is nice and charitable of you!
     
    #45     Jan 31, 2005
  6. Sorry charts not clear in previous mail.:cool:
     
    • doc1.doc
      File size:
      44.5 KB
      Views:
      252
    #46     Jan 31, 2005
  7. Nice application.
    Thank you for your comments.
    Fvar is the parabolic coefficient per bar. It is high in the beginning and then becomes smaller as the days go by. Sometimes it may go up again, when the trend becomes stronger.
     
    #47     Feb 1, 2005
  8. As you see, APOL +1.6%, QCOM +2.4%.
    I think it was not bad at all for one day.
     
    #48     Feb 1, 2005
  9. Yesterday we saw 12 descending/13 ascending crosses.
    The ratio is significantly changed today for the N100 stocks.
    7 ascending vs 15 descending.
    It is equivalent to 7 bearish vs 15 bullish signals.
    Of course it is not coincidental, as you may suppose...
     
    #49     Feb 1, 2005
  10. The last [2/2/05] N100 bar was characteristic :
    31 crosses, 29 bearish [g=0] and only 2 bullish [g=1]

    The exploration

    Filter = IIf ( g , Cross ( C , p ) , Cross ( p , C ) ) ;
    AddColumn ( g , " g " , 1.0 ) ;
    AddColumn ( t , " t " , 1.0 ) ;
    AddColumn ( ROC ( C , 1 ) , "ROC" , 1.2 ) ;

    will give the bars since the last peak/trough t and the last ROC to estimate the first "jump" after the cross.

    The result list was

    Ticker Date g t ROC
    COST 2/2/2005 1 11 0.45
    WFMI 2/2/2005 1 10 2.18
    DELL 2/2/2005 0 11 -0.41
    AMZN 2/2/2005 0 5 -1.41
    BRCM 2/2/2005 0 7 -0.76
    MERQ 2/2/2005 0 8 1.59
    CPWR 2/2/2005 0 6 1.02
    ALTR 2/2/2005 0 7 -0.42
    AMAT 2/2/2005 0 7 -0.85
    ERTS 2/2/2005 0 6 0.77
    FLEX 2/2/2005 0 6 -0.64
    GILD 2/2/2005 0 6 -2.42
    IVGN 2/2/2005 0 17 -0.10
    JNPR 2/2/2005 0 7 -2.12
    CSCO 2/2/2005 0 6 0.11
    KLAC 2/2/2005 0 9 -0.45
    LBTYA 2/2/2005 0 13 -0.13
    LLTC 2/2/2005 0 13 -1.23
    SIAL 2/2/2005 0 12 0.17
    MRVL 2/2/2005 0 7 -1.02
    MXIM 2/2/2005 0 7 -1.22
    NTAP 2/2/2005 0 5 -2.21
    NVLS 2/2/2005 0 7 -1.24
    PETM 2/2/2005 0 11 -0.72
    SNDK 2/2/2005 0 5 -0.68
    SPLS 2/2/2005 0 7 -1.44
    SYMC 2/2/2005 0 5 -1.84
    VRTS 2/2/2005 0 5 -1.75
    XLNX 2/2/2005 0 10 -0.17
    KMRT 2/2/2005 0 7 2.62
    ADSK 2/2/2005 0 7 2.25

    The t is important to judge the probable change of the trend. If the price cross the best-fit parabolic after 10 or more bars, then the trend has more reasons to change.
     
    #50     Feb 3, 2005