Skip to main content

atan


ATAN

Type: atan • Category: indicators

Description

Vector Trigonometric ATan

Parameters

NameTypeDescriptionRequiredDefault
dataExpstringInput datano

Help

ATAN

Vector Trigonometric ATan

The ATAN worker is an indicator used in financial markets to calculate the vector trigonometric arctangent of input data.

Description

The ATAN worker computes the element-wise arctangent of the input data. This worker is particularly useful in financial markets for analyzing and processing data that requires trigonometric calculations.

What does this worker do?

The ATAN worker takes input data and returns the arctangent of each element in the data. This operation is essential in various financial market analyses, such as calculating angles and ratios in technical indicators.

How to interpret the results

The results from the ATAN worker are the arctangent values of the input data, typically expressed in radians. These values can be used directly in further calculations or as part of a more complex analysis.

Parameters

The following parameters are required to configure the ATAN worker:

Parameters Schema (JSON)

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

Detailed Parameters

  • dataExp:
    • Type: string
    • Description: Input data for which the arctangent is to be calculated.
    • Example: A string representing an array or vector of numbers.

Usage

To use the ATAN worker, provide the input data as a string in the dataExp parameter. Ensure that the input data is a valid representation of an array or vector of numbers.

Example

{
"dataExp": "[1, 2, 3, 4, 5]"
}

This example calculates the arctangent of each number in the array [1, 2, 3, 4, 5].