Returns the Exponential Average Calculation for the specified period.
Declaration Syntax
Visual Basic |
Public Function ExponentialAverage ( _ period As Integer _ ) As RealCodeIndicatorCalculation
Parameters
- period (Int32)
- The number of bars to perform the average
Return Value
Returns a RealCodeIndicatorCalculation. Can be used to chain more function calls
Remarks
Not used during manual loop calculations
Examples
Example: Plot the Exponential Average for 20 bars
CopyVB.NET
plot = price.ExponentialAverage(20).value