Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1722
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
You need to take into account what knowledgeable people have written.
From the logic of your judgement, you are better off looking by opening time, i.e. the minimum ticket is opened before everyone else and the maximum ticket is opened later than everyone else.
This statement is not true either.
So if I sign 5 characters in the indicator, I can only work with all 5 characters through one OnBookEvent()? The main thing is only to filter by which symbol the change occurred?
Why?
Why?
Where is this explicitly stated? Just because your DC has respected it so far doesn't mean anything)
You need to take into account what knowledgeable people have written.
You would be better off looking by opening time, i.e. the lowest ticket is the earliest and the highest is the latest.
Judging by the quoted picture, the questioner wants the second highest bid, but not immediately the first.
the second one from the top of the current Bid will be the one he is looking for.
The number of the ticket and the time of opening don't matter, it's the price that counts (Oh, how surprising).
You need to take into account what knowledgeable people have written.
From the logic of your judgement, you are better off looking by opening time, i.e. the minimum ticket is opened before everyone else and the maximum ticket is opened later than everyone else.
Because the ticket is not guaranteed to increase with time. A smaller ticket may be later than a bigger one.
You misunderstood my recommendation. He does not need tickets at all, as he wants to close the first and last orders.
Because it's not guaranteed to increase the ticket from time. A smaller ticket may be later than a bigger one.
He already figured that out...
Forum on trading, automated trading systems and trading strategy testing
Any questions from newbies on MQL4 and MQL5, help and discussion on algorithms and codes
MakarFX, 2021.11.03 21:01
It doesn't have any pending orders but you're right anyway.
For that, it has a function to search for the last open
And the stopcock must have blown out...