Errors, bugs, questions - page 1896
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
TimeTradeServer can return all sorts of nonsense.
As far as I understand, it is tied to TimeLocal. What about the local time?
Probably about 2 years ago, unfortunately, I don't remember exactly when, but it was raised.
Next idea then:
MT uses certain anti-debugging mechanisms to protect itself, maybe that's where the conflicts with the toy lie.
Only the developers can figure this out, but I doubt they'll waste their time on it.
Yeah, I have my doubts, I leave Quick loaded for urgent operations...
The terminal loads opencl when loading, there just can't be a more direct connection to the video card, write to the SD.
Please give me the formula to calculate the total position. For example, a position has been opened in SBER stock:
1. BUY direction
2. volume of 15 lots
3. opening price 170.05
Another SBER order is sent:
1. BUY direction
2. volume 25 lots
3. Opening price 172.10
The question is, the opening price of the joint position will be recalculated and will be between 170.05 and 172.10, I am interested in the new price calculation formula.
Please give me the formula to calculate the total position. For example, a position has been opened in SBER stock:
1. BUY direction
2. volume of 15 lots
3. opening price 170.05
Another SBER order is sent:
1. BUY direction
2. volume 25 lots
3. Opening price 172.10
The question is, the opening price of the aggregate position will be recalculated and will be between 170.05 and 172.10, I am interested in the calculation formula for the new price.
=(170,05*15+172,1*25)/(15+25)
With one of the last updates the code in MT4 stopped compiling. However, it compiles in MT5 without any problems, and there is nothing MT5-specific in it, as far as I understand. Please, tell me, what is the reason?
Example code that compiles in MT5 but not in MT4:
P. S.: Metatrader4 build 1090, Metatrader 5 build 1596
=(170,05*15+172,1*25)/(15+25)
how does it end up being correct?
With one of the last updates the code in MT4 stopped compiling. However, it compiles in MT5 without any problems, and there is nothing MT5-specific in it, as far as I understand. Please, tell me, what is the reason?
Example code that compiles in MT5 but not in MT4:
P. S.: Metatrader4 build 1090, Metatrader 5 build 1596
It has been written here somewhere that with the introduction of new rules for structures and unions, it will not be correct to use the copy function for arrays in relation to pointer arrays