BIAS指标没有办法刷新,跪求谁能帮我解决下,谢谢

 
/---- indicator settings
#property  indicator_separate_window
#property  indicator_buffers 3
#property  indicator_color1  Orange
#property  indicator_color2  Turquoise
#property  indicator_color3  CornflowerBlue

//---- Level Lines
#property indicator_level1 0

//---- indicator parameters
extern int MA1=6;
extern int MA2=12;
extern int MA3=24;
//---- indicator buffers
double     MA1Buffer[];
double     MA2Buffer[];
double     MA3Buffer[];

//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//---- drawing settings
   SetIndexStyle(0,DRAW_LINE);
   SetIndexStyle(1,DRAW_LINE);
   SetIndexStyle(2,DRAW_LINE);
   
   SetIndexDrawBegin(0,MA1);
   SetIndexDrawBegin(1,MA2);
   SetIndexDrawBegin(2,MA3);   
   
   IndicatorDigits(Digits+1);
   
//---- indicator buffers mapping
   SetIndexBuffer(0,MA1Buffer);
   SetIndexBuffer(1,MA2Buffer);
   SetIndexBuffer(2,MA3Buffer);
   
//---- name for DataWindow and indicator subwindow label
   IndicatorShortName("BIAS("+MA1+","+MA2+","+MA3+")");
   SetIndexLabel(0,"BIAS");
   SetIndexLabel(1,"BIAS");
   SetIndexLabel(2,"BIAS");
   
//---- initialization done
   return(0);
  }
//+------------------------------------------------------------------+
//| Moving Averages Convergence/Divergence                           |
//+------------------------------------------------------------------+
int start()
  {
   int limit;
   int counted_bars=IndicatorCounted();
//---- last counted bar will be recounted
   if(counted_bars>0) counted_bars--;
   limit=Bars-counted_bars;

//---- bias counted in the 1-st buffer
   for(int i=0; i<limit; i++)
   {   
      MA1Buffer[i]= 100*(Close[i]- iMA(NULL,0,MA1,0,MODE_SMA,PRICE_CLOSE,i))/iMA(NULL,0,MA1,0,MODE_SMA,PRICE_CLOSE,i);
      MA2Buffer[i]= 100*(Close[i]- iMA(NULL,0,MA2,0,MODE_SMA,PRICE_CLOSE,i))/iMA(NULL,0,MA2,0,MODE_SMA,PRICE_CLOSE,i);
      MA3Buffer[i]= 100*(Close[i]- iMA(NULL,0,MA3,0,MODE_SMA,PRICE_CLOSE,i))/iMA(NULL,0,MA3,0,MODE_SMA,PRICE_CLOSE,i);
   }

//---- done
   return(0);
  }
//+--------------------------- 


原因: