desktop:desktop_chart_scripting_function_reference_sma_value

MOV Function

  • MOV( <value>, <periods>, <MAType> )

Computes the moving average of the value over the specified number of periods using the specified moving average type.


Function Parameters
Parameter Description
<value>The value to compute the moving average of.
<periods>The number of periods to compute the moving average over.
<MAType>The type of moving average to compute.

MAType can be specified as follows:


MAType
Parameter Description
MAType.SMASimple moving average.
MAType.SMMASmoothed moving average.
MAType.EMAExponential moving average.
MAType.LWMALinear weighted moving average.
MAType.LSMALeast square moving average.
MAType.HMAHull moving average.
MAType.WILDERMAWells Wilder simple moving average.

The following are aliases for the MOV function:

  • SMA( <value>, <periods>)
  • EMA( <value>, <periods>)
  • SMMA( <value>, <periods>)
  • LWMA( <value>, <periods>)
  • LSMA( <value>, <periods>)
  • HMA( <value>, <periods>)
  • WILDERMA( <value>, <periods>)
  • desktop/desktop_chart_scripting_function_reference_sma_value.txt
  • Last modified: 2023/09/21 19:58
  • by 127.0.0.1