Skip to main content

TRIX

Type: trix • Category: indicators

Description

Triple Exponential Average

Parameters

NameTypeDescriptionRequiredDefault
dataExpstringList of pricesno
timeperiodnumberno30

Help

TRIX

Triple Exponential Average

Description

The TRIX (Triple Exponential Average) worker is an indicator used in financial markets to analyze price movements. It calculates a triple-smoothed exponential moving average, helping to filter out minor price fluctuations and focus on significant trends.

What does this worker do?

The TRIX worker calculates the triple exponential average of a given list of prices over a specified time period. This helps in identifying long-term trends and potential buy or sell signals.

How to interpret the results

The TRIX indicator oscillates around a zero line. When the TRIX is above the zero line, it indicates an upward trend, suggesting that the price is increasing. Conversely, when the TRIX is below the zero line, it indicates a downward trend. Crossovers above or below the zero line can be used as buy or sell signals.

Parameters

The TRIX worker accepts the following parameters:

Parameters Schema (JSON)

{
"dataExp": {
"type": "string",
"description": "List of prices"
},
"timeperiod": {
"type": "number",
"default": 30
}
}

Detailed Parameters

  • dataExp:

    • Type: string
    • Description: A list of prices. This input is expected to be a string representation of an array or a comma-separated list of numbers.
  • timeperiod:

    • Type: number
    • Default: 30
    • Description: The time period over which the triple exponential average is calculated. A higher value means the indicator will react slower to price changes.

To use the TRIX worker, provide the list of prices and optionally specify the time period. If the time period is not provided, it defaults to 30.