[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 841

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!
Is there a function that returns the profit value of an open position in pips?
check whether there has been a date change and use the functions
check if the date has been changed and use the functions
How can you control the date? It doesn't change. Look at the screenshot.
I have a lot of orders that need to be worked out differently what kind of trailing what kind of fixed objectives and set parity but I can not cope with this task because after the deal is closed and opens because of the swap, it changes the ticket number, so I can not use the ticket number to identify the position to know what to do with it.
Please advise how to deal with swap and how to identify a trade and know if I have already set parity on it or not etc.
In these cases the "order magic number" can be actively used.
In these cases, the Magic Number Order can be actively used.
I already use the magic number to identify the three types of signals ... If i have already placed parity for a pose, i should probably think of a way to use the magic number to determine if i have already placed parity. For example, we can give a magic number value to an order, but magic number can not be edited ... or am i wrong ? we can only give it a value when setting the order, but what can we write in the magic number, so we will be able to check if parity has been already set for the order?
I already use it to identify the three types of signals ... If your algorithm is closely related to order identification, then I need to know your algorithm to help me in this case.
If your algorithm is closely related to order identification, then we should know your algorithm to help you in this case.
If your algorithm is closely connected with identification of orders, then to help you in this case, we need to know your algorithm.
I was afraid of this question. The system is quite complicated and difficult to describe in 2 words. I don't want to post the code either as there are thousands of lines of code and no one will understand or worry about them...
I thought there were some common flexible methods to implement order identification ... The magic number is basically what it is for, but it cannot be edited to remember that the order has already been done this or that ...
Maybe it is still possible to edit a magic number?
How do you control the date? It doesn't change. Look at the screenshot.
Yes, this is the question I was afraid of) because the algorithm is not simple ... the system is quite complex and can not be described in 2 words. And to put the code also makes no sense as there are thousands of lines of code and no one will understand and delve into them ...
I thought there are some common flexible tricks to implement identification of orders ... We have a magic number for this purpose, but we cannot edit it to remember what has already been done with this order ...
Maybe it is possible to edit the magic number of an order?
Dance from there...
Hi!
I can not understand why the opened orders are not modified, the modification condition is a profit above 5 pips.
//+------------------------------------------------------------------+