Vladimir Karputov had such conditions in his codes, but you have to learn how to read his code yourself)
There is nothing to learn - to understand how a program is assembled by connecting it from ready-made blocks of the standard library - you don't even need to know programming at an intermediate level - a beginner's level is enough. Do not scare people - everything is easy and simple there.
There's nothing to learn - understanding how a program is built by linking it together from ready-made blocks of a standard library - you don't even need to know programming at an intermediate level - a beginner's level is enough. Do not scare people - everything is easy and simple there.
Sprut112: If you can't say something sensible, don't write
I can also help, where and how will you use the code?
//+------------------------------------------------------------------+//| Close positions |//+------------------------------------------------------------------+void ClosePositions(constENUM_POSITION_TYPE pos_type)
{
for(int i=PositionsTotal()-1;i>=0;i--) // returns the number of current positionsif(m_position.SelectByIndex(i)) // selects the position by index for further access to its propertiesif(m_position.Symbol()==Symbol() && m_position.Magic()==m_magic)
if(m_position.PositionType()==pos_type) // gets the position type
m_trade.PositionClose(m_position.Ticket()); // close a position by the specified symbol
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.
Vladimir Karputov had such conditions in his codes, but you have to learn how to read his code yourself)
There is nothing to learn - to understand how a program is assembled by connecting it from ready-made blocks of the standard library - you don't even need to know programming at an intermediate level - a beginner's level is enough. Do not scare people - everything is easy and simple there.
How does the open condition differ from the close condition?
For example:
And what prevents you from making this condition?
There's nothing to learn - understanding how a program is built by linking it together from ready-made blocks of a standard library - you don't even need to know programming at an intermediate level - a beginner's level is enough. Do not scare people - everything is easy and simple there.
in my work, too, a lot of things are obvious
And what prevents you from making this condition?
Wanted to look in Codebase for an example, everything is perfect there, but haven't found it yet
Go to Georges, this time it's OK
Go to Georges, this time it's OK
If you can't say something sensible, don't write
I can also help, where and how will you use the code?
I can also help, where and how will you use the code?
This block is in all EAs
this Vladimir K. unit, what more do you need?
it's the easiest one using ctrade, if I give you my code, it will pull the library I use