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.
void f();
namespace A {
void g();
}
namespace X {
using ::f; // global f is now visible as ::X::fusing A::g; // A::g is now visible as ::X::gusing A::g, A::g; // (C++17) OK: double declaration allowed at namespace scope
}
void h()
{
X::f(); // calls ::f
X::g(); // calls A::g
}
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...
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.
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.
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
Thanks
Andre Lima