Finds the highest value of the series, then return the bars back.
The return value is the number of bars back from the starting index. If no starting index is used, then it is the bars back from the current bar. If a starting index offset is used, then the return value is the bars back from that offset.
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: |
---|
HighestBar( series, bars, [offset] ) |
Parameter: |
Description: |
---|---|
series |
The name of the series. |
bars |
The number of bars over which to find the highest bar value. |
[offset] |
The number of bars to offset back before finding the value. |
Example: |
---|
VARIABLES: highestCloseBar, highestHighBar, lowestLowBar Type: Price |
Returns: |
Bar number of the Highest value in the series over the number of bars specified |
Links: |
---|
See Also: |
Edit Time: 9/18/2020 11:26:13 AM |
Topic ID#: 368 |