Need Help in Closing

 

Hi, I just try to make Ea, but I make some mistake, I hope someone in this forum can help me to revise it.

My problem is in exit or Closing, I want to close not only by StopLoss and TrailingStop, but also by Indicator, when the indicator triggered Exit signal I want to Close.

and back to return(0);

And welcome for any ideas or any sugestion for improvement.

Thank you very much

My mail address nunung.subarja@gmail.com.

Files:
 
nunungsubarja:

Hi, I just try to make Ea, but I make some mistake, I hope someone in this forum can help me to revise it.

My problem is in exit or Closing, I want to close not only by StopLoss and TrailingStop, but also by Indicator, when the indicator triggered Exit signal I want to Close.

and back to return(0);

And welcome for any ideas or any sugestion for improvement.

Thank you very much

My mail address nunung.subarja@gmail.com.


 
I really need help, to revise my Close order, disfunction, dislocated, or whatever,please help.