PLEASE HELP ME

 

I' m not a programmer.I want to calculate the trend with this methot, but ı cant,

please help me.

/+------------------------------------------------------------------+
//| altoplam.mq4 |
//| Copyright © 2010,AYCEM CPRP |
//| udras11@hotmail.com |
//+------------------------------------------------------------------+
//
#property link "udras11@hotmail.com"
#property copyright "Copyright © 2010, AYCEM Corp."
#property indicator_buffers 1
#property indicator_color1 Green

#property indicator_separate_window

double toplamBuffer[];
double buyerBuffer[];

//---- input parameters

//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{


IndicatorBuffers(2);
SetIndexStyle(0,DRAW_LINE);
SetIndexBuffer(0, toplamBuffer);
SetIndexDrawBegin(0,0);




SetIndexStyle(1,DRAW_LINE);
SetIndexBuffer(1, buyerBuffer);



return(0);
}


//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----

//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
int i,k,j,counted_bars=IndicatorCounted();

//----norm

//----
int limit=Bars-counted_bars-1;
if(counted_bars>0) limit++;
for(k=0; k<limit; k++)
{

for(j=0;j<2000;j++){

for(i=0; i<72; i++)
{

buyerBuffer[k]=Volume[k]*((High[k]- Open[k])/(High[k]- Low[k]))-Volume[k]*((Open[k]- Low[k])/(High[k]- Low[k]));

toplamBuffer[i]+=buyerBuffer[k+i];
} }}


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