Navigation: Realtest Script Language > Syntax Element Details >

Avg or MA

 

 

 

Category

Multi-Bar Functions

Description

Simple Moving Average

Syntax

Avg(expr, count)

Parameters

expr - formula referencing bar data

count - formula specifying a number of bars

Notes

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

 

 

 

Copyright © 2020-2021 Systematic Solutions, LLC