Following your advice, I have found a place in void OnTick() function where I can attach the TrailingGroupOrder() function to send a command to modify a trail of group orders, and oh my god the trail of group orders has started working. However, my joy didn't last long. Looking closer, I saw that only the order with a min ticket is trilled.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Makar, can you explain from which place of the code the function will be referred to?
If there are more than 1 order
Sorry, I wrote for 4...
Checked in 5! It's working.
Thanks. Very strange that my version didn't work. I broke my brain)))
Thank you. It's very strange that my option didn't work.
It's not weird...
you didn't write the paths, here's your code
and what does "src_path" and "dst_path" equal?
If there are more than 1 order
No Makar, it doesn't work
It's not strange...
you didn't write the paths, here's your code
and what do "src_path" and "dst_path" equal?
they are written in the next two lines, took it from the helphttps://www.mql5.com/ru/docs/files/filemove
This is not the point, this code worked in mt4, and I moved the first screenshot in mt5.
No Makar, it doesn't work
No way... Give me the whole code in your inbox.
I have sent you
I have sent you
replied
Makar thank you I will keep thinking
replied
Good day Makar !!!
Following your advice, I have found a place in void OnTick() function where I can attach the TrailingGroupOrder() function to send a command to modify a trail of group orders, and oh my god the trail of group orders has started working. However, my joy didn't last long. Looking closer, I saw that only the order with a min ticket is trilled.
I can very likely assume that the problem is in the modification of only the first (minimum) order and not all at once.
Makar advise how to modify all orders in the grid????