|
Description |
Mom() returns a Momentum value. |
|
|
Syntax |
|
|
|
Parameters |
SERIES Use the SERIES parameter when you are referencing a study value. In chart windows, values are displayed in decimals. In quote windows, values are displayed in the units of the underlying instrument.
INPUT Use the INPUT parameter when you are referencing an overlay value.
periods The period parameter defines the number of bars to use in the calculation.
<shift> Optional. A number, positive or negative, enclosed in brackets defining the number of bars (periods) to shift the formula line. Typically used only in formulas that will be displayed in chart windows. |
|
|
Return Value |
A Momentum value. |
|
|
Examples |
MOM_EX1(SERIES,PERIOD=9)=MOM(SERIES,PERIOD)
MOM_EX2(INPUT,PERIOD=9)=MOM(INPUT,PERIOD) |
|
|
Comments |
Momentum is generally thought of as the difference between prices. A momentum study is calculated by subtracting a previous price from the current price. If the previous price is greater than the current price, the study yields a negative value; conversely, if the previous price is less than the current price, the difference is a positive value. |