EasyLanguage Reserved Words & Functions
The Highest function returns the highest price over a range of bars.
Highest(Price, Length)
The highest Price found over a range of Length bars.
Name |
Type |
Description |
Price |
Numeric |
Specifies which bar value (price, function, or formula) to evaluate. |
Length |
Numeric |
Sets the number of bars to consider. |
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.
The following assigns the highest calculated Close + Open value over the last 20 bars to Value1:
Value1 = Highest(Close + Open, 20);