Firts EA

 
Can somebody help me with code?

I'm writing an EA (my first) it can sell yet. I don't want to put stop loss or trailing stop but i would like to put a buy order, opposite 50 pip distance from sell.

Thanks in advance.
 
int OrderSend(string symbol, int cmd, double volume, double price, int slippage, double stoploss, double takeprofit, string comment=NULL, int magic=0, datetime expiration=0, color arrow_color=CLR_NONE)
Reason: