MAMA (Function)
The MAMA series function gets the value for the MAMA (Mesa adaptive Moving Average).
Syntax
MAMA(Price, FastLimit, SlowLimit)
Returns (Double)
A numeric value representing the oMAMA output value of the MamaBase function.
Parameters
Name | Type | Description |
Price | NumericSeries | Specifies which bar value (price, function, or formula) to consider. |
FastLimit | Numeric | Sets the maximum allowable value for calculation of the alpha value for smoothing. |
SlowLimit | Numeric | Sets the minimum allowable value for calculation of the alpha value for smoothing. |
Reference
John F. Ehlers, MESA Adaptive Moving Averages. Technical Analysis of Stocks & Commodities, V. 19:9 (30-35).