Errors, bugs, questions - page 2849

 
The error is the same and the messages are different
class A {
protected:
        A() {}
} *a = new A;   //Error: '$A' - cannot access protected member function
class B {
protected:
        B() {}
} *b = new B(); //Error: 'B::B' - cannot access protected member function
What's the difference?
 
A100:
The error is the same, but the messages are different What difference does it make?

Is this a legal way to reach the protected constructor? I am wondering again out of ignorance.

 
fxsaber:

This date is often the time the EA was downloaded and not the time it was compiled.

There are two EX5s of the same name. Which one is fresher is not clear.

You can see the version with your eyes:


Whether it is possible to read it programmatically - I don't know.

 

Another glitch, there is movement in the betting window, but no movement in the chart - the time is at 11 o'clock and only 1 bar is drawn!

Is this a problem of the terminal or the crooked hands of the broker?

Added - still a glitch in the terminal - reloading helped.

 
Andrey Khatimlianskii:

You can look at the version with your eyes

Thanks, knowledge of the EX5 hat format is lacking, of course.

 
fxsaber:

Is this a legal way to reach the protected constructor? I'm wondering again out of ignorance.

No, I just noticed '$A'. Why is there a $ symbol here? It's some kind of non-standard designation.

 

Question: How do you get an error

test on EURUSD,H1 (hedging)
 2019.04.24 19:45:37   failed instant sell 0.32 EURUSD at 1.11644 [Invalid volume]
 2019.04.24 19:45:38   failed instant sell 0.32 EURUSD at 1.11645 [Invalid volume]
 2019.04.24 19:45:38   failed instant sell 0.32 EURUSD at 1.11646 [Invalid volume]
 2019.04.24 19:45:39   failed instant sell 0.32 EURUSD at 1.11647 [Invalid volume]
 2019.04.24 19:45:39   failed instant sell 0.32 EURUSD at 1.11649 [Invalid volume]
 2019.04.24 19:45:40   failed instant sell 0.32 EURUSD at 1.11648 [Invalid volume]
 2019.04.24 19:45:40   failed instant sell 0.32 EURUSD at 1.11649 [Invalid volume]
 2019.04.24 19:45:41   failed instant sell 0.32 EURUSD at 1.11648 [Invalid volume]

If 0.01 lot is explicitly specified when opening orders.

Checks for maximum and minimum lots are made, for total volume too...

 
Vladimir Pastushak:

Question: How do you get an error

If 0.01 lot is explicitly specified when opening orders.

Checks for maximum and minimum lots are made, for total volume too...

Maybe a lot increment?
 
Vladislav Andruschenko:
Maybe the lot pitch?

Checks are made and the pitch of the lot ... All checks done...

 
If anything, System messages from System (Market) are not coming again.