Description
The Moving Average Envelope study calculates a moving average of specified type and length and plots it shifted up and down by a specified percentage. Upper and lower bands can be used as overbought and oversold levels respectively.
Input Parameters
Parameter | Description |
---|---|
|
The horizontal displacement of the moving average, in bars. Positive values signify a backward displacement. |
|
The number of bars used to calculate the moving average. |
|
The percentage of the moving average value for upward shift. |
|
The percentage of the moving average value for downward shift. |
|
The price used in calculation of the higher moving average. |
|
The price used in calculation of the lower moving average. |
|
The type of moving average to be used in calculations: simple, exponential, weighted, Wilder's, or Hull. |
Plots
Plot | Description |
---|---|
UpperBand
|
The Upper Band plot; moving average of the specified type shifted up by the specified percentage. |
LowerBand
|
The Lower Band plot; moving average of the specified type shifted down by the specified percentage. |
Example*
*For illustrative purposes only. Not a recommendation of a specific security or investment strategy.
Past performance is no guarantee of future performance.