• Sign up >>

Close All Position on end of the month / starting of the month

To add comments, please log in or register
Kelvin Lim
11
Kelvin Lim  

Is there any possible to create an EA to close all the positions no matter profit or loss on every end of the month or 1st day of the month?
Please help. 

William Roeder
20384
William Roeder  
Of course, it's possible. Show us your attempt (using the CODE button) and state the nature of your problem.
          No free help

Or pay someone. Top of every page is the link Freelance.
          Hiring to write script - General - MQL5 programming forum

Kelvin Lim
11
Kelvin Lim  
William Roeder:
Of course, it's possible. Show us your attempt (using the CODE button) and state the nature of your problem.
          No free help

Or pay someone. Top of every page is the link Freelance.
          Hiring to write script - General - MQL5 programming forum

Hi William, thanks for the reply.
I'm actually found this EA that can close all the positions on specific YYMMDDHHMM.
However it will keep closing all the positions after the YYMMDDHHMM.

Can you help adding some code to stop the EA from working after the position closed?
It can be auto stop, or input specific YYMMDDHHMM to stop the EA from continue working.

Files:
To add comments, please log in or register