LESSON #1
Closing all buy, sell and pending orders, FAST.
Study the source code. Ask questions and I'll answer them as I'm able.
Closing open trades and pending orders is one of the main things MetaTrader users want to automate.
So here is a good EA you can use -- careful, because it closes EVERYTHING! -- and its source code provides a good starting point to start understanding the basics.
The code I uploaded uses an unusual looping technique that is not recommended for most EAs, but its advantage is that it does not depend on ticks from the chart the EA is attached to.
Study hard, use your brain. You can be an mq4 guru if you're not already.
Closing all buy, sell and pending orders, FAST.
Study the source code. Ask questions and I'll answer them as I'm able.
Closing open trades and pending orders is one of the main things MetaTrader users want to automate.
So here is a good EA you can use -- careful, because it closes EVERYTHING! -- and its source code provides a good starting point to start understanding the basics.
The code I uploaded uses an unusual looping technique that is not recommended for most EAs, but its advantage is that it does not depend on ticks from the chart the EA is attached to.
Study hard, use your brain. You can be an mq4 guru if you're not already.
Attached File(s)
Open to new approaches.