Finds the average value of the series.
This example shows the use of the common auto indexed series.
For information on using functions with non auto indexed series review Series Functions.
Syntax: |
---|
value = Average( series, bars, [offset] ) |
Parameter: |
Description: |
---|---|
series |
Name of the series. |
bars |
Number of bars over which to find the value. |
[offset] |
Number of bars to offset before finding the value. |
Example: |
---|
VARIABLES: highestClose, highestHigh, lowestLow TYPE: Price VARIABLES: averageClose, standDev TYPE: Price |
Returns: |
Average value found by taking the sum all values in the series and then divided by the bar value. |
Links: |
---|
See Also: |
Edit Time: 9/18/2020 12:08:28 PM |
Topic ID#: 156 |