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.
Please help a beginner. How to write such a piece of code:
Check market orders and if there are no market orders for our financial instrument, we buy it?
It's not working!!! Help... Maybe someone has a ready-made piece of code?
Can you give it all in working form, i.e. with a start function and a description? It's not very clear. Thanks in advance!
Can you give it all in working form, i.e. with a start function and a description? It's not very clear. Thanks in advance!
Question. I would like to know when to open orders?
Question. When do I open orders?
We check the market orders and if there are no market buy orders for our financial instrument, we make a buy? This is the kind of area we need...
We check market orders and if there are no market buy orders for our financial instrument, we make a buy? This is the kind of area we need...
So we only open long positions?
So we only open long positions?
Yes, if there are no market buy orders for our financial instrument, then we buy!
Yes, if there are no market buy orders for our financial instrument, then buy!
icas, don't embarrass yourself in front of newcomers, fix your code to the right one.
Where? I don't see it.