Navigation: Realtest Script Language > Syntax Element Details >

WAvg or WMA

 

 

 

Category

Multi-Bar Functions

Description

Weighted Moving Average

Syntax

WAvg(expr, count)

Parameters

expr - formula referencing bar data

count - formula specifying a number of bars

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-2021 Systematic Solutions, LLC