//+------------------------------------------------------------------+ //| WilliamBlau.mqh | //| Copyright 2010, MetaQuotes Software Corp. | //| http://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2010, MetaQuotes Software Corp." #property link "http://www.mql5.com" //+------------------------------------------------------------------+ //| Exponential moving average on price array | //+------------------------------------------------------------------+ int ExponentialMAOnBufferWB(const int rates_total,const int prev_calculated,const int begin, const int period,const double& price[],double& buffer[]) { int i,limit; //--- check for data //if(period<=1 || rates_total-begin