- ago
If I separate two multi-condition groups with an or divider (which contain different filters), more trades are shown in the backtest than are theoretically possible (e.g. more trades than are calculated without the filters). Does anyone else have this problem? How can I solve the problem or is it a bug?
0
324
Solved
7 Replies

Reply

Bookmark

Sort
- ago
#1
Let me give you an example:





In the example above there are 13678 trades. The trading logic consists of only 3 consecdown bars.
If I now add filters via two mulitcondition groups that are separated by an or divider, the total trades should be less. However, there are considerably more (37466 trades).
At least I think that's how Wealth Lab's logic works here, as I add further filters to the basic logic of 3 consecdown, which should result in fewer trades, as there is a link between the basic logic and the filters (both must be true).




Am I making a mistake in my thinking here and the logic in Wealth Lab works differently or is this a bug?
0
- ago
#2
Indeed, looks suspicious to me.
0
Glitch8
 ( 11.64% )
- ago
#3
Doesn’t look suspicious to me. In case 1 you have 1 Condition. In case 2 you have 3 Conditions, let’s say A, B, and C. It’s set up to resolve to true if either:

- Condition A and B are true

OR

- Condition C is true

Condition C is actually a Multi Condition so either if it’s two sub Conditions can be true for it to resolve to true.

I’m not sure why you and Eugene think there is a problem here.
0
Best Answer
- ago
#4
I don't understand, why there are more trades than in the first example (whitout additional conditions).
0
Glitch8
 ( 11.64% )
- ago
#5
Because in the second example you can have trades if EITHER Condition (A+B) is true OR Condition C is true.
0
- ago
#6
OK, now I understand it :-) Thank you Glitch!
0
- ago
#7
Makes perfect sense!
0

Reply

Bookmark

Sort