Questions from Beginners MQL5 MT5 MetaTrader 5 - page 180

 
TheXpert:

And buffers are OK, you can put them in classes, give them aliases and search by aliases.

It's simpler, you put them into structures and make an array of these structures. Index accesses.
 
Silent:

... But it was 512 somewhere, so I don't know.

It flashed from me. ) I double-checked it just in case. Yes, it's 512. If you make e.g. 513, an error message comes out when compiling:

Документация по MQL5: Стандартные константы, перечисления и структуры / Коды ошибок и предупреждений / Ошибки компиляции
Документация по MQL5: Стандартные константы, перечисления и структуры / Коды ошибок и предупреждений / Ошибки компиляции
  • www.mql5.com
Стандартные константы, перечисления и структуры / Коды ошибок и предупреждений / Ошибки компиляции - Документация по MQL5
 
MetaDriver:
It's simpler. You put them in structures and make an array of these structures. Index accesses.
That's exactly what I meant. In your case, the aliases are indexes.
 
I can't quite figure out how to do it, what functions do I need to use to do it?
 

situation-open order in mt4. when the time comes to close it- press X in the trade window- where is the end of the order line. how is the closing procedure carried out? what labels. deal identifiers are transmitted?

i>The understanding is needed for a bigger problem.

when an investor's account is opened, all of the manager's orders that were previously opened are copied to it.

the top priority is to find out how to copy only new orders opened and closed by the manager after attachment of an investor's account.

if you know how to do it - describe it in detail.

if you know what is impossible, please justify the reasoning.

 
I have a question about signals, what does the difference in lots of the trader, whose signals I copy with those that are set for me, depend on? And how is it possible to manage it?
 
VIB89:
I have a question about signals, what does the difference in lots of the trader, whose signals I copy with those that are set for me, depend on? And how is it possible to manage it?
I think when you connect a signal, you can choose the percentage of your account that will be used to execute trades. try to test it on a demo account first.
Документация по MQL5: Стандартные константы, перечисления и структуры / Состояние окружения / Информация о счете
Документация по MQL5: Стандартные константы, перечисления и структуры / Состояние окружения / Информация о счете
  • www.mql5.com
Стандартные константы, перечисления и структуры / Состояние окружения / Информация о счете - Документация по MQL5
 
openlive:
I think when you connect the signal, you can select the percentage of your account that will be used to execute trades. Try to test it on the demo first
I am testing it on the demo. I opened a demo with a balance like the trader whose trades I copy and the thing is that he opens the deal with lot 10.0, while I copy with lot 2.0, so I wanted to know what it depends on and how to use it.
 
VIB89:
I have a question about signals, what does the difference in lots of the trader, whose signals I copy with those that are set for me, depend on? How can I manage it?
Try to check the Signals service FAQ
FAQ по сервису Сигналы
FAQ по сервису Сигналы
  • www.mql5.com
Справка по MetaTrader 5 → Настройки клиентского терминала → Сигналы.
 
VIB89:
It also depends on the leverage, for example if you have 1:100 and a provider has 1:500 you will copy lots 5 times less. Try to test on demos with different leverages.
Reason: