Even Simpler Profitable Method

Discussion in 'Technical Analysis' started by panzerman, Jan 16, 2007.

  1. If anyone's interested, here's the code I used for testing:


    #Even Simpler Strategy
    my $Units = 0;
    #Entry Conditions
    #Entry Long
    if (Now(Close) > Previous(High))
    {
    if (LongPosition)
    {
    return;
    }
    if (ShortPosition)
    {
    $Units = 200;
    }
    else
    {
    $Units = 100;
    }
    BuyOpen('U',$Units);
    }
    #Entry Short
    if (Now(Close) < Previous(Low))
    {
    if (ShortPosition)
    {
    return;
    }
    if (LongPosition)
    {
    $Units = 200;
    }
    else
    {
    $Units = 100;
    }
    SellOpen('U',$Units);
    }
     
    #31     Jan 19, 2007
  2. mjh

    mjh


    What time frame are u suggesting 1 min 2 min 3 min etc.?

    mjh
     
    #32     Jan 19, 2007
  3. Smart guy :)
     
    #33     Jan 19, 2007
  4. panzerman

    panzerman

    First off, thanks everyone for all the great input in this thread. Yes, any time frame should be as valid as the next. From a practical viewpoint however , if you used one minute bars and manually entered orders, you would realy need to be on the ball. I have been experimenting with five minute and daily bars.

    This really is analogous to a short term Turtle system or one bar break charting system.
     
    #34     Jan 19, 2007
  5. jtnet

    jtnet

    what backtest software

     
    #35     Jan 19, 2007
  6. I coded that in Seer - wwww.seertrading.com

    It uses an event-driven Perl-based script so it's much faster to write code for than delphi-based tools like Wealthlab.

    Sorry about the lack of indentation - it was indented when I pasted it.
     
    #36     Jan 19, 2007
  7. nkhoi

    nkhoi

    digging deep into ET archive I found Dizzyspell method
     
    #37     Jan 29, 2007