 
  string sText,sArrow;
  
  extern int    iSLPips   = 100; //Stop Loss in Pips
  extern int    iTPPips   = 150; //Take Profit in Pips
  extern double dLots     = 0.5; //Amount of Lots
  extern int    iSlipPage = 1;

int start()
  {
  int ticket;
  double dStopLoss, dTakeProfit;

  sText="My Order";  //Order Text
  sArrow=CLR_NONE;   //Order Arrow Color
  
  dStopLoss=Ask+NormalizeDouble(iSLPips*Point,MarketInfo(Symbol(),MODE_DIGITS));
  dTakeProfit=Bid - NormalizeDouble(iTPPips*Point,MarketInfo(Symbol(),MODE_DIGITS));
  ticket=OrderSend(Symbol(),OP_SELL,dLots, Bid,iSlipPage,dStopLoss, dTakeProfit,sText,000,0,sArrow);
     if(ticket<0)
       {
        Print("OrderSend failed with error #",GetLastError());
       }

   return(0);
  }
//+------------------------------------------------------------------+