How to extend period to 3000 for iWPR and iStdDev in MetaTrader 4?

 

Why is it that when my Expert Advisor tries to calculate:

   iWPR(S,PERIOD_M1,3000,0);

   iStdDev(S,PERIOD_M1,3000,0,MODE_SMA,PRICE_WEIGHTED,0);


It gives zero?


Periods below 3000 seem to be fine.


Is it possible to extend the period above 3000?

Reason: