Skip to main content

floor


FLOOR

Type: floor • Category: indicators

Description

Vector Floor

Parameters

NameTypeDescriptionRequiredDefault
dataExpstringInput datano

Help

FLOOR

Description

The FLOOR worker is an indicator used in financial markets, specifically designed to calculate the vector floor of input data.

Overview

This worker takes input data and applies a floor function to it, which returns the largest integer less than or equal to the input value. This operation is essential in various financial calculations, such as determining support levels or setting boundaries for trading strategies.

Interpretation of Results

The result of the FLOOR worker is a vector of values where each element represents the floor of the corresponding input data point. This output can be used to analyze trends, set thresholds, or as an input for further calculations in financial modeling.

Parameters

The following parameters are required to configure the FLOOR worker:

Parameters Schema (JSON)

{
"dataExp": {
"type": "string",
"description": "Input data"
}
}

Detailed Parameters List

  • dataExp:
    • Type: string
    • Description: Input data to apply the floor function. This should be a vector or series of numeric values.

Usage

To use the FLOOR worker, provide the input data as a string in the dataExp parameter. Ensure that the input data is properly formatted and can be interpreted as numeric values.

Example

{
"dataExp": "[10.5, 20.7, 30.2]"
}

In this example, applying the FLOOR function would yield: [10, 20, 30].