Problem with the EA- 1

 

Attached EA closed symbol specific live and pending orders on demo account when certain equity Tp or Sl is hit of that symbol.

On live account it only closes the live orders but leaves the pending orders open.

Can anybody see whats wrong and please correct it?

Thank you very much.

 
I can not see any EA attached.
 
sure thing  i can easy solve your problem
 
SSSNO1:

Attached EA closed symbol specific live and pending orders on demo account when certain equity Tp or Sl is hit of that symbol.

On live account it only closes the live orders but leaves the pending orders open.

Can anybody see whats wrong and please correct it?

Thank you very much.

please show your coding, if you get right and perfect answer 

 

Yes, please find the EA attached.

Thank you

Files:
 
SSSNO1:

Yes, please find the EA attached.

Thank you

Use Loss to Close == true
 

Yeah ofcourse I used that, Loss=true, try it on a live account and it will not close the pending orders even if the pending orders are set to true.

But on demo it does.

If you have an equity control EA which does same as this EA but operating properly, I will be obliged if you can send me.

Thank you