Reply

A way of toggling (Disable / Enable) a rule?

2 replies

vabsie

Customer, bbp_participant, community, 14 replies.

Visit profile

9 years ago #113222

Hi all / Marc ..

 

I was wondering if there is a way in EA Wizard to create a variable which can be switched to either on / off in order to either enable or disable one particular rule. This should be a parameter that can be specified in the .set file.

 

I have created a strategy that works OK on most pairs, but for one of the pairs I want to be able to just disable one of the rules.

 

I’m having a dumb moment here .. sorry and thanks.

 

Vabsie

0

beniko

Subscriber, bbp_participant, community, 31 replies.

Visit profile

9 years ago #128510

Hello,

 

you can create a bool variable in the strategy parameters. This variable can be either true or false.

 

After that you make a rules that determine when it is going to become true or false and in the “Then” section you add assign variable with which you can change the value of the bool from true to false.

 

I expect that you understand the rest.

 

However, if you need some more clarification i can create an example for you.

 

Ben

0

vabsie

Customer, bbp_participant, community, 14 replies.

Visit profile

9 years ago #128532

That makes sense .. thank you very much Ben.

0

Viewing 2 replies - 1 through 2 (of 2 total)