Re: Contra Buying System Tester

  •  01-12-2008, 21:58

    Re: Contra Buying System Tester

    hey stocktester..... to sell at a set time after opening you can use the barssince function in a manner like below.....h

     

    buy when 10 crosses the 20

    //--------------------------

    a:=mov(c,10,s);
    aa:=mov(c,20,s);

    cross(a,aa);

    //-------------------------

     

    sell 3 bars after the 10 crosses the 20

    //-----------------------

    a:=mov(c,10,s);
    aa:=mov(c,20,s);

     BarsSince(cross(a,aa) ) =3;

    //------------------------

     

     

View Complete Thread