HighestFC (Series Function)
The HighestFC (Fast Calculation) series function returns the highest price value over a range of bars.
Syntax
HighestFC(Price, Length)
Returns (Double)
The highest Price found over a range of Length bars.
Parameters
Name |
Type |
Description |
Price |
Numeric |
Specifies which bar value (price, function, or formula) to evaluate. |
Length |
Numeric |
Sets the number of bars to consider. |
Remarks
The input parameter Price can be a bar value such as Close, High, Low, Open, or Volume. It can also be any mathematical calculation such as: ( High + Low) / 2, or a numeric function such as RSI, Stochastic, or ADX.
This series function returns exactly the same value as Highest except that it uses a fast calculation method that takes slightly more memory than the non-FC version.
Example
The following assigns the highest High value for the last 14 bars to Value1:
Value1 = HighestFC(High, 14);