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 time of price change is shown by GMT+3, I think. Whose server is this?
roboforex
Yedelkin:
Наверное, даже если обратиться в сервисдеск, они отправят в службу техподдержки брокера. Может, сразу с брокером пообщаетесь
Probably just need to change broker))))))))))
Good evening! I have set myself the task of identifying for the current position a list of trades from which it is made up. Like - 1. 1 lot buy, 2. 4 lots buy, 3. 1 lot sell and so on. I just don't know how to approach the problem. I spent three hours looking through the help.
So far, I've been writing this to try it out.
I think if we compare both obtained identifiers, we may find out which of the selected deals belongs to the position. And work with them further.
I had an error here and could not understand what was going on for 20 minutes. My elder brother played tanks for 2 hours, watched McLeod, I returned to the errors - I still do not understand.
'PositionSelect' - declaration without type order.mq5 286 3
'HistorySelect' - declaration without type ordernium.mq5 291 4
'for' - expressions are not allowed on a global scope ordernii.mq5 296 5
advise how to set a stop line to automatically close an order
advise how to set a stop line to automatically close an order
You can do this ( ZeroMemory(var) ) to initialize the structures.
In general, is this code correct?
The compiler didn't generate any errors. But I have a feeling that something is wrong, i.e. not rational.
So, the question is, is it possible to zero a variable of extremum structure consisting of arrays of simple types using ZeroMemory() function?
It's the presence of dynamic arrays that bothers me more here... how can they be zeroed?
ZeroMemory The function zeroes the variable passed to it by reference.
For objects containing strings and dynamic arrays, ZeroMemory() is called for each member.
For any arrays that are not protected by const modifier, all elements are zeroed.