High

Category: Constants

The High function in ProBuilder language is used to retrieve the highest price of the current bar or the highest price from a specified number of previous bars. This function is particularly useful in technical analysis for identifying price peaks over a given period.

Syntax:

High[N]

Where N is the number of bars to look back. If N is omitted, the function returns the high price of the current bar.

Example:

myHigh = High[10]

This example assigns the highest price from the last 10 bars to the variable myHigh.

Additional Information:

  • If N is set to 1, the function returns the high price of the current bar, which is equivalent to using High without any parameters.
  • The function can be used in various trading strategies, such as those that involve breakouts from a range defined by the highest prices over a certain number of bars.

Understanding the High function is essential for analyzing market trends and making informed trading decisions based on historical price movements.

Related Instructions:

  • Close constants
  • CustomClose constants
  • Low constants
  • Open constants
  • Logo Logo
    Loading...