Skip to main content

mama


MAMA

Type: mama • Category: indicators

Description

Calculates the adaptive moving average MAMA based on a list of prices

Parameters

NameTypeDescriptionRequiredDefault
dataExpstringList of pricesno
fastlimitnumberno0
slowlimitnumberno0

Help

MAMA

Adaptive Moving Average Indicator for Financial Markets

Description

The MAMA worker calculates the adaptive moving average (MAMA) based on a list of prices. This indicator is used in financial markets to analyze and predict price movements.

What does this worker do?

This worker takes a list of prices and calculates the adaptive moving average using the MAMA algorithm. The MAMA indicator is a type of moving average that adjusts its sensitivity to price movements based on market conditions.

How to interpret the results

The output of the MAMA worker is a list of adaptive moving average values corresponding to the input list of prices. A higher MAMA value indicates an upward trend, while a lower MAMA value indicates a downward trend. The difference between the MAMA value and the actual price can be used to identify potential buy or sell signals.

Parameters

The following parameters are required to configure the MAMA worker:

Parameters Schema (JSON)

{
"dataExp": {
"type": "string",
"description": "List of prices"
},
"fastlimit": {
"type": "number",
"default": 0
},
"slowlimit": {
"type": "number",
"default": 0
}
}

Parameters List

  • dataExp:
    • Type: string
    • Description: List of prices
  • fastlimit:
    • Type: number
    • Default: 0
    • Description: Fast limit parameter for the MAMA algorithm
  • slowlimit:
    • Type: number
    • Default: 0
    • Description: Slow limit parameter for the MAMA algorithm

Example Usage

To use the MAMA worker, provide a list of prices and optional fast and slow limit parameters. The worker will return a list of adaptive moving average values.

Note: The actual usage and implementation details may vary depending on the specific platform or system integrating the MAMA worker.