MINMAXINDEX
Type:
minmaxindex• Category:indicators
Description
Indexes of lowest and highest values over a specified period
Parameters
| Name | Type | Description | Required | Default |
|---|---|---|---|---|
dataExp | string | prices data | no | |
real | string | Data column to apply the calculation to (e.g., closing price) | no | |
timeperiod | number | Number of periods | no | 30 |
Help
MINMAXINDEX
Description
The MINMAXINDEX worker is a technical indicator used in financial analysis to identify the indexes of the lowest and highest values of a specified data series over a given period.
What does this worker do?
The MINMAXINDEX worker calculates the indexes of the lowest and highest values of a specified data series (e.g., closing price) over a specified period. This allows users to identify the points in time when the highest and lowest values occurred.
How to interpret the results
The MINMAXINDEX worker returns two values:
- The index of the lowest value over the specified period
- The index of the highest value over the specified period
These values can be used to:
- Identify local extrema in the data series
- Analyze trends and patterns in the data
- Make informed investment decisions
Usage
To use the MINMAXINDEX worker, simply provide the following parameters:
dataExp: The prices datareal: The data column to apply the calculation to (e.g., closing price)timeperiod: The number of periods
Indicator Knowledge
The MINMAXINDEX indicator is often used in conjunction with other technical indicators to form a trading strategy. It can be used to:
- Identify support and resistance levels
- Confirm trends and reversals
- Optimize entry and exit points
Visualizing the Indicator
For a visual representation of how to use the MINMAXINDEX indicator, see the following GIFs:
Full GIF
[](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_full.gif)
Short GIF
[](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_short.gif)
These GIFs demonstrate how to apply the MINMAXINDEX indicator to a data series and interpret the results.
Example Use Case
The MINMAXINDEX worker can be used in a variety of financial analysis applications, such as:
- Identifying local extrema in stock prices
- Analyzing trends in cryptocurrency markets
- Optimizing trading strategies using technical indicators
By incorporating the MINMAXINDEX worker into your financial analysis toolkit, you can gain a deeper understanding of market trends and make more informed investment decisions.