Add or

3 replies

Marco

Customer, bbp_participant, community, sq-ultimate, 9 replies.

Visit profile

3 years ago #258585

Hello everyone, a question if I indicate to insert more than 1 entry or exit condition are added with the AND function is it possible to add the OR condition in the project?

 

Thanks so much

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

3 years ago #258795

Hello,

yes, you need to modify the template using AlgoWizard. You can switch the logic between AND -> OR as you like. Also do not forget to add parentheses so the condition can be evaluated logically correct

For example

Cond1 AND (Cond2 OR Cond3) becomes TRUE when Cond1+Cond2 are true OR Cond1+Cond3 are true. If you remove the parentheses the logic of evaluation would be different

0

hankeys

Customer, bbp_participant, community, sq-ultimate, 487 replies.

Visit profile

3 years ago #258812

simple way how to add OR is fuzzy logic strategies, but my opinion is that you will loose the track of what condition has the edge, because you will not know what is true, if cond1 or cond2

You want to be a profitable algotrader? We started using StrateQuant software in early 2014. For now we have a very big knowhow for building EAs for every possible types of markets. We share this knowhow, apps, tools and also all final strategies with real traders. If you want to join us, fill in the FORM.

0

Marco

Customer, bbp_participant, community, sq-ultimate, 9 replies.

Visit profile

3 years ago #258855

Thanks for the answers guys, I meant if it was possible to create strategies with the OR logic function already inserted, without having to change it, thanks again and good day

 

0

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