Download MetaTrader 5

Is there s/r download by Barry for MT5?

To add comments, please log in or register
trendnow
9
trendnow 2016.11.22 02:46 

Please share the link to download 

 

Thanks 

Sergey Golubev
Moderator
94494
Sergey Golubev 2016.11.22 07:49  
I have MT4 version only (for the old builds sorry) - attached.

You can use freelance service to convert it to MT5 for example.
Muhammad Syamil Bin Abdullah
892
Muhammad Syamil Bin Abdullah 2016.11.24 22:31  

Yes it has been converted long time ago.



Mladen Rakic
56223
Mladen Rakic 2016.11.27 17:02  

Or use this (no use of handles) :

#property indicator_chart_window
#property indicator_buffers 2
#property indicator_plots   2
#property indicator_color1  clrRed
#property indicator_type1   DRAW_ARROW
#property indicator_width1  1
#property indicator_color2  clrBlue
#property indicator_type2   DRAW_ARROW
#property indicator_width2  1

double res[],sup[];
void OnInit()
{
   SetIndexBuffer(0,res,INDICATOR_DATA); PlotIndexSetInteger(0, PLOT_ARROW, 119);
   SetIndexBuffer(1,sup,INDICATOR_DATA); PlotIndexSetInteger(1, PLOT_ARROW, 119);
}
int OnCalculate(const int rates_total,
                const int prev_calculated,
                const datetime &time[],
                const double &open[],
                const double &high[],
                const double &low[],
                const double &close[],
                const long &tick_volume[],
                const long &volume[],
                const int &spread[])
{
   for (int i=(int)MathMax(prev_calculated-3,2); i<rates_total && !_StopFlag; i++)
   {
      double fractalUp = (i<rates_total-2) ? (high[i]>high[i+1] && high[i]>high[i+2] && high[i]>=high[i-1] && high[i]>=high[i-2]) ? high[i] : EMPTY_VALUE : EMPTY_VALUE;
      double fractalDn = (i<rates_total-2) ? (low[i] <low[i+1]  && low[i] <low[i+2]  && low[i] <=low[i-1]  && low[i]<=low[i-2])   ? low[i]  : EMPTY_VALUE : EMPTY_VALUE;
             res[i]    = (fractalUp != EMPTY_VALUE) ? high[i] : res[i-1];
             sup[i]    = (fractalDn != EMPTY_VALUE) ? low[i]  : sup[i-1];
   }  
   return(rates_total);
}
To add comments, please log in or register