How to check ALLTIME LOW and ALLTIME HIGH of price?

 
How to check the alltime low and alltime high of the price, with iLowest() and iLow(), they are new functions and the documentation doesnt explain it very clearly, so please help.
 
Proximus: How to check the alltime low and alltime high of the price, with iLowest() and iLow(), they are new functions and the documentation doesnt explain it very clearly, so please help.
  1. They are not new. iLowest was renamed from Lowest about 10 years ago.
  2. What part of "Returns the shift of the lowest value over a specific number of bars depending on type." is unclear? It searches from the start for the count bars and returns the shift of the lowest bar.
  3. If you want the lowest low, given how much history you have (controlled by Max bars on chart.)
    double GetBarsOnChartLL(){
       int iLL = iLowest(NULL, 0, MODE_LOW);
       return( Low[iLL] );
    }
    If you want the all time low, use D1 history
    double GetAllTimeLow(){
       int nD1 = iBars(NULL, PERIOD_D1);
       if(nD1 == 0) return(0.); // Likely GLE=ERR_HISTORY_WILL_UPDATED
       int iD1LL = iLowest(NULL, PERIOD_D1, MODE_LOW);
       return( iLow(NULL, PERIOD_D1, iD1LL) );
    }
 
WHRoeder:
  1. They are not new. iLowest was renamed from Lowest about 10 years ago.
  2. What part of "Returns the shift of the lowest value over a specific number of bars depending on type." is unclear? It searches from the start for the count bars and returns the shift of the lowest bar.
  3. If you want the lowest low, given how much history you have (controlled by Max bars on chart.)
    If you want the all time low, use D1 history
return( iLow(NULL, PERIOD_D1, iD1LL, nD1) );

Why 4 parameters?

 
GumRai: Why 4 parameters?
Typo, iLow has only three