Mov Avg 2 Lines

From MultiCharts
Revision as of 09:36, 13 October 2021 by Tammy Multicharts (talk | contribs)
Jump to navigation Jump to search

The Mov Avg 2 lines indicator calculates and plots two simple exponential moving averages of the prices specified in the fast and slow price inputs from the number of most recent bars specified in the fast and slow length inputs. The indicator with default settings plots an exponential moving average of the closing prices of the last 9 bars and an exponential moving average of the closing prices of the last 18 bars. The average of shorter length (fast average) will be more sensitive to current price changes than the average of greater length (slow average).

A moving average may be used to identify the trend. The market trend may be defined by the direction in which the averages are moving and the relative position of prices and the averages. Rising moving average values and prices above the short moving average and the short moving average above the long moving average may indicate an uptrend. Declining moving average values and prices below the short moving average and the short moving average below the long moving average may indicate a downtrend.

Displaced moving averages plot the moving average values of a previous bar or later bar on the current bar. This indicator is not displaced by default. Changing the Displace input to a positive number displaces the plots to the left. Changing the Displace input to a negative number displaces the plots to the right

Default Inputs

FastPrice (Close) - price value used in calculation of the "fast" moving average.

SlowPrice (Close) - price value used in calculation of the "slow" moving average.

FastLength (9) - number of bars included in calculation of the "fast" average.

SlowLength (18) - number of bars included in calculation of the "slow" average.

Displace (0) - number of bars to displace the plot of the moving average.

Plots

Plot1 (FastAvd, Cyan) - fast moving average value.

Plot 2 (SlowAvg, Magenta) - slow moving average value.

Note: The plots will be displayed in the same sub chart as the price data when the indicator is applied to a chart.