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. Copyright © 2020-2025 Systematic Solutions, LLC