Indicator Buffer Names need at least 3 chars

 

Just to inform you, of better, can you maybe proof if it's a problem with my metatrader or if its general.

when i try to attach this code my metatrader crashes.

//+------------------------------------------------------------------+
//|                                                           BE.mq4 |
//|                                                                  |
//|                                                                  |
//+------------------------------------------------------------------+
#property copyright ""
#property link      ""

#property indicator_separate_window
#property indicator_buffers 2
#property indicator_color1 Red
#property indicator_color2 Yellow
//---- buffers
double ba[];
double eq[];
int init()
  {
//---- indicators
   SetIndexStyle(0,DRAW_LINE);
   SetIndexBuffer(0,ba);
   SetIndexStyle(1,DRAW_LINE);
   SetIndexBuffer(1,eq);
//----

   return(0);
  }
int start()
  {

//----
   ba[0]=AccountBalance();
   eq[0]=AccountEquity();
//----
   return(0);
  }

but with this code, everything is fine:

//+------------------------------------------------------------------+
//|                                                           BE.mq4 |
//|                                                                  |
//|                                                                  |
//+------------------------------------------------------------------+
#property copyright ""
#property link      ""

#property indicator_separate_window
#property indicator_buffers 2
#property indicator_color1 Red
#property indicator_color2 Yellow
//---- buffers
double bal[];
double eqy[];
int init()
  {
//---- indicators
   SetIndexStyle(0,DRAW_LINE);
   SetIndexBuffer(0,bal);
   SetIndexStyle(1,DRAW_LINE);
   SetIndexBuffer(1,eqy);
//----

   return(0);
  }
int start()
  {

//----
   bal[0]=AccountBalance();
   eqy[0]=AccountEquity();
//----
   return(0);
  }
Reason: