How would you code this system? Let's compare platforms.

Discussion in 'Strategy Building' started by lindq, Aug 2, 2021.

  1. lindq

    lindq

    Thanks. It's always interesting to compare results in different platforms.

    If you were an early user of Wealthlab, you may remember how excellent it was to share code and credit for system improvements. Systems were even named for the initial developer, and subsequent contributors.
     
    #21     Aug 3, 2021
  2. Yes I was there when you were (circa 99 - 01ish). There are still a few "lindq" scripts around! ;)

     
    #22     Aug 3, 2021
  3. lindq

    lindq

    LOL. I probably should have stuck with some of those early scripts over the past 20 years.
     
    #23     Aug 3, 2021
    Option_Attack likes this.
  4. #24     Aug 3, 2021
  5. MarkBrown

    MarkBrown

    eMini-SP data1 vs S&P 500 Issues NetTick

    2010- Current date

    inputOpto(124);
    var:nogo2(0),pos(0);
    if DayOfWeek(Date)<>5 then begin nogo2=1;;end;
    if (o*.98)<c[2]and c[1]<average(c,5)and c data2<c data2[1]and nogo2=0 then begin buy this bar on c;pos=1;end;
    if pos=1 then sell next bar o+opto limit;nogo2=0;

    [​IMG]
     
    #25     Aug 3, 2021
    yc47ib likes this.
  6. lindq

    lindq

    What software did you use to create the chart?
     
    #26     Aug 4, 2021
    MarkBrown likes this.
  7. MarkBrown

    MarkBrown

    multicharts - that is your system with only one exit technique rather than two, i simplified it to exit at an optomizable number of points profit.

    if pos=1 then sell next bar o+opto limit;

    if long the sell next bar at open plus a number of points on a limit.
     
    #27     Aug 4, 2021
    eee likes this.
  8. Great thread! I have used all of the other commercial tools mentioned, and RealTest (https://mhptrading.com), which was created by Market Wizard @mhparker, is much better, faster, and even easier than all of them. I think if you all switched to RealTest, you will find yourselves much happier and more productive when it comes to building your edge.




    [​IMG]
    [​IMG]
     
    Last edited: Aug 8, 2021
    #28     Aug 8, 2021
    eee, shuraver, lindq and 1 other person like this.
  9. But question is if back-testing and thereby automated trading makes sense in the daily time-frame ?
     
    #29     Sep 11, 2021