MetaTrader 5 platform beta build 2155: MQL5 scope, global Strategy Tester and built-in Virtual Hosting updates - page 2

 

Dear MetaQuotes Software Developers,

Please look into fixing issues with tick data downloads on the platform. I already outlined this here: https://www.mql5.com/en/forum/315557/page3#comment_13260290

When I tried to download tick data for the last 3 days on EURUSD (MetaQuotes Demo server) I get the entire day of 25 September missing.

There are no ticks do download between 2019.09.24 (23:59:56.333) and 2019.09.26 (00:38:01.245) which is incorrect.

2019.09.24      23:59:45.191    1.10202 1.10204         
2019.09.24      23:59:45.284    1.10198                 
2019.09.24      23:59:51.675    1.10199                 
2019.09.24      23:59:52.147    1.10200                 
2019.09.24      23:59:55.315    1.10199                 
2019.09.24      23:59:56.333    1.10193                 
2019.09.26      00:38:01.245    1.09427 1.09444         
2019.09.26      00:38:03.152            1.09443         
2019.09.26      00:38:08.555    1.09425 1.09445         
2019.09.26      00:38:10.158    1.09428 1.09443         
2019.09.26      00:38:10.354    1.09426 1.09444         

This happens across different symbols and on all MT5 brokers.

 

Dear MetaQuotes Software Corp.!

Please change the current "right click" -> `New File' function of the MetaEditor!
After the activation of the `MQL Wizard: File' -> `Include (*.mqh)' function, one can
set the `Name' field which was setted to `Include\' as the default. Why have I to
set  manually the entire relative path name of the file which will be generated? Why
this is functioning well just for the `MQL5\Include' subdirectory? Not everybody create
source code files just in that directory. I have a big MQL source code base entirely
externally from the `Data Folder' and I create soft links to the appropriate directories
of my bigger project. The wizard must set the relative path with computation from the
location of the subdirectory whose icon was selected with the computer mouse click.
And this must functioning well outside the `MQL5\Include' subdirectory, for example
for a subdirectory under `MQL5\_link\_exte\'... Of course I set the include pathes relative
to the `MQL5\Include' subdirectory.

Please improve this function in the above described way and with the option of
empty `.mqh' files too! Not everybody wants the default file templates. Of course
I can delete the content manually. This is not important.

Many thanks for considering my requests!

Yours sincerely and best wishes: László Müller, Dombóvár, Hungary.

 
Alain Verleyen:

Is it possible to fix that behaviour please :

Become :

There should not have additional indentation here.

See also this example, which is even worst.

I can't imagine you will say it's a feature !

Tested with ME build 2146.

Not fixed yet. (2160 - 27 Sep 2019)

 

Hello,

About namespaces, how I can use "using" like defined here https://en.cppreference.com/w/cpp/language/namespace


void f();
namespace A {
    void g();
}
namespace X {
    using ::f; // global f is now visible as ::X::f
    using A::g; // A::g is now visible as ::X::g
    using A::g, A::g; // (C++17) OK: double declaration allowed at namespace scope
}
void h()
{
    X::f(); // calls ::f
    X::g(); // calls A::g
}

Thanks

Andre Lima

Namespaces - cppreference.com
  • en.cppreference.com
Namespaces provide a method for preventing name conflicts in large projects. Symbols declared inside a namespace block are placed in a named scope that prevents them from being mistaken for identically-named symbols in other scopes. Multiple namespace blocks with the same name are allowed. All declarations within those blocks are declared in...