A Multi-Condition Group having no conditions is ignored
Author: piter99
Creation Date: 12/20/2016 6:24 PM
profile picture

piter99

#1
Hi,
Please explain how work this rules/code structure:

BuyAtMarket
some code
MC1
some conditions
MC2
some conditions
MC3
some conditions
SellAtMarket

Are these multicondition groups work independently, or they nested, like MC2 to MC1.?
I need they all MC's filter data like "and".
Problem is if i remove MC1 from the script, # number of trades increased many times for MC2-MC3 groups. Same thing about MC3, MC1-MC2 sharply increased # of trades.
But WLP help is: "A Multi-condition group having no conditions is ignored".
Thank you.
profile picture

Eugene

#2
Hi,

QUOTE:
Are these multicondition groups work independently, or they nested, like MC2 to MC1.?

They are nested. The MCs are ANDed by default unless you put an OR on top of a MC group.

QUOTE:
Problem is if i remove MC1 from the script, # number of trades increased many times for MC2-MC3 groups.

If you remove a MC group, no wonder that the number of trades builds up: the resulting conditions act as a less restrictive filter. But since it's not clear what you're removing, the MC tag or conditions themselves, please don't hesitate to illustrate with a screenshot.

QUOTE:
But WLP help is: "A Multi-condition group having no conditions is ignored".

A MC group w/o conditions is just an empty label. If you're removing the label itself from e.g. MC1, that's no longer a MC group - these conditions become part of "some code" (with regard to your structure above).
profile picture

piter99

#3
Doe's this mean MC2 is one of conditions of MC1 (nested) or conditions of MC1 AND next conditions of MC2.

Thanks.
profile picture

piter99

#4
If in accordance to help one MC ignored it should not be difference in # of trades if I remove this MC from the script, but it does.
profile picture

Eugene

#5
How are your strategy's Rules set up exactly? You could attach a screenshot (PNG, under 3 MB) to illustrate.
profile picture

Eugene

#6
To anybody interested in MC Groups. Check out our tutorial video on Youtube:

Wealth-Lab 101: Strategy Builder Multi-Condition Groups
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).