MQL4 Predefined Variable: Low
Overview
double Low[]: A series array containing the lowest prices for each bar on the current chart.0 for the current (last) bar, Bars-1 for the oldest bar.Usage
Related Functions
iLow(): Function to get the low price of a specific bar.Example Snippet
// Calculate minimums over a KPeriod
i = Bars - KPeriod;
if (counted_bars > KPeriod) i = Bars - counted_bars - 1;
while (i >= 0) {
double min = 1000000;
k = i + KPeriod - 1;
while (k >= i) {
price = Low[k];
if (min > price) min = price;
k--;
}
LowesBuffer[i] = min;
i--;
}
See Also
Previous
arrow_back
High
Next
Open
arrow_forward