Errors, bugs, questions - page 2678
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
MetaTrader 5 (for the terminal's built-in virtual hosting lease) requires a 64-bit operating system.
on Win 10 does anyone connect local agents?
Tried connecting 2 PCs, remote agent is constantly ready-connect-ready-connecting... no jobs.
i had a look in the firewall i think there is a checkmark for Metatrader Agent , export - import agent via file sees ports and name of pc also
I have a hunch that ports need to be forwarded somewhere else?
it was the ports
Googled how to open the ports from the command line in Win10, ran a PowerShell on the PC which will distribute resources with commands to open the 3000 and 3001 port:
Immediately the agents started getting jobs
The MT5 bug (build 2345) in base class constructor cannot perform explicit typecast on casting pointer to object of base class to pointer to parent class.
It turns out that to implement "pattern" emulation of virtual template functions it is necessary to pull the direct value of the pointer to the parent class into the base class besides the type inheritance, which is not good...
In MQL, you cannot cast a pointer in an ancestor constructor to a descendant, the descendant has not yet been constructed.
The dynamic_cast is an optimization, T* is cast to T* - the compiler simply deletes this instruction, it is not "free".
MT5 bug (build 2363) Mismatching execution priorities of template functions in MQL compared to template functions in C++(online:https://onlinegdb.com/HkNqBDZ88).
The problem occurs when the first "test" function contains a fullyspecialized template base class as an argument,
and the second "test" function overloads the first, is a template function and contains a non-specialized template base class as an argument.
Thanks for the addition, fixed
Thanks for the reply, I guessed it ...
I updated my MT5 to 64 bit, migration was successful, the account details are in the account column, but I don't see the signals icon
You probably meant to say: there is no "Signals" tab in the "Tools" window?
If so, the following options are possible:
You probably meant to say: there is no "Signals" tab in the "Tools" window?
If so, the following options are possible:
Thanks for the addendum, fixed
2365 - the code was sprinkled with errors. Had no time to figure it out yet. I rolled back to 2361 - it was ok. Same situation in mq4.
If pointer passing by reference is replaced by value passing, everything works.