Skip to main content

mom


MOM

Type: mom • Category: indicators

Description

Momentum

Parameters

NameTypeDescriptionRequiredDefault
dataExpstringList of pricesno
timeperiodnumberno10

Help

MOM (Momentum) Indicator

Description

The MOM (Momentum) indicator is a technical analysis tool used in financial markets to measure the rate of change of an asset's price over a given period of time. It helps traders and analysts identify the strength or weakness of a trend.

What does this worker do?

This worker calculates the Momentum indicator for a given set of price data. The Momentum indicator is calculated by comparing the current price with the price of a certain number of periods ago.

How to interpret the results

The Momentum indicator can be interpreted as follows:

  • A positive value indicates that the current price is higher than the price timeperiod periods ago, indicating an upward trend.
  • A negative value indicates that the current price is lower than the price timeperiod periods ago, indicating a downward trend.
  • A value close to zero indicates that the current price is similar to the price timeperiod periods ago, indicating a stable or consolidating market.

Parameters

The following parameters can be passed to the MOM indicator:

Parameters Schema (JSON)

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

Detailed Parameters

  • dataExp:
    • Type: string
    • Description: A list of prices.
  • timeperiod:
    • Type: number
    • Description: The number of periods to use for the calculation.
    • Default: 10

By adjusting the timeperiod parameter, you can change the sensitivity of the Momentum indicator to price changes. A shorter timeperiod will result in a more sensitive indicator, while a longer timeperiod will result in a less sensitive indicator.