Can't read the indicator of Atr weekly value

 
  double atr1=iATR(Symbol(),PERIOD_W1,5,1);
  double atr2=iATR(Symbol(),PERIOD_W1,5,2);

retun the atr1 And atr2 Value is  0 ; 

why?  int weekly period, i can read the  K-line,so ,I Have data

 

Weekly/Monthly is not supported in the MT4 tester.
          Testing Features and Limits in MetaTrader 4 - MQL4 Articles

On MT4: Unless the current chart is that specific symbol(s)/TF(s) referenced, you must handle 4066/4073 errors before accessing candle/indicator values.
          Download history in MQL4 EA - MQL4 programming forum - Page 3 #26.4 (2019)