Errors, bugs, questions - page 1027

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
The account was banned by the trading server for excessive trading activity. The trading platform protects itself and disables those accounts that mindlessly send trade requests on every tick.
Trade queries understandably, there was a modification there. That's how the strategy was designed. I don't know how the Expert Advisor will work now, but I disabled the modification on every tick. I am asking you a big favor - turn the account back on. it's 3 months old, good stats.
Al_key:
Will the /portable switch help?
Either permanently disable /portable or disable UAC and run the terminal without /portable after a reboot.
Bild 842/64 bit. When declaring canva:
An error appears:
unresolved static variable 'CCanvas::m_default_colors'
The error occurred because you use an object with static variables at the global level and in this case the compiler requires a static array to be placed explicitly.
This is necessary for the programmer to explicitly specify the order of initialization of static class/structure members.
The problem here is that the static array 'CCanvas::m_default_colors' can be used in the CCanvas constructor for reading and then if it is placed and initialized by the programmer after the CCanvas class object is placed, its values in the CCanvas::CCanvas constructor will not be what is expected. Therefore, the compiler is checking to ensure that the static class/structure members are placed and initialized before using the class/structure object.
We'll think it over, maybe we'll change something.
Continuing to switch to mcuel 5. In mt4 this code was working fine. Now I have a problem connecting to mkuell.
It gives an error:
2013.08.03 12:41:41 testMySql (AUDCAD,H1) error=313111904 2005
There's a warning about a socket variable type mismatch, putting NULL instead of a variable doesn't help. I also heard that МТ5 transfers string to DLL in a special way. Is it like that? Please advise how to handle it.
The requirements for placing static variables have changed.
Therefore, the compiler checks that static class/structure members are placed and initialised before the class/structure object is used.
I've also heard that MT5 sends strings to the DLL in a special way. Is it that kind of thing? How to cope with it, please advise.
I memorise the TF, switch to M1, go back to the current one.
Problem: I cannot remember to assign the current TF
I can switch to M1
For an object
it works. For a chart
the compiler gives out
What's the mystery?
I tried upd converting via string and changing types, but it doesn't work.
Another question: Installed MT5 standard for the first time, demo account is metaquotes. I see only 4 pairs of majors, no USDCAD. After a while, a lot of different pairs were added, including CFD and Knaadec. Then I have switched to /portable. Of course, again minimum pairs are by default, but this time for some reason other pairs are not loaded and I want to have USDCAD demo in MT5 very much.
...
What's the mystery?
I tried to convert via string and change types, but it doesn't work.
int current_period_tf;
ENUM_TIMEFRAMES current_period_tf;