iMA function

 

Does anyone know what is the maximum number the variable "shift" can take? (i.e. what is the maximum number of moving average history can i call?)

double iMA( string symbol, int timeframe, int period, int ma_shift, int ma_method, int applied_price, int shift)

Thanks.
 

0 .. size of indicator buffer -1

if not nuf data see tools > options > charts

this maybe ur answer