Combining three conditions

How do create conditions as shown in the syntax below:

CONDITION A and (COND B or COND C)

@trade4lyf Check out the image below:

We have assumed ‘RSI higher 50’ as Condition A, ‘MACD higher than MACD Signal’ as Condition B and ‘ADX higher than 25’ as Condition C. Condition A has to be true and any one of the conditions among Condition B and Condition C has to be true to generate a signal. Hence, we have written Condition A in a separate tab and joined it with the other two conditions in another tab with the ‘AND’ operator. Since any one of the conditions needs to be true among Conditions B and C, we have joined it using the ‘OR’ comparator.

Alternatively, you can use ‘brackets’ to create the syntax you want, i.e., (condition B OR condition C) AND condition A. Please refer to the image below: