Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 36
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
ticketD=OrderSend(Symbol(), OP_SELLLIMIT, lotS, maxpr1, 3, slS, tpS, "", MagicS, 0, Blue);
Why do you write MODE_TRADES when searching?
To choose from open and pending.
You don't need to?
To choose from open and pending.
Don't you want it?
In fact, all this code is from the video course, they didn't do that there.
You don't give a shit about this course. Isn't the content monetized there? They just collect money from YouTube for views. They don't want to give knowledge, they want to earn money on viewings...
Recommend something sensible.
In fact, the course is from here http://tradelikeapro.ru/programmirovanie-na-mql-kurs/
Recommend something sensible.
In fact, the course is from here http://tradelikeapro.ru/programmirovanie-na-mql-kurs/
The results of the other "courses" are obvious.
The pool is ignored during selection by the ticket. To understand which list the order has been selected from, you should check its close time. If it is greater than zero, then it is selected from the history, otherwise - from the list of active orders.
I will try to figure it out.
And can you tell me why when you change the order selection function (we check for data on their availability), the order modification function generates an error. Why is it that everything (opening, closing, modification) runs fine for the first few dozen candles when I start it?
I will try to figure it out.
And can you tell me why when you change the order selection function (we check for data on their availability), the order modification function generates an error. And why at first everything (opening, closing, modification) runs fine for the first few tens of candles?