Download MetaTrader 5

New MetaTrader 4 Platform build 1031 - page 3

To add comments, please log in or register
Your broker does not support mobile MetaTrader 5? Ask him to buy them!
hao nguyen xuan
254
hao nguyen xuan 2016.12.21 06:46  
i love trade on MT4 than MT5. I like open sell/buy quickly on screen.
lbrayton
15
lbrayton 2016.12.21 07:53  
Is anyone else having issues using Strategy Tester with build 1031?  My Optimization times have spike through the roof, what took me 3 1/2 minutes previously is now taking between 11-15 minutes per pass when Optimizing.  It appears that the hard drive is swapping excessively and is a problem on 2 separate machines, 1 running Birt's Tick Data Suite and 1 without...
whroeder1
14480
whroeder1 2016.12.21 16:18  
Irwan Adnan: now I cant drag the level position to modify tp and sl. Is it just me or any body else?
Build 1031, working fine.
  1. Are you connected to your broker?
  2. Did you check "use ALT" in options -> chart?
Irwan Adnan
886
Irwan Adnan 2016.12.22 18:45  
whroeder1:
Build 1031, working fine.
  1. Are you connected to your broker?
  2. Did you check "use ALT" in options -> chart?
Well, #2 solve the problem. Perhaps I forgot or accidentally  checked the option. Thanks brur.
saleyn
59
saleyn 2016.12.23 06:16  

What is the right place in this forum to submit bug reports?

Here is a very annoying bug that is observed with MetaTrader v4.00 Build 1031, and MetaEditor v5.00 build 1498.

Running this test case in MetaEditor causes MetaTrader to hang:

//+------------------------------------------------------------------+
//|                                                    BugReport.mq4 |
//+------------------------------------------------------------------+
struct Test {
  static string Fun(string path) {
    StringReplace(path, "\\", "/");
    return path;
  }
};

//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
void OnStart()
{
  string s = Test::Fun("c:\\my\\path");  //<-- Setting a breakpoint in MetaEditor
                                         //    on this line and trying to "step
                                         //    into" the call causes MetaTrader
                                         //    to hang permanently.
  PrintFormat("Path: %s", s);
}

If the Test::Fun() is changed to be a regular function rather than a class-static function, then everything works as it should, but calling static class-scoped functions causes the step-into the function call to hang. 

Any idea what's going on?

Serge

Alain Verleyen
Moderator
30722
Alain Verleyen 2016.12.23 07:42  
saleyn:

What is the right place in this forum to submit bug reports?


Write to ServiceDesk.
honest_knave
Moderator
2192
honest_knave 2016.12.23 08:55  
saleyn:

What is the right place in this forum to submit bug reports?

Here is a very annoying bug that is observed with MetaTrader v4.00 Build 1031, and MetaEditor v5.00 build 1498.

Running this test case in MetaEditor causes MetaTrader to hang:

//+------------------------------------------------------------------+
//|                                                    BugReport.mq4 |
//+------------------------------------------------------------------+
struct Test {
  static string Fun(string path) {
    return StringReplace(path, "\\", "/");
  }
};

//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
void OnStart()
{
  string s = Test::Fun("c:\\my\\path");  //<-- Setting a breakpoint in MetaEditor
                                         //    on this line and trying to "step
                                         //    into" the call causes MetaTrader
                                         //    to hang permanently.
  PrintFormat("Path: %s", s);
}

If the Test::Fun() is changed to be a regular function rather than a class-static function, then everything works as it should, but calling static class-scoped functions causes the step-into the function call to hang. 

Any idea what's going on?

Serge

Firstly, I can confirm that it doesn't cause my MT4 Build 1031 with MetaEditor Version 5.00 Build 1498 to hang.

But, I have to ask, why would you try and return an integer to a string function, and then store it in string variable?

Alain Verleyen
Moderator
30722
Alain Verleyen 2016.12.23 11:31  
honest_knave:

Firstly, I can confirm that it doesn't cause my MT4 Build 1031 with MetaEditor Version 5.00 Build 1498 to hang.


Did you place the breakpoint on run it in debugging mode ?

Mine is hanging as reported.

EDIT: But it's also hanging in build 1012. So, it's not related to build 1031.
honest_knave
Moderator
2192
honest_knave 2016.12.23 11:54  
Alain Verleyen:

Did you place the breakpoint on run it in debugging mode ?

Mine is hanging as reported.

EDIT: But it's also hanging in build 1012. So, it's not related to build 1031.

Yep, it doesn't hang the terminal:

Breakpoint set:

 

Start Debugging:

 

Step through:

 

 

 

 

 

 

Result: 

 

Alain Verleyen
Moderator
30722
Alain Verleyen 2016.12.23 12:06  
honest_knave:
Just connected it to a broker - still doesn't hang. Steps in, completes, closes. No problems.
Weird. Which OS ? I have Windows 10.
12345678
To add comments, please log in or register