Navigation: Realtest Script Language > Syntax Element Details >

Avg or MA

 

 

 

 

Category

Multi-Bar Functions

Description

Simple Moving Average

Syntax

Avg(expr, count)

Parameters

expr - data series formula

count - lookback period

Notes

Either Avg or MA can be used as the name of this function.

This function supports ultra-fast one-pass calculation when used in the Data Section with a non-variable count.

 

 

 

Copyright © 2020-2022 Systematic Solutions, LLC