closing manually a ea trade

 

Hi

i have a ea that when chart reach the some condition open and buy/sell trade

i want to know it's possible when a user close open trade the ea ignore the condition and don't open a new trade( immediately

) and wait for next condition

it's have any command and function to check if already opened trade closed manually??

thanks

 
When you code it like that.
 
Marco vd Heijden:
When you code it like that.

I mean how i can find the that recently a trade closed manually??

 
Analyze if it was stoploss that closed it, or take profit and see if there was a comment made.
 
Marco vd Heijden:
Analyze if it was stoploss that closed it, or take profit and see if there was a comment made.

thanks for help

but my ea have also some close condition too

Reason: