//+------------------------------------------------------------------+ //| Sell_Open.mq4 | //| Rondo | //| http://fx-dollaryen.seesaa.net/ | //+------------------------------------------------------------------+ #property copyright "Rondo" #property link "http://fx-dollaryen.seesaa.net/" double Lots = 0.1; int TakeProfit = 30; int StopLoss = 50; int Slippage = 3; //+------------------------------------------------------------------+ //| script program start function | //+------------------------------------------------------------------+ int start(){ double Bid_Price = NormalizeDouble(Bid, Digits); OrderSend(Symbol(), OP_SELL, Lots, Bid_Price, Slippage, Bid_Price+StopLoss*Point, Bid_Price-TakeProfit*Point, "", 0, 0, Red); return(0); } //+------------------------------------------------------------------+