MetaTrader 4 Build 600 with Updated MQL4 Language and Market of Applications Released - page 62

 
ArturZ:
Where can I download the latest mt4 build?
https://www.mql5.com/en/forum/149271/page61#918765

As a reminder :

Build 613/614 are not official release but beta release only available through Metaquotes-Demo or Test servers.

It can happen that your terminal connected to other brokers are also updated if you have one terminal connected to one of the Metaquotes servers.
 

any plan to see the mt5 metatester in the new mt4?

 
darksamu:

I think I've found a bug in builds 613 and 614.

If you open a file for writing, fill it up with data, then go back to beginning of the file and change e.g. the first 4 bytes, all the other contents of the file will be deleted. In builds 610 (and older) only the 4 bytes were changed and the other parts of the file wouldn't be touched.

The example code gives a 400 byte file in build 610, however in build 613 and 614 test.bin will be only 4 bytes in size.

Bug has been fixed.

 
popo:

Hi,

I've been using this indicator which I found with the help of google for quite some time (I can't remember exactly where).

This indicator shows the total cumulative of pips for all open orders and working wonderfully until irresponsible updates of MT4 by MQ causing the indicator no longer working properly and now showing wrong result.

Can anybody please take a look and make the indicator working again. I tried to change the code here and there, but nothing works, maybe because simply I don't know what are the error exactly.

Appreciate all help on this. It will be beneficial for everybody I believed.

thanks.




ReCoded to reflect the current terminal built 610.

//+------------------------------------------------------------------+
//|                                             totalpipsdisplay.mq4 |
//|                      Copyright © 2009, MetaQuotes Software Corp. |
//|                                             ReCoded by deysmacro |
//|                        https://forum.mql4.com/60555/page60#917376 |
//+------------------------------------------------------------------+
#property indicator_chart_window
extern int    WhatCorner=1;
extern int    x_1_axis = 10;
extern int    y_1_axis = 10;
extern int    FontSize = 18;
extern string FontType = "Arial Bold";
extern color  FontColorUp    =  clrLime;
extern color  FontColorDown  =  clrRed;
extern color  FontColorZero  =  clrSilver;
color FontColor;
double PipsProfit;
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//---- 
   if(ObjectFind("Total_Pips1")==-1)
     {
      ObjectCreate("Total_Pips1",OBJ_LABEL,0,0,0);
      ObjectSet("Total_Pips1",OBJPROP_CORNER,WhatCorner);
      ObjectSet("Total_Pips1",OBJPROP_XDISTANCE,x_1_axis);
      ObjectSet("Total_Pips1",OBJPROP_YDISTANCE,y_1_axis);
     }
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  { return(0); }
//+------------------------------------------------------------------+
double CalculatePipsProfit()
  {
   double Profit=0;
   double multiplier;
   for(int cc=0; cc<OrdersTotal(); cc++)
     {
      OrderSelect(cc,SELECT_BY_POS,MODE_TRADES);
      if((MarketInfo(OrderSymbol(),MODE_DIGITS)==5) || (MarketInfo(OrderSymbol(),MODE_DIGITS)==3)) multiplier = 10000;
      if((MarketInfo(OrderSymbol(),MODE_DIGITS)==4) || (MarketInfo(OrderSymbol(),MODE_DIGITS)==2)) multiplier = 100;
      Profit=Profit+(OrderProfit()*multiplier);
     }
   return(Profit);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
   if(OrdersTotal()==0) {PipsProfit=0;} else {PipsProfit=CalculatePipsProfit();}
   if(PipsProfit > 0) FontColor = FontColorUp;
   if(PipsProfit < 0) FontColor = FontColorDown;
   if(PipsProfit==0) FontColor=FontColorZero;
   ObjectSetText("Total_Pips1","Total Pips : "+DoubleToStr(PipsProfit,0),FontSize,FontType,FontColor);
   return(0);
  }
//+------------------------------------------------------------------+

Yeah ... yeah ... I know I should not spoon-feeding here but was tempted to actually. :D

 
deysmacro:


Yeah ... yeah ... I know I should not spoon-feeding here but was tempted to actually. :D

Why not ? Sometimes it's worth. Thank you.
 
angevoyageur:
Why not ? Sometimes it's worth. Thank you.


Thank you too. :D


Actually I found out that by combining mql4 and mql5 into one, for some reason, it makes the coding much faster. Of course, I need to learn how to use mql5 first. No doubt about it. :)

When I need to code something simple, I use mql4. If I need to code something fancy or advanced, I use mql5. Both inside one particular EA. The result? Turns out just nice.

Old mql4 for reference and then update it so that it works side by side with mql5. The EA is still in ex4 though but with the technology from mql5 combined. :D

 

Build 616 has come to demo.metaquotes.net:443 (also to :444).

Please post the change log.

 
micclly:

Build 616 has come to demo.metaquotes.net:443 (also to :444).

Please post the change log.


You're optimistic. There were no changelogs about 413, 414 and 415 and the minor builds on the MQ-demo server. However, if 616 will be an official release, we'll got a forum topic maybe.
 
radu:

You're optimistic. There were no changelogs about 413, 414 and 415 and the minor builds on the MQ-demo server. However, if 616 will be an official release, we'll got a forum topic maybe.

MetaQuotes previously announced the changelog of build 604 and 610, which are the bug fix releases.

So, I hope that MetaQuotes will announce the release of buld 616 same as 604 and 610.

I know I'm optimistic, but MetaQuotes should be more user-firendly company :)

 
micclly:

MetaQuotes previously announced the changelog of build 604 and 610, which are the bug fix releases.

So, I hope that MetaQuotes will announce the release of buld 616 same as 604 and 610.

I know I'm optimistic, but MetaQuotes should be more user-firendly company :)

616 is not an official release.
Reason: