How 'AND' or 'OR' Logic Connectors work?
'AND' or 'OR' Logic connectors can be used when a user wants to combine more than one indicator to form a single entry/exit strategy. You can connect more than one indicator with the help of an 'AND' or 'OR' connectors.
There are two kinds of logic blocks:
The 'AND' logic block is used when the user wants to apply more than one condition and only fulfills all the conditions entry or exit event is triggered.
The 'OR' logic block is used when the user wants to apply more than one condition, and when either of the conditions gets fulfilled, entry or exit event is triggered.
A AND B ==> Condition A & condition B are true.
A OR B ==> Either A or B conditions are true.
All logic connectors can also be connected to create a more complicated strategy.
Graphical Representation of Sample Strategy
To return to Build Strategy refer How to Build an Algorithm Trading Strategy?