Short question about standard indikator in iCutom...

 
Can I use iHighest in custom indikator for higher and lower period without previously opened chart,
does the data indicator is colecting is from history folder or it is updated in this case from incoming data.
Sample for using this code in indicator:
 
int start() {
//æ= Period() = 240 ( H4 ) =æ//
  i=Bars-6;
  if(IndicatorCounted()>5) i=Bars-IndicatorCounted()-1;  
  while(i>=0) {
    indbuf1[i]=highest( 1440 );
    indbuf2[i]=lowest( 1440 );
    indbuf3[i]=highest( 60 );
    indbuf4[i]=lowest( 60 );
    i--; }
  Comment (
  indbuf1[i] , "  " , indbuf2[i] , "\n ",
  indbuf3[i] , "  " , indbuf4[i] 
  ); 
 }
 
Of course. But in this case You'll get 4066 error. See example in this topic https://docs.mql4.com/array/ArrayCopySeries
Reason: