how to change this indicator to mt5?

 
#property indicator_chart_window
#property indicator_buffers 4
#property indicator_color1 Yellow
#property indicator_color2 Yellow
#property indicator_color3 Yellow
#property indicator_color4 Yellow



double one[];
double tow[];
double tree[];
double four[];

int strtotime;

int init() {
   SetIndexBuffer(2, one);
   SetIndexBuffer(3, tow);
   SetIndexBuffer(0, tree);
   SetIndexBuffer(1, four);
   SetIndexStyle(2, DRAW_HISTOGRAM, STYLE_SOLID, 1, Yellow);
   SetIndexStyle(3, DRAW_HISTOGRAM, STYLE_SOLID, 1, Yellow);
   SetIndexStyle(0, DRAW_HISTOGRAM, STYLE_SOLID, 1, Yellow);
   SetIndexStyle(1, DRAW_HISTOGRAM, STYLE_SOLID, 1, Yellow);
   SetIndexBuffer(2, one);
   SetIndexBuffer(3, tow);
   SetIndexBuffer(0, tree);
   SetIndexBuffer(1, four);

   return (0);
}



int deinit() {

   return (0);
}

int start() {
   double max;
   double min;
   double close;
   double open;
   double high;
   double low;
   double high1;
   double low1;
   int counted_bars=IndicatorCounted();
   int limit = Bars - counted_bars;
   int hourcurrent = TimeHour(TimeCurrent());
   int minutecurrent = TimeMinute(TimeCurrent());
   for (int i = limit; i >= 0; i--) {
      close = Close[i];
      open = Open[i];
      high=High[i];
      low=Low[i];
      high1=High[i+1];
      low1=Low[i+1];

         if (High[i]<High[i+1]&&Low[i]>Low[i+1]) 
         {
         tree[i] = Open[i];
         four[i] = Close[i];
         one[i] = High[i];
         tow[i] = Low[i];
         }
         
         if (High[i]>High[i+1]&&Low[i]<Low[i+1]) 
         {
         tree[i] = Open[i];
         four[i] = Close[i];
         one[i] = High[i];
         tow[i] = Low[i];
         }

      }

   
   return (0);
   
   }  
how to change it to mt5??
 
gozila:
how to change it to mt5??
Go here:  MT4 to MT5 conversion
Reason: