AverageFC (Function) AverageFC (Fast Calculation) series function is an Averageof prices or values for some number of bars. It may also called a moving average, since the values are recalculated for every bar.
AverageFC (Function) Syntax
AverageFC(Price, Length)
Returns (Double)
A numeric value for the current bar.
Parameters
Name
Type
Description
[FONT='Courier New',monospace]Price[/FONT]
Numeric
Specifies which bar value (price, function, or formula) to use.
Length
Numeric
Sets the number of bars to consider.
Remarks
The AverageFC function is often used to smooth the values of functions or indicators.
AverageFC (fast calculation arithmetic mean) subtracts the oldest value in the list of elements, adds the newest value, and then divides by the number of elements.
AverageFC (Function) <h4>Examples
Assigns the 9 bar fast calculation moving average of the Close to Value1, then plots Value1:
Value1 = AverageFC(Close,9);
</h4>
Comment