RealTest User Guide
RealTest User Guide

 

 

 

 

 

Category

Indicator Functions

Description

MACD Signal Line

Syntax

MACDS(len1, len2, len3)

Parameters

len1 - faster moving average period (typically 12)

len2 - slower moving average period (typically 26)

len3 - signal smoothing period (typically 9)

Notes

MACDS is an EMA-smoothed version of MACD.

This is also known as the "signal line".

It is calculated as EMA(MACD(len1,len2),len3).

This indicator supports one-pass calculation when used in the Data Section with non-variable lengths.

Examples

MyMACD: MACD(12, 26)
Signal: MACDS(12, 26, 9)
EntrySetup: Cross(MyMACD, Signal)

Enter when MACD crosses above its signal line.

 

 

 

Copyright © 2020-2026 Systematic Solutions, LLC