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
I didn't mean a pending order, but the ability to close a market order on time, even if it is losing.
Code:
The Expert Advisor compiles without errors, but the order is not closed at the specified time
Just in case: ( General Principles - Trading Operations )
Before starting to study the trading functions of the platform, it is necessary to create a clear understanding of the basic terms: order, transaction and position.
In other words, an order is an order, a command to open a Deal (a Deal generates a POSITION) or to place a Pending Order.
To work with time, I recommend to read the article Almost a constructor for creating an Expert Advisor and look in the file'Trading engine 4.mq5' the group of input parameters'Time control':
Just in case: ( General Principles - Trading Operations )
Before starting to study the trading functions of the platform, it is necessary to create a clear understanding of the basic terms: order, transaction and position.
i.e. an order is an order, a command to open a Deal (a Deal generates a POSITION) or to place a Pending Order.
To work with time, I recommend to read the article Almost a constructor for creating an Expert Advisor and look in the file'Trading engine 4.mq5' the group of input parameters'Time control':
It is necessary that an open position is forced to close at a certain time
It is necessary that an open position is forcibly closed at a certain time
Have you read the article? Can you modify the code?
Did you read the article? Can you modify the code?
I've read the article, but it's a dark forest for me.
Watched the article, but it's a dark forest for me.
Okay, I'll put it on my agenda for tomorrow.
New version of Yesterday Today New
New version of Yesterday Today New
Vladimir, thank you for your labour. It is good when there are such experts who help users.