Navigation: Realtest Script Language > Syntax Element Details >

WAvg or WMA

 

 

 

 

Category

Multi-Bar Functions

Description

Weighted Moving Average

Syntax

WAvg(expr, count)

Parameters

expr - data series formula

count - bar count formula

Notes

This type of moving average is calculated by putting the most weight on the most recent bar, fractionally less weight on the next bar, and so on. This link describes how the calculation is done in more detail.

 

 

 

Copyright © 2020-2022 Systematic Solutions, LLC