[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 111
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
How can a pro answer it, if it is not a full TOR.
If it's a checkmate - well then put return from the loop where you delete/close orders.
And if you go....
https://www.mql5.com/ru/code/10672
Don't scare me.
I wrote the answer to your verbatim question "How to make this EA not close orders in batches".
- If you want this EA not to close orders in batches, you should return from the close order loop after the first close.
Does this work?
Can you explain it in more details? A piece of code with it, if you don't mind :)
These are snippets of code to set the vertical sweep of the indicator subwindow.
This is the function to set the horizontal lines. The function only works from the indicator code. It does not work from the library.
You are on your own with drawing by graphical objects. Everything is individual.
Don't be intimidated.
I wrote the answer to your verbatim question "How to stop this EA from closing orders in batches?
- If you want this EA not to close orders in batches, you should return them from the order closing loop after the first closing.
Does this work?
you see the return is already in the order closing loop. Where to look for the first order closing ?
here you see return is already standing in the order closing loop. Where to look for the first order closure exactly ?
This is not an order loop.
this is a stubborn retry for one order.
keep looking
it is not an order cycle.
it's a stubborn over-run for a single order.
keep looking
I put the return in here. Right ?
so I put the return in here. Right ?
What do you think?
it's strange to see you in this thread at all, someone with publications in the codebase.
guys, how do i make a code to modify an order to breakeven.
we need to make the stop move 1 pips to the plus side and not touch it again.
my way
it looks like the order should be modified each time the condition is true.
ps.
What do you think?
I think it's strange to see you in this thread, someone who has published articles in codebase.
Tested and the result - opened 2 orders and didn't close on profit and didn't open any more.
So this variant is not suitable.
I have published my ideas in the codebase and my Expert Advisors have been written to my order by experienced programmers.
I give up - I don't know where to put return, I've tried it everywhere.
These are snippets of code to set the vertical sweep of the indicator subwindow.
This is the function to set the horizontal lines. The function only works from the indicator code. It does not work from the library.
You are on your own with drawing by graphical objects. Everything is individual.