HighestHighPrice()

Description

The Highest High Price shows the highest high achieved within a predefined number of periods.

Unlike the GetSerieHighestValue(), this indicator can be displayed within the chart.

See HighestHighIndex(), LowestLowPrice(), LowestLowIndex, GetSerieHighestValue(), GetSerieLowestValue().

Usage

HighestHighPrice(int BarsBack)
HighestHighPrice(int BarsBack)[int barsAgo]

Return value

double

When using this method with an index (e.g. HighestHighPrice(14)[int barsAgo] ), the value of the indicator will be outputted for the referenced bar.

Parameter

BarsBack Number of periods in which the highest high will be searched for

Visualization

Example

// What was the value of the highest high in the last 14 periods?
Print("The highest high for the last 14 bars is " + HighestHighPrice(14)[0]);

Last updated