Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
desktop:desktop_chart_scripting_function_reference_lwma_value [2022/01/12 14:28] – created rob | desktop:desktop_chart_scripting_function_reference_lwma_value [2023/09/21 19:58] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
Computes the moving average of the value over the specified number of periods using the specified moving average type. | Computes the moving average of the value over the specified number of periods using the specified moving average type. | ||
- | Function Parameters | + | ---- |
- | Parameter Description | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | MAType | + | < |
+ | ^ Function Parameters^^ | ||
+ | ^ Parameter ^ Description ^ | ||
+ | |< | ||
+ | |< | ||
+ | |<MAType>|The type of moving average to compute.| | ||
+ | </ | ||
- | MAType | + | ---- |
- | Parameter Description | + | |
- | MAType.SMA Simple moving average. | + | |
- | MAType.SMMA Smoothed moving average. | + | |
- | MAType.EMA Exponential moving average. | + | |
- | MAType.LWMA Linear weighted moving average. | + | |
- | MAType.LSMA Least square moving average. | + | |
- | MAType.HMA Hull moving average. | + | |
- | MAType.WILDERMA Wells Wilder simple moving average. | + | |
- | Aliases¶ | ||
- | The following are aliases for the MOV function: | ||
- | SMA( < | ||
- | EMA( < | + | MAType can be specified as follows: |
- | SMMA( <value>, <periods>) | + | ---- |
+ | <datatables> | ||
+ | ^ MAType^^ | ||
+ | ^ Parameter ^ Description ^ | ||
+ | |MAType.SMA|Simple moving average.| | ||
+ | |MAType.SMMA|Smoothed moving average.| | ||
+ | |MAType.EMA|Exponential moving average.| | ||
+ | |MAType.LWMA|Linear weighted moving average.| | ||
+ | |MAType.LSMA|Least square moving average.| | ||
+ | |MAType.HMA|Hull moving average.| | ||
+ | |MAType.WILDERMA|Wells Wilder simple moving average.| | ||
+ | </datatables> | ||
- | LWMA( < | + | ---- |
- | LSMA( < | ||
- | HMA( < | ||
- | WILDERMA( < | + | ===== Aliases ===== |
+ | |||
+ | The following are aliases for the MOV function: | ||
+ | |||
+ | * SMA( < | ||
+ | * EMA( < | ||
+ | * SMMA( < | ||
+ | * LWMA( < | ||
+ | * LSMA( < | ||
+ | * HMA( < | ||
+ | * WILDERMA( < | ||