Designer MACD - Regular

macd(Num Bars Avg 1, Num Bars Avg 2, Signal Line Smoothing Constant, Type, Num Bars Ago) Type = m (MACD), s (Signal)


The Designer MACD - Regular function will return the MACD - regular or signal value for a particular bar. If you are using Designer Dialog boxes, when you type in “macd”, a dialog box will appear asking you to enter the number of bars for the average 1 value, the number of bars for the average 2 value, the signal line smoothing constant, and the number of bars ago value that you want to use. Finally, you will have to select whether you want to use the MACD or Signal value.


If you are not using the Designer Dialogs, you would type in these values in the Indicator Editor.