Momentum is the difference between current price and the price a specified number of bars ago.

 

Syntax:

Momentum( series, bars )

 

Parameter:

Description:

series

Names of the data series

bars

Number of bars over which to find the momentum value.

 

Returns:

Momentum value over the specified number of bars.

 

Example:

'  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'  Update Indicators Script
'  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'  Bar_ Count = 21 - Parameter - Lookback enabled
'  Difference in Close of Today and the Close[Bar_Count]
Mom_Close = Momentum( instrument.close, Bar_Count)
'  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

OR

 

Momentum_Close_21-Bar_Dialog

Chart Display:

Momentum_Close_21-Bar

 

Links:

 

 

See Also:

 

 


 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software