Nerd Trader #: It says in the commentary that it sends the majic to the write array, don't let that be misleading, as long as the majic goes back to the retorn.
I don't quite understand the general logic, I try to separate the functions
I don't really understand the general logic, I try to separate the functions
Now GetMagic should generate a unique magic at the moment of sending a pending order and return it by retorn. In your version, there is only one loop, so when the order finishes, else will be executed anyway, and magic == OrderMagicNumber() will always be true. I want magic != OrderMagicNumber() when it is not true, it means that magic is unique and it is incremented by itself in the first for(;;).
Hello, I am facing the following problem: EA opened a pending order, but the terminal does not track it and it is not present in the trade history. Please advise if someone has faced such a problem.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I'll try to attach it, thank you. Just a question how to deal with SELL orders
I'll try to attach it, thank you. Just a question how to deal with SELL orders
Semyon Semyonych...
Makar, why is it so complicated to cram it into one function? Or is there something I don't understand?
It says in the commentary that it sends the majic to the write array, don't let that be misleading, as long as the majic goes back to the retorn.
I don't quite understand the general logic, I try to separate the functions
Makar, why is it so complicated to cram it into one function? Or is there something I don't understand?
Makar, you're being a baby with me.
Thanks, Makar. I changed the function a little, and it's working.
I don't really understand the general logic, I try to separate the functions
Check your personal message.