EasyLanguage Reserved Words & Functions
The Lowest function returns the lowest price over a range of bars.
Lowest(Price, Length)
The lowest Price found over the past 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 lowest Close value for the last 20 bars to Value1:
Value1 = Lowest(Close, 20);