Mov Avg Triangular
Mov Avg Triangular calculates a simple arithmetic average of prices, specified by the Price input. It then calculates and plots a simple arithmetic average of that average.
Description
The length of each average is calculated by the following formula and rounded to a whole number:
(Length input + 1) * 0.5
Mov Avg Triangular uses all the price data from the number of most recent bars defined by Length, but with the smoothing effect of "averaging the average".
A moving average may be used to identify the trend. The market trend may be defined by the direction in which the average is moving and the relative position of prices and the moving average plot. Rising moving average values and prices above the moving average may indicate an uptrend. Declining moving average values and prices below the moving average may indicate a downtrend.
A displaced moving average plots the moving average value 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 plot to the left. Changing the Displace input to a negative number displaces the plot to the right
Default Inputs
Price( close ) sets the price value used in calculation of the moving average.
Length( 9 ) sets the number of bars to include in the calculation.
Displace( 0 ) sets the number of bars to displace the plot of the moving average.