Wanted: small code snippet for reinvestment

Forums ProRealTime English forum ProOrder support Wanted: small code snippet for reinvestment

Viewing 9 posts - 61 through 69 (of 69 total)
  • #59285

    I stripped this of everything that does not appear to be necessary (no seasonal stuff, no order cumulation, position size always = 1), and the results still look almost to good to be true. Backtest done in tick-by-tick mode.

     

    So, probably it is just a matter of overfitting, because so many different parameters and conditions are used. Stop loss and target profit are both 1.7 % (percent !), so I don’t see a problem here. Short average duration of positions may be a problem, but I am not sure,

    DAX-4-Stunden

     

     

     

    #59291

    Stop loss and target profit are both 1.7 % (percent !)

    Aaaah! Well spotted. I need new glasses as I didn’t see the %! Still how often does the market move 1.7% in 7 seconds? Aaaaah! Just spotted my second error – it is a German screen and an s in German is an h in English!

    #59292

    Stop loss and target profit are both 1.7 % (percent !)

    Aaaah! Well spotted. I need new glasses as I didn’t see the %! Still how often does the market move 1.7% in 7 seconds?

    This is on a 4 hour chart, and stops or targets are rarely reached.

    #59294

    I’ve just tested it (after putting my glasses on) and it does seem incredible – but so many different indicators for longs and so many totally different indicators for shorts rings alarm bells for curve fitting and also the quarterly graph is a lovely bell curve which also rings alarm bells. I’ll shove it on demo as a ‘fun to watch’ I think.

    Screenshot_8

    #59297

    but so many different indicators for longs and so many totally different indicators for shorts rings alarm bells

     

    I guess that’s the point.

    #59298

    I’ll shove it on demo as a ‘fun to watch’ I think.

    No I won’t as the DPO indicator is not allowed in automatic trading.

    #59299

    No I won’t as the DPO indicator is not allowed in automatic trading.

    Ahh, so this is another point. DPO is like zig zag, it repaints the past, and cannot be used for trading therefore. So forget about the strategy.

    https://www.prorealcode.com/topic/detrend-price-oscillator/

    #59300

    Here you have the comparison with and without DPO. Upper curve is without DPO, everything else the same.

    DAX-4-Stunden1

    #59303

    English speaking here please!

    DPO use future datas, that’s why the equity curve looks so good. We all want to know what the future will be like.

    1 user thanked author for this post.
Viewing 9 posts - 61 through 69 (of 69 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login