• Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)

Suggestion EA to close previous order when the new one open

Andmed Wijay

New Member
Credits
0
Helo all....


I wrote an EA that will close the previous order when the new one is opened.
Ejemple: if the previous sell order was opened, and I open the new buy order, then te AE will close my previous sell order.
But when I compiled it, there are some errors. Please if somone could help me to fix it. I attach here the file

Thanks
 

Attachments

Thank you so much, my friend. No error anymore when I compiled it. But it’s not working according to my trading idea. I attach to the chart, I opened a trade, then I opened the new trade. The previous trade is still opened. It’s not closed by ea. I will check it, but if you could help me too to check it. Thanks
 
Back
Top