Syntax
public HighestBar2(DataSeries ds, int period, string description)
public static HighestBar2 Series(DataSeries ds, int period)
Parameter Description
ds |
Source Series |
period |
Lookback period for the highest value.
|
Description
If more than one bar has precisely the same Highest value within the specified
period, HighestBar2 returns the first occurrence of those bars. This differs from the native
HighestBar function, which returns the most recent bar, i.e., the bar with the latest date/time.
Example