Backtest results changes with same values

Forums ProRealTime English forum ProRealTime platform support Backtest results changes with same values

Viewing 8 posts - 16 through 23 (of 23 total)
  • #151667

    The best solution is to provide the code so that others can test it and see if they get the same results or can spot something in the code that could make the difference.

    #151668

    Have you tried to isolate if just shorts or just longs make up the difference or both shorts and longs?

    In the bad result version the trades have increased with 6 long positions and 26 short.

    #151687

    Specific to this code or with other ones? still in v10.3?

    #151734

    Specific to this code or with other ones? still in v10.3?

    When this happened on Another instrument it was with a similar code, but there is nothing special in the code that isn´t frequently used.
    Yes, v10.3.

    #151806

    I Think i´ve accidently named a variable (X7) for optimization the same name as a function (X7=)  in the code. So when I replaced the variable with a fixed optimized value I actually excluded the function instead… Will try to replicate the “good” result by inserting the function and do some more tests.

    Are there some rules on how to name variables in the code when optimizing?

    #151810

    Are there some rules on how to name variables in the code when optimizing?

    No rules, but I make it easy for myself and name them A Line number so if the variable is on Line 20 it would A20.  This makes it easy to find where the variable is in the code.

    I did think that what you have found might be the case as it has happened to me 2 or 3 times when using other folks code with many hundreds of lines of code!

    1 user thanked author for this post.
    #157755

    Surely the difference is directly related to the difference in number of trades?

    Hi GraHal,

    I know this is an old thread, but I don’t see what the problem is with a slightest change in e.g. an exit (like 2 seconds earlier) that changing the WHOLE situation.
    This could be too difficult to explain, but especially with smaller bars this changes things wildly.

    Of course this is not an explanation of what Oboe experiences, but it is fully legit to happen. I mean, it is not the problem in itself; I will try to duplicate a very similar issue I had myself yesterday, so you can see what happened (by unexplainable matter), that resulting in a very long running draw-down, that prohibiting a few dozen other trades to happen. … If you don’t hear me back on this, I couldn’t duplicate it any more.

    Peter

    #157766

    You need to start a new Topic as the Issue you mention is Off Topic for this Topic? 

    that prohibiting a few dozen other trades to happen

    Above is the basis of VRT /  Vonasi Robustness Tester.

    1 user thanked author for this post.
Viewing 8 posts - 16 through 23 (of 23 total)

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