Forum

errors 4108 and 4051

Hi, I got a trailing routing that produce these two errors: 4108 and 4051. I revise the code but I can not find the bug. - Revision of open trades goes from OrdersTotal() parameter to 1. With 3 orders, produce 3, 2, 1. - OrderSelect is also decrese by 1. so i get 2, 1, 0 But the log show messages

sendmail

Hello, I want to send email after open a trade. I use the yahoo account. It works ok with one line, but I want to send some lines in the message and I got errors. I have include "\n" at the end but doesn't solve the issue. Any example that works with some lines in the email-message ? Thanks

Ordersend in a different par

Hi, I want to create an EA to send orders to a different pair. So, I want to attach the EA to a graphic and then the EA launch different Ordersend in different pairs, not only the one where is attached. Can this be done? When I try I have not success. Thanks for the feedback