Questions from Beginners MQL5 MT5 MetaTrader 5 - page 181
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Please advise how to increase the volume of an open position, for example, when a new signal comes in. I do not use the Trade\Trade.mqh library. The request looks like this:
Or should I create a new request using TRADE_TRANSACTION_ORDER_ADD?I wrote my class, put it in the include folder, created a script, wrote the path to my class, but the functions are not highlighted. If you write code using my functions, they will work, but they are not highlighted. Highlighting of standard libraries is. Please tell me what I need to do to make my functions highlighted?
Here is such class
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 the investor's account.
if you know how to do it - describe it in details.
if you know what is impossible, please explain the reasoning.
only imho: when x is clicked, the order is closed according to the order ticket.
the copier should not count trades before a certain time (e.g.: either an external variable or the time the copier was started)
Can you tell me what I need to do to have my functions highlighted?
You can't. User functions are not highlighted. Try to contact Service Desk and ask them to implement it. They might do it.
only imho: when you click on x the order is closed according to the order's ticket.
it is theoretically possible to solve this problem - copier should not consider trades before a certain time (e.g.: either an external variable or time of copier triggering)
so i want to find out (i am not a programmer, if anything) - is the ticket sent with all parameters - including number, opening time, price and volume, or only the number of an open order - which is closed?
9 it is obvious that i need a filter by time of copier execution or by time of account accession. i should just understand it myself - to be able to clearly explain it to the programmer
You can't. The custom function highlighting is not implemented. Try to contact Service Desk and ask them to implement it. They may do it.
Last summer I wrote my class and expert and highlighting my functions worked, but now it doesn't. Why did you have to delete it ...
You can't. Custom function highlighting is not implemented. Try to contact Service Desk and ask them to implement it. They might do it.