Skip to main content

FLOOR

Type: floor • Category: indicators

Description

Vector Floor

Parameters

NameTypeDescriptionRequiredDefault
dataExpstringInput datano
realstringData column to apply the calculation to (e.g., closing price)no

Help

FLOOR

Description

The FLOOR indicator is a mathematical tool used in financial analysis to calculate the largest integer less than or equal to a given number. In the context of financial data, it is often applied to a specific data column, such as the closing price.

What does this worker do?

The FLOOR worker takes an input data set (dataExp) and applies the FLOOR calculation to a specified data column (real). The result is a new data set with the FLOOR values.

How to interpret the results?

The FLOOR values represent the largest integer less than or equal to the original values in the specified data column. For example, if the closing price is 45.67, the FLOOR value would be 45.

Usage

To use the FLOOR worker, simply provide the input data (dataExp) and specify the data column to apply the calculation to (real). The worker will return a new data set with the FLOOR values.

Example

Suppose we have a data set with the following closing prices:

DateClosing Price
2022-01-0145.67
2022-01-0246.23
2022-01-0344.91

Applying the FLOOR worker to the Closing Price column would result in:

DateClosing PriceFLOOR
2022-01-0145.6745
2022-01-0246.2346
2022-01-0344.9144

Indicator Usage

For a visual representation of how to use the FLOOR indicator, please see the following GIFs:

Full GIF

[![Full GIF](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_full.gif)](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_full.gif)

Short GIF

[![Short GIF](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_short.gif)](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_short.gif)

Additional Information

The FLOOR indicator is commonly used in technical analysis to identify support levels or to create a "floor" for a security's price. It can also be used to smooth out price movements and reduce noise.

Parameters

  • dataExp: Input data
  • real: Data column to apply the calculation to (e.g., closing price)