Writing on a chart

 
Hi: When I write on a a chart, is there a way to make that part of the chart show in the terminal. The backtester, for instance, re-creates a chart, bar by bar, and we can see it drawing the chart bar by bar, with the most recent bar always showing. But can indicators be made to do this? I guess I am looking for some kind of function that can tell the terminal to look at this particular bar. I have tried to cut the code for the following indicator down to the minimum but I apologize if I have left something important out. But still you can see where I have written that it would be nice to have the code force the terminal to move as each point is writtten. Thanks Steve
#property indicator_chart_window
#property indicator_buffers 1
#property indicator_color1 Red
//---- buffers
double ExtMapBuffer1[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//---- indicators
   SetIndexStyle(0,DRAW_LINE);
   SetIndexBuffer(0,ExtMapBuffer1);   
//----
   return(0);
  }  // end init
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
   return(0);
  } // end deinit
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
   int   i=IndicatorCounted();
//---- main calculation loop
 
for(i=limit; i>=0; i--)
{
 
ExtMapBuffer1[i]= iMA(NULL,0,5,0,MODE_LWMA,PRICE_CLOSE,i  );  // 5 ;
// and somehow make the screen jump to each point as it is written on the chart???
//----
   return(0);
  } //end start
//+------------------------------------------------------------------+