Problems with buy/sell orders

 
Hi,

I'm building an expert Advisor and I would like to enter only once on a sell and only one on a buy. How do I have to do?
Thanks
Reason: