EA CODE

 

i am asking for help if some one can help me with my EA

am asking for a command line that the EA can be useing, if my floting profit/Loss reaches a profit of myabe 10$ then it closes all my open trade and be done for a day till the next day to resume. 

 
Richmond Chikotolo: i am asking for help if some one can help me with my EA am asking for a command line that the EA can be useing, if my floting profit/Loss reaches a profit of myabe 10$ then it closes all my open trade and be done for a day till the next day to resume. 

There is no single command for that. It is many lines of code. There are many examples of that in the CodeBase (e.g. keywords "Close Profit"). Study those examples so that you can understand how they work.

 
Fernando Carreiro #:

There is no single command for that. It is many lines of code. There are many examples of that in the CodeBase (e.g. keywords "Close Profit"). Study those examples so that you can understand how they work.

Thank you for the help