Questions from Beginners MQL5 MT5 MetaTrader 5 - page 522
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
Can you please tell me the code: EA opens one order per day, how to close these orders at the end of the day, e.g. 23:50?
if(TimeCurrent()>=D'23:50') close_all();
Will this option close all orders or only those which have been opened by the EA?
In this case, will all orders be closed or only those opened by the Expert Advisor?
:)))
What you write in the close_all() function
:)))
What you write in close_all()
It's not entirely clear about the close_all() function, it's not in the metadvisor. Maybe the OrderClose() function is meant?
he means something like this
he means something like this