This macro applies a scientific or standard moving average line to a specified series. Note that the bScimovMode and nPeriod parameters are universal so they will apply to ALL moving average lines being drawn on the chart.
SYNTAX:
@MOVA nSeries bShow bSciMovMode nPeriod
PARAMETERS:
nSeries; 0...511 defines the series to draw absolute (0=Series 1)
bShow; 1 = SHOW moving average. 0 = HIDE moving average.
bSciMovMode; 1 = Scientfic moving average. 0 = Standard moving average
nPeriod; 0...1000 periods to use in moving average calculation. It should be less than the number of groups in the chart.EXAMPLE:
@MOVA 4 1 0 3
@MOVA 4 1 1 3
ALSO SEE:
@TRENDLINE; to draw a trend line in a chart
@TRENDLINE_ALLDATA to draw a linear regression line through all data points in a chart
Next Macro
Previous Macro
Return to Alpha List
Next Macro in this Group
Previous Macro in this Group
Return to Group List