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:

 

'AND'

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. 

 

'OR'

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. 

To summarize:

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?

Unable to find an answer?

Looking for anything specific article which resides in general queries? Just browse the various relevant folders and categories and then you will find the desired article.

Raise a ticket