Skip to main content

minmax


MINMAX

Type: minmax • Category: indicators

Description

Lowest and highest values over a specified period

Parameters

NameTypeDescriptionRequiredDefault
realstringInput arrayno
timeperiodnumberno30

Help

MINMAX

Description

The MINMAX indicator is used in financial markets to identify the lowest and highest values of an asset over a specified period. This indicator provides valuable insights into market trends and volatility.

What does this worker do?

The MINMAX worker calculates the minimum and maximum values of a given input array over a specified period. This allows users to analyze the range of prices for an asset over a certain time frame.

How to interpret the results

The results of the MINMAX worker will provide two key values:

  • The lowest value (min) of the asset over the specified period.
  • The highest value (max) of the asset over the specified period.

These values can be used to gauge market sentiment, identify trends, and make informed investment decisions.

Parameters

The MINMAX worker accepts the following parameters:

Parameters Schema (JSON)

{
"real": {
"type": "string",
"description": "Input array"
},
"timeperiod": {
"type": "number",
"default": 30
}
}

Detailed Parameters

  • real:
    • Type: string
    • Description: The input array of values.
  • timeperiod:
    • Type: number
    • Description: The specified period over which to calculate the minimum and maximum values.
    • Default: 30

By adjusting the timeperiod parameter, users can customize the MINMAX worker to analyze different time frames, from short-term fluctuations to long-term trends.