RealTest User Guide
RealTest User Guide

 

 

Navigation: Realtest Script Language > Syntax Element Details >

MA or Avg

 

 

 

 

Category

Multi-Bar Functions

Description

Simple Moving Average

Syntax

MA(expr, count)

Parameters

expr - data series formula

count - lookback period

Notes

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

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

Example

MA200: MA(C, 200)

MA and Avg are interchangeable names.

 

 

 

Copyright © 2020-2026 Systematic Solutions, LLC