QuantiX Pro Help

Logical

The Logical function compares the values of one or multiple columns with a threshold and returns true or false. The inputs of this funtion are:

  • Timeframe(s): The timeframe(s) in which the funcion is applied

  • Features: The values of the feature(s) are compared to the Compare Value

  • Higher/Lower: Determines the condition for having a true label in the output; If Higher is selected, the output will be true if the values of the features selected in Features are higher than the Compare Value.

  • And/Or: If multiple features are selected in Features, output values depend on the logical operand selected here; if And is selected, the condition should be met for all features simultaneously. If Or is selected, then having only one feature that meets the condition results in having a true label in the output.

Example

To check if both k and d vlues of the stochastic indicator are simultaneously higher than 80, the Logical function can be used in the following way:

drawing

As is shown, the function returns true when both k and d values are higher than 80.

logical_ex.png
Last modified: 20 February 2025