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
Hi,
I need a function (close_all_orders) that close all opened positions by the EA.
void OnTick()The idea is to close all opened positions by EA after the end of day
{
if(Hour()==16 && Min()==55)
close_all_opened();
else ExtExpert.OnTick();
}