Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1645
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
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????