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
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
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 2016. 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. 1500+ final SQX strategies for members running on demo accounts to verify the edge DEMO ACCS. We provide also strategies for indices - DAX, DOW JONES, NASDAQ, SP, UK, because we have realtick data from our brokers.
You must be logged in to reply to this topic.