Backtest results changes with same values
Forums › ProRealTime English forum › ProRealTime platform support › Backtest results changes with same values
- This topic has 22 replies, 5 voices, and was last updated 4 years ago by GraHal.
-
-
11/25/2020 at 10:59 PM #15166711/25/2020 at 11:18 PM #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.
11/26/2020 at 9:01 AM #15168711/26/2020 at 12:08 PM #151734Specific 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.11/26/2020 at 7:16 PM #151806I 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?
11/26/2020 at 7:55 PM #151810Are 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.
01/14/2021 at 9:23 AM #157755Surely 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
01/14/2021 at 10:28 AM #157766You 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.
-
AuthorPosts
Find exclusive trading pro-tools on