Skip to main content

MAXINDEX

Type: maxindex • Category: indicators

Description

Index of highest value over a specified period

Parameters

NameTypeDescriptionRequiredDefault
dataExpstringprices datano
realstringData column to apply the calculation to (e.g., closing price)no
timeperiodnumberNumber of periodsno30

Help

MAXINDEX

Index of Highest Value Over a Specified Period

Description

The MAXINDEX worker is a technical indicator used in financial analysis to determine the index of the highest value of a specified data series over a given period. This indicator helps traders and analysts identify the point at which the highest price was achieved within a specified timeframe.

What does this worker do?

The MAXINDEX worker calculates the index of the highest value of a specified data series (e.g., closing price) over a specified period. This allows users to easily identify the point at which the highest price occurred within that period.

How to Interpret the Results

The MAXINDEX worker returns the index of the highest value, which can be used to:

  • Identify the highest price point within a specified period
  • Analyze the trend and pattern of the data series
  • Make informed trading decisions based on the indicator's output

Usage

To use the MAXINDEX worker, simply provide the following parameters:

  • dataExp: prices data
  • real: Data column to apply the calculation to (e.g., closing price)
  • timeperiod: Number of periods

Example Usage

For example, to calculate the index of the highest closing price over a 20-period window, you would provide the following inputs:

  • dataExp: historical price data
  • real: closing price column
  • timeperiod: 20

Additional Information

The MAXINDEX indicator is often used in conjunction with other technical indicators to form a trading strategy. It can be used to identify potential trend reversals or to confirm the strength of a trend.

Visualizing the Indicator

For a visual representation of how to use the MAXINDEX worker, 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)

By following these guidelines and using the MAXINDEX worker, traders and analysts can gain valuable insights into the behavior of financial markets and make more informed trading decisions.